Condition Coverage

blib/lib/Net/BitTorrent/Protocol/BEP07.pm
Criterion Covered Total %
condition 4 23 17.3


and 3 conditions

line !l l&&!r l&&r condition
24 0 0 4 defined $_ && !$seen{$_}++
45 4 0 0 $c < 7 and not $ip =~ /::/

or 2 conditions

line l !l condition
26 4 0 $ip // (next)

or 3 conditions

line l !l&&r !l&&!r condition
34 0 0 0 $2 > 255 or $3 > 255
0 0 0 $2 > 255 or $3 > 255 or $4 > 255
0 0 0 $2 > 255 or $3 > 255 or $4 > 255 or $5 > 255
40 0 0 4 $ip =~ /[^:0-9a-fA-F]/ or $ip =~ /[0-9a-fA-F]{5,}/
47 0 0 0 $ip =~ s/^::/:/ or $ip =~ s/::$/:/