Condition Coverage

blib/lib/Net/BitTorrent/Protocol/BEP06.pm
Criterion Covered Total %
condition 12 26 46.1


and 3 conditions

line !l l&&!r l&&r condition
29 0 2 0 defined $index and $index =~ /^\d+$/
41 0 2 0 defined $index and $index =~ /^\d+$/
46 0 2 0 defined $offset and $offset =~ /^\d+$/
51 0 2 0 defined $length and $length =~ /^\d+$/
62 0 2 0 defined $index and $index =~ /^\d+$/

or 2 conditions

line l !l condition
85 0 2 $packet || ''

or 3 conditions

line l !l&&r !l&&!r condition
74 2 0 9 not $packet or length $packet < 1
84 2 0 6 not $packet or length $packet < 9
96 2 0 9 not $packet or length $packet < 1