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
21 0 0 0 /\A$DEC\z/ and not /\A0[1-9]+/
35 107 2 0 $ip =~ /\A:/ and not $ip =~ s/\A::/:/
36 12 97 0 $ip =~ /:\z/ and not $ip =~ s/::\z/:/
47 109 0 0 $ipv4 and @nums > 6
120 10 24 0 $generic < 1 and $lo eq $hi
1 10 23 $generic < 2 and defined(my $w = _is_cidr($lo, $hi))

or 2 conditions

line l !l condition
119 10 24 shift() || 0