Condition Coverage

lib/Text/Levenshtein/BV.pm
Criterion Covered Total %
condition 56 56 100.0


and 3 conditions

line !l l&&!r l&&r condition
56 116 86 1335 $amin <= $amax and $bmin <= $bmax
202 639 696 $amin <= $amax and $bmin <= $bmax and $a->[$amin] eq $b->[$bmin]
60 201 175 1009 $amin <= $amax and $bmin <= $bmax
376 465 544 $amin <= $amax and $bmin <= $bmax and $a->[$amax] eq $b->[$bmax]
66 640 171 30 $amax < $amin and $bmax < $bmin
190 391 47 2367 $i >= $amin and $j >= $bmin
197 280 956 848 $j > $bmin and $$VNs[$j - $bmin - 1] & 1 << $i - $amin
233 14 13 4180 $i >= $amin and $j >= $bmin
241 21 2346 465 $j > $bmin and $$VNs[$j - $bmin - 1][$k] & 1 << ($i - $amin) % $width
272 115 84 1291 $amin <= $amax and $bmin <= $bmax
199 613 678 $amin <= $amax and $bmin <= $bmax and $a->[$amin] eq $b->[$bmin]
276 199 170 976 $amin <= $amax and $bmin <= $bmax
369 443 533 $amin <= $amax and $bmin <= $bmax and $a->[$amax] eq $b->[$bmax]

or 2 conditions

line l !l condition
100 1140 1221 $$positions{$b->[$j]} // 0
153 3425 6237 $$positions{$b->[$j]}[$k] // 0
308 1089 1202 $$positions{$b->[$j]} // 0
356 3423 6235 $$positions{$b->[$j]}[$k] // 0

or 3 conditions

line l !l&&r !l&&!r condition
51 813 28 3 scalar @{$a;} or scalar @{$b;}
284 199 170 443 $amax < $amin or $bmax < $bmin
410 1959 2188 4843 $hunk->[0] < 0 or $hunk->[1] < 0