Branch Coverage

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


line true false branch
98 43 0 if (has_ipv6() or $] >= 5.012) { }
101 42 1 if (defined $netAddr)
105 32 10 if defined $t
108 32 11 if (defined $bnet and length $bnet) { }
113 32 0 if (defined $bnet and length $bnet) { }
118 14 18 if (defined $bmask and length $bmask)
121 14 0 if ($bmask <= 128) { }
131 4 10 if ($bmask)
148 14 0 if (defined $bmask) { }
228 46 21 unless ($aref1->[0] == $aref2->[0])
229 27 19 $aref1->[0] > $aref2->[0] ? :
263 18 0 if (defined $tgt and defined $dest)
267 0 18 ref $tgt eq 'ARRAY' ? :
268 0 18 ref $dest eq 'ARRAY' ? :
271 5 13 unless scalar @tnet
272 4 14 unless scalar @dnet
276 14 4 if ($#tnet == 0)
280 10 8 if ($#dnet == 0)
285 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) { }
321 4 0 if $rv
360 2 0 if $rv