Branch Coverage

lib/Net/BART/Node.pm
Criterion Covered Total %
branch 14 24 58.3


line true false branch
28 2 22 if $pfx->[$i] != $ip_bytes->[$i]
31 0 3 if ($remaining)
33 0 0 if ($pfx->[$full_bytes] & $mask) != ($ip_bytes->[$full_bytes] & $mask)
40 3 3 if $self->[1] != $prefix_len
44 2 5 if $pfx->[$i] != $addr->[$i]
47 1 0 if ($remaining)
49 1 0 if ($pfx->[$full_bytes] & $mask) != ($addr->[$full_bytes] & $mask)
94 0 16 if ($w)
95 0 16 if ($w)
96 0 16 if ($w)
97 8 8 if ($w)
105 0 0 $pfx_bs->[0] & $lut->[0] | $pfx_bs->[1] & $lut->[1] | $pfx_bs->[2] & $lut->[2] | $pfx_bs->[3] & $lut->[3] ? :