Condition Coverage

blib/lib/Net/BitTorrent/Protocol/BEP03/Bencode.pm
Criterion Covered Total %
condition 15 16 93.7


and 3 conditions

line !l l&&!r l&&r condition
13 1 35 31 length $ref && $ref =~ /^([-\+][1-9])?\d*$/
46 1 5 12 $leftover and not $leftover =~ s/^e//s
54 2 11 27 $leftover and not $leftover =~ s/^e//s

or 2 conditions

line l !l condition
12 97 1 shift() // (return)
30 104 0 shift() // (return)

or 3 conditions

line l !l&&r !l&&!r condition
41 1 1 18 $int =~ /^-0/ or $int =~ /^0\d+/