Condition Coverage

blib/lib/Net/IP/Minimal.pm
Criterion Covered Total %
condition 9 21 42.8


and 3 conditions

line !l l&&!r l&&r condition
21 1 0 1 not $ip =~ /:/ and ip_is_ipv4($ip)
46 3 0 0 $ip =~ /^(\d+)$/ and $1 < 256
52 0 0 3 $n >= 0 and $n < 4
64 0 0 12 $_ >= 0 and $_ < 256
76 0 0 3 $n > 0 and $n < 8
91 0 0 1 $k == $n + 1 and ip_is_ipv4($_)
115 2 1 0 $n != 7 and not $ip =~ /::/