Condition Coverage

lib/Algorithm/Diff/XS.pm
Criterion Covered Total %
condition 86 107 80.3


and 3 conditions

line !l l&&!r l&&r condition
54 3 1 13 $amin <= $amax and $bmin <= $bmax
4 7 6 $amin <= $amax and $bmin <= $bmax and $$a[$amin] eq $$b[$bmin]
58 4 2 7 $amin <= $amax and $bmin <= $bmax
6 5 2 $amin <= $amax and $bmin <= $bmax and $$a[$amax] eq $$b[$bmax]
142 0 25 0 ref $a and ref $b
176 1 2 29 $aStart <= $aFinish and $bStart <= $bFinish
3 22 7 $aStart <= $aFinish and $bStart <= $bFinish and &$compare($$a[$aStart], $$b[$bStart], @_)
185 2 5 32 $aStart <= $aFinish and $bStart <= $bFinish
7 18 14 $aStart <= $aFinish and $bStart <= $bFinish and &$compare($$a[$aFinish], $$b[$bFinish], @_)
211 41 0 0 $k and $$thresh[$k] > $j
41 0 0 $k and $$thresh[$k] > $j and $$thresh[$k - 1] < $j
286 6 0 3 $ai == $lastA + 1 and $bi <= $lastB
300 7 2 0 $bi == $lastB + 1 and $ai <= $lastA
344 20 32 19 $ma <= $#$matchVector and not defined $$matchVector[$ma]
359 19 9 10 $ai < $ma and $bi < $mb
391 5 7 10 $ai <= $lastA and $bi <= $lastB
474 11 5 28 @$am and $ai == $$am[0]
16 6 22 @$am and $ai == $$am[0] and $bi == $$bm[0]
597 3 0 8 0 == $$cdif[2] and 0 == $$cdif[3]
647 108 120 14 $pos and $new < 0
748 0 160 0 $word =~ /^(-?\d+)?([a-zA-Z]+)([12])?$/ and $meth = $getName{lc $2}

or 2 conditions

line l !l condition
250 3 0 shift() || {}
252 3 0 $$callbacks{'MATCH'} || sub {
253 3 0 $$callbacks{'DISCARD_A'} || sub {
255 3 0 $$callbacks{'DISCARD_B'} || sub {
324 20 0 shift() || {}
326 20 0 $$callbacks{'MATCH'} || sub {
327 20 0 $$callbacks{'DISCARD_A'} || sub {
328 20 0 $$callbacks{'DISCARD_B'} || sub {
613 256 74 $pos || 0
618 190 140 $pos || !1

or 3 conditions

line l !l&&r !l&&!r condition
69 0 34 7 $high ||= $#$array
72 10 31 0 $high == -1 or $aValue > $$array[-1]
282 6 3 3 $ai <= $lastA or $bi <= $lastB
356 19 19 32 $ai < $ma or $bi < $mb
389 17 5 20 $ai <= $lastA or $bi <= $lastB
485 5 2 4 $ai < @$a or $bi < @$b
572 314 226 110 1 == $seq or 2 == $seq
616 12 44 274 $pos < 0 or $$me[3] <= $pos