blib/lib/Net/Subnet.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 17 | 22 | 77.2 |
line | true | false | branch |
---|---|---|---|
6 | 2 | 0 | if (defined &Socket::inet_pton) { } |
31 | 1 | 10 | if @_ > 1 |
34 | 8 | 2 | $net =~ /:/ ? : |
43 | 0 | 2 | $mask =~ /\./ ? : |
54 | 0 | 8 | $mask =~ /:/ ? : |
66 | 12 | 7 | $_[0] =~ /:/ ? : |
81 | 12 | 7 | $_[0] =~ /:/ ? : |
91 | 0 | 4 | $mask =~ /:/ ? : |
0 | 1 | $mask =~ /\./ ? : | |
4 | 1 | $net =~ /:/ ? : | |
95 | 4 | 1 | $net =~ /:/ ? : |