blib/lib/Tie/NetAddr/IP.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 17 | 24 | 70.8 |
line | true | false | branch |
---|---|---|---|
80 | 27 | 0 | if ($ip) { } |
83 | 119 | 1984 | unless ref $item |
85 | 26 | 42 | if ($$item{$a}{'where'}->contains($ip)) |
103 | 23 | 0 | if ($ip) { } |
118 | 2 | 0 | if ($ip) { } |
131 | 5 | 0 | if ($ip) { } |
153 | 27 | 10 | if (defined $last) { } |
155 | 0 | 27 | unless $l_ip |
161 | 27 | 50 | if ($a eq $l_ip->addr and $bits == $l_ip->masklen) |
165 | 18 | 32 | if ($found) |
167 | 0 | 18 | wantarray ? : |
175 | 0 | 9 | wantarray ? : |