Condition Coverage

blib/lib/Algorithm/Pair/Best.pm
Criterion Covered Total %
condition 12 30 40.0


and 3 conditions

line !l l&&!r l&&r condition
302 0 204 0 $cIdx <= scalar @{$my->citems;} and defined $candidate->opp || $candidate == $my
310 0 37 47 ${$$my{'negOnly'};} and ${$$my{'currScore'};} < ${$$my{'bestScore'};}
318 0 31 58 defined $next and defined $next->opp

or 3 conditions

line l !l&&r !l&&!r condition
101 0 9 0 ref $proto || $proto
104 8 0 0 $a eq 'info' or $a eq 'citems'
8 0 0 $a eq 'info' or $a eq 'citems' or $a eq 'cscores'
0 0 0 $a eq 'info' or $a eq 'citems' or $a eq 'cscores' or $a eq 'opp'
0 0 0 $a eq 'info' or $a eq 'citems' or $a eq 'cscores' or $a eq 'opp' or $a eq 'next'
214 1 0 0 @{$top;} + @pairs >= @{$$my{'items'};} or @{$top;} < 2 * $window
302 88 32 84 defined $candidate->opp || $candidate == $my