Branch Coverage

lib/Text/Levenshtein/BV.pm
Criterion Covered Total %
branch 36 44 81.8


line true false branch
39 2 2 @_ > 1 ? :
4 4 @_ ? :
45 2 27 unless (scalar @$a or scalar @$b)
86 783 27 if ($amax - $amin < $width) { }
121 25 2 if $m % $width
187 467 3351 if ($VPs->[$j] & 1 << $i) { }
192 1117 2234 if ($j > 0 and $$VNs[$j - 1] & 1 << $i) { }
226 1317 2973 if ($VPs->[$j][$k] & 1 << $i % $width) { }
231 466 2507 if ($j > 0 and $$VNs[$j - 1][$k] & 1 << $i % $width) { }
272 369 443 if ($amax < $amin or $bmax < $bmin)
276 418 25 if ($amax - $amin < $width) { }
305 995 1296 if ($HP & $m_mask) { }
320 976 elsif ($HN & $m_mask) { }
317 23 2 if $m % $width
354 335 9323 if ($HP & $mask[$k]) { }
752 8571 elsif ($HN & $mask[$k]) { }
383 0 0 defined $gap ? :
385 0 0 $_ >= 0 ? :
394 3960 4741 if ($hunk->[0] < 0 or $hunk->[1] < 0) { }
2191 2550 elsif ($$a[$hunk->[0]] ne $$b[$hunk->[1]]) { }
406 0 0 $hunk->[0] >= 0 ? :
407 0 0 $hunk->[1] >= 0 ? :