| blib/lib/Net/CIDR/Set/IPv6.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 14 | 23 | 60.8 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 19 | 0 | 1 | 0 | /^\d{1,3}$/ and not /^0\d{1,2}$/ |
| 1 | 0 | 0 | /^\d{1,3}$/ and not /^0\d{1,2}$/ and $_ < 256 | |
| 33 | 111 | 2 | 0 | $ip =~ /^:/ and not $ip =~ s/^::/:/ |
| 34 | 16 | 97 | 0 | $ip =~ /:$/ and not $ip =~ s/::$/:/ |
| 45 | 109 | 0 | 0 | $ipv4 and @nums > 6 |
| 115 | 10 | 24 | 0 | $generic < 1 and $lo eq $hi |
| 1 | 10 | 23 | $generic < 2 and defined(my $w = _is_cidr($lo, $hi)) |
| line | l | !l | condition |
|---|---|---|---|
| 114 | 10 | 24 | shift() || 0 |