Branch Coverage

blib/lib/Net/Works/Util.pm
Criterion Covered Total %
branch 19 20 95.0


line true false branch
25 183 705 $version == 4 ? :
18 870 unless my $binary = inet_pton($version == 4 ? 2 : 10, $string)
28 175 695 $version == 4 ? :
36 2255 475 if (ref $integer and blessed $integer) { }
47 475 2255 length $binary == 4 ? :
50 6 2724 $string eq '::' ? :
61 82 2 defined $str ? :
62 7 77 if ($version == 4) { }
63 7 0 unless defined $str and defined inet_pton(2, $str)
67 10 67 unless defined $str and defined inet_pton(10, $str)