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 @_ ? :
47 2 27 unless (scalar @$a or scalar @$b)
88 783 27 if ($amax - $amin < $width) { }
123 25 2 if $m % $width
189 467 3351 if ($VPs->[$j] & 1 << $i) { }
194 1117 2234 if ($j > 0 and $$VNs[$j - 1] & 1 << $i) { }
228 1317 2973 if ($VPs->[$j][$k] & 1 << $i % $width) { }
233 466 2507 if ($j > 0 and $$VNs[$j - 1][$k] & 1 << $i % $width) { }
281 369 443 if ($amax < $amin or $bmax < $bmin)
285 418 25 if ($amax - $amin < $width) { }
312 995 1296 if ($HP & $m_mask)
313 320 1971 if ($HN & $m_mask)
324 23 2 if $m % $width
361 335 9323 if ($HP & $mask[$k])
362 752 8906 if ($HN & $mask[$k])
390 0 0 defined $gap ? :
392 0 0 $_ >= 0 ? :
401 3960 4741 if ($hunk->[0] < 0 or $hunk->[1] < 0) { }
2191 2550 elsif ($$a[$hunk->[0]] ne $$b[$hunk->[1]]) { }
413 0 0 $hunk->[0] >= 0 ? :
414 0 0 $hunk->[1] >= 0 ? :