| lib/App/Tel/HostRange.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 2 | 16 | 6.2 |
| line | true | false | branch |
|---|---|---|---|
| 18 | 0 | 8 | if (eval { do { &Module::Load::load('NetAddr::IP'); 1 } }) { } |
| 74 | 1 | 0 | unless $_have_netaddr |
| 79 | 0 | 0 | if ($_ =~ qr"/") { } |
| 81 | 0 | 0 | if $range->contains($host) |
| 86 | 0 | 0 | unless (defined $host2) |
| 87 | 0 | 0 | $host == $host1 ? : |
| 90 | 0 | 0 | if ($host2 =~ /^[\da-f]+$/i) |
| 97 | 0 | 0 | if $host >= $host1 and $host <= $host2 |