Branch Coverage

lib/Text/Levenshtein/BV.pm
Criterion Covered Total %
branch 53 54 98.1


line true false branch
44 2 2 @_ > 1 ? :
4 4 @_ ? :
51 3 28 unless (scalar @{$a;} or scalar @{$b;})
66 30 811 if ($amax < $amin and $bmax < $bmin) { }
171 640 elsif ($amax < $amin) { }
175 465 elsif ($bmax < $bmin) { }
88 438 27 if ($amax - $amin < $width) { }
124 25 2 if $m % $width
192 283 2084 if ($$VPs[$j - $bmin] & 1 << $i - $amin) { }
197 848 1236 if ($j > $bmin and $$VNs[$j - $bmin - 1] & 1 << $i - $amin) { }
236 1348 2832 if ($$VPs[$j - $bmin][$k] & 1 << ($i - $amin) % $width) { }
241 465 2367 if ($j > $bmin and $$VNs[$j - $bmin - 1][$k] & 1 << ($i - $amin) % $width) { }
284 369 443 if ($amax < $amin or $bmax < $bmin)
288 418 25 if ($amax - $amin < $width) { }
317 995 1296 if ($HP & $m_mask) { }
320 976 elsif ($HN & $m_mask) { }
329 23 2 if $m % $width
367 335 9323 if ($HP & $mask[$k]) { }
752 8571 elsif ($HN & $mask[$k]) { }
397 30 30 defined $gap ? :
399 276 20 $_ >= 0 ? :
407 3 841 if (scalar @{$hunks;} == 0)
410 0 8990 if (scalar @{$hunk;} == 0) { }
4147 4843 elsif ($hunk->[0] < 0 or $hunk->[1] < 0) { }
2234 2609 elsif ($$a[$hunk->[0]] ne $$b[$hunk->[1]]) { }
423 138 10 $hunk->[0] >= 0 ? :
424 101 47 $hunk->[1] >= 0 ? :