Condition Coverage

blib/lib/Net/BitTorrent/Protocol/BEP03/Bencode.pm
Criterion Covered Total %
condition 17 18 94.4


and 3 conditions

line !l l&&!r l&&r condition
7 3 1967 242 length $ref && $ref =~ /^([-\+][1-9])?\d*$/u
29 1 44 80 $leftover and not $leftover =~ s/^e//su
38 2 472 1378 $leftover and not $leftover =~ s/^e//su
42 475 0 900 defined $pkey and defined $key
475 897 3 defined $pkey and defined $key and $pkey gt $key

or 3 conditions

line l !l&&r !l&&!r condition
24 1 1 198 $int =~ /^-0/u or $int =~ /^0\d+/u