blib/lib/Net/Works/Util.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 19 | 20 | 95.0 |
line | true | false | branch |
---|---|---|---|
28 | 183 | 705 | $version == 4 ? : |
18 | 870 | unless my $binary = inet_pton($version == 4 ? 2 : 10, $string) | |
31 | 175 | 695 | $version == 4 ? : |
39 | 2259 | 477 | if (ref $integer and blessed $integer) { } |
50 | 477 | 2259 | length $binary == 4 ? : |
53 | 6 | 2730 | $string eq '::' ? : |
64 | 82 | 2 | defined $str ? : |
65 | 7 | 77 | if ($version == 4) { } |
66 | 7 | 0 | unless defined $str and defined inet_pton(2, $str) |
70 | 10 | 67 | unless defined $str and defined inet_pton(10, $str) |