Condition Coverage

blib/lib/P2P/pDonkey/Met.pm
Criterion Covered Total %
condition 5 25 20.0


and 2 conditions

line l !l condition
92 0 0 warn "Can't open '${fname}': $!\n" and $/ = $rs and return
116 0 0 warn "Can't open `${fname}': $!\n" and return

and 3 conditions

line !l l&&!r l&&r condition
92 0 0 0 warn "Can't open '${fname}': $!\n" and $/ = $rs
145 0 0 0 defined $ip and defined $port
232 0 1 0 $res and $off != length $$buf
266 0 1 0 $res and $off != length $$buf
297 0 1 0 $res and $off != length $$buf
342 0 1 0 $res and $off != length $$buf

or 3 conditions

line l !l&&r !l&&!r condition
98 0 0 5 read($handle, $buf, 1) != 1 or unpack('C', $buf) != $tag