Condition Coverage

blib/lib/Net/CIDR/Set/IPv6.pm
Criterion Covered Total %
condition 12 20 60.0


and 3 conditions

line !l l&&!r l&&r condition
25 0 0 0 /^\d{1,3}$/ and $_ < 256
39 14 2 0 $ip =~ /^:/ and not $ip =~ s/^::/:/
40 5 11 0 $ip =~ /:$/ and not $ip =~ s/::$/:/
51 13 0 0 $ipv4 and @nums > 6
121 10 9 0 $generic < 1 and $lo eq $hi
1 1 17 $generic < 2 and defined(my $w = _is_cidr($lo, $hi))

or 2 conditions

line l !l condition
120 10 9 shift() || 0