Branch Coverage

blib/lib/Paranoid/Network/IPv6.pm
Criterion Covered Total %
branch 35 44 79.5


line true false branch
97 43 0 if (has_ipv6() or $] >= 5.012) { }
100 42 1 if (defined $netAddr)
104 32 10 if defined $t
107 32 11 if (defined $bnet and length $bnet) { }
112 32 0 if (defined $bnet and length $bnet) { }
117 14 18 if (defined $bmask and length $bmask)
120 14 0 if ($bmask <= 128) { }
130 4 10 if ($bmask)
147 14 0 if (defined $bmask) { }
223 46 21 unless ($aref1->[0] == $aref2->[0])
224 27 19 $aref1->[0] > $aref2->[0] ? :
256 18 0 if (defined $tgt and defined $dest)
260 0 18 ref $tgt eq 'ARRAY' ? :
261 0 18 ref $dest eq 'ARRAY' ? :
264 5 13 unless scalar @tnet
265 4 14 unless scalar @dnet
269 14 4 if ($#tnet == 0)
273 10 8 if ($#dnet == 0)
278 4 14 if (_cmpArrays($tnet[0], $dnet[0]) <= 0 and _cmpArrays($tnet[1], $dnet[1]) >= 0) { }
5 13 elsif (_cmpArrays($tnet[0], $dnet[0]) >= 0 and _cmpArrays($tnet[1], $dnet[1]) <= 0) { }
313 4 0 if $rv
352 2 0 if $rv