| blib/lib/NetAddr/IP.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 17 | 27 | 62.9 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 431 | 5 | 0 | 1 | $NetAddr::IP::rfc3021 and $_[0]->masklen == 31 |
| 466 | 3 | 0 | 2 | not $_[0]{'isv6'} and isIPv4($_[0]{'addr'}) |
| 862 | 11 | 13 | 75 | not $_[0]{'isv6'} and isIPv4($_[0]{'addr'}) |
| 864 | 12 | 0 | 10 | $o[1] == 0 and $o[2] == 0 |
| 1201 | 91 | 0 | 15 | ref $_[0] eq 'NetAddr::IP' and ref $_[1] eq 'ARRAY' |
| 1277 | 0 | 0 | 12 | ref $masklen and ref $masklen eq 'NetAddr::IP' |
| 1504 | 0 | 0 | 0 | $n . '' eq 0 and $b =~ /F/ |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 431 | 2 | 0 | 6 | (¬contiguous($_[0]{'mask'}))[1] == 128 or $NetAddr::IP::rfc3021 and $_[0]->masklen == 31 |
| 1053 | 71 | 62 | 99 | $dif or $#bits |