Branch Coverage

blib/lib/P2P/pDonkey/Meta_v04.pm
Criterion Covered Total %
branch 17 32 53.1


line true false branch
41 0 3 unless defined($res{'Date'} = &unpackD)
42 0 3 unless defined($res{'Hash'} = &unpackHash)
43 0 3 unless $res{'Parts'} = &unpackHashList
44 0 3 unless $metas = &unpackMetaList
48 6 16 if ($$meta{'Type'} == 9 or $$meta{'Type'} == 10) { }
64 0 2 if ($$d{'Gaps'} and @{$$d{'Gaps'};})
80 0 1 unless defined($nres = &unpackD)
83 0 1 unless $info = &unpackFileInfo_v04
107 0 1 unless -e $path and -r _
109 0 1 if $debug
129 1 0 if $ext
130 1 0 if ($ext)
142 1 0 if $type
143 1 0 if $ext
145 0 1 unless open HANDLE, $path
151 0 1 if ($size > 9728000) { }