blib/lib/Net/IPv4Addr.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 14 | 21 | 66.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
178 | 11 | 0 | 2 | $ip1 eq '255.255.255.255' || $ip1 eq '0.0.0.0' and not defined $cidr1 |
180 | 8 | 1 | 2 | $ip2 eq '255.255.255.255' || $ip2 eq '0.0.0.0' and not defined $cidr2 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
67 | 0 | 0 | 26 | $msk < 0 or $msk > 32 |
99 | 0 | 0 | 272 | $_ < 0 or $_ > 255 |
122 | 0 | 0 | 6 | $cidr < 0 or $cidr > 32 |
178 | 1 | 1 | 11 | $ip1 eq '255.255.255.255' || $ip1 eq '0.0.0.0' |
180 | 1 | 2 | 8 | $ip2 eq '255.255.255.255' || $ip2 eq '0.0.0.0' |