Branch Coverage

blib/lib/Paranoid/Network/IPv4.pm
Criterion Covered Total %
branch 28 34 82.3


line true false branch
92 40 1 if (defined $netAddr)
94 33 7 if defined $t
97 33 8 if (defined $bnet and length $bnet) { }
102 33 0 if (defined $bnet and length $bnet) { }
107 24 9 if (defined $bmask and length $bmask)
110 22 0 $bmask <= 32 ? :
2 22 !($bmask =~ /^\d+$/s) ? :
116 24 0 if (defined $bmask and length $bmask) { }
165 18 0 if (defined $tgt and defined $dest)
169 0 18 $tgt =~ /^\d+$/s ? :
170 0 18 $dest =~ /^\d+$/s ? :
173 2 16 unless scalar @tnet
174 4 14 unless scalar @dnet
178 8 10 if $#tnet == 0
179 7 11 if $#dnet == 0
181 4 14 if ($tnet[0] <= $dnet[0] and $tnet[1] >= $dnet[1]) { }
7 8 elsif ($tnet[0] >= $dnet[0] and $tnet[1] <= $dnet[1]) { }