line |
true |
false |
branch |
104
|
0 |
9 |
if ($a eq 'state') { } |
|
0 |
9 |
elsif ($a eq 'items') { } |
|
0 |
9 |
elsif ($a eq 'bestScore') { } |
|
0 |
9 |
elsif ($a eq 'bestPairs') { } |
|
0 |
9 |
elsif ($a eq 'window') { } |
|
0 |
9 |
elsif ($a eq 'negOnly') { } |
|
1 |
8 |
elsif ($a eq 'scoreSubs') { } |
|
8 |
0 |
elsif ($a eq 'info' or $a eq 'citems' or $a eq 'cscores' or $a eq 'opp' or $a eq 'next') { } |
133
|
10 |
1 |
if @_ |
134
|
0 |
0 |
if @_ |
135
|
0 |
0 |
if @_ |
136
|
1 |
1 |
if @_ |
137
|
1 |
0 |
if @_ |
138
|
0 |
0 |
if @_ |
139
|
0 |
0 |
if @_ |
140
|
1 |
36 |
if @_ |
142
|
0 |
0 |
if @_ |
143
|
8 |
492 |
if @_ |
144
|
0 |
72 |
if @_ |
145
|
151 |
301 |
if @_ |
146
|
8 |
67 |
if @_ |
156
|
7 |
1 |
if (exists $$my{'lastItem'}) |
162
|
1 |
7 |
unless defined $my->next |
164
|
0 |
8 |
if (@items > 1) |
165
|
0 |
0 |
wantarray ? : |
174
|
0 |
316 |
if (defined $new_score) |
178
|
280 |
36 |
if defined $$my{'cscores'}{$candidate} |
197
|
0 |
0 |
if $cs > 0 |
207
|
0 |
1 |
unless defined $window |
214
|
1 |
0 |
if (@{$top;} + @pairs >= @{$$my{'items'};} or @{$top;} < 2 * $window) |
221
|
4 |
0 |
if defined &progress |
225
|
0 |
4 |
if exists $sanity{$p1} |
226
|
0 |
4 |
if exists $sanity{$p2} |
234
|
0 |
8 |
unless exists $sanity{$_} |
238
|
0 |
1 |
if $alreadyPaired |
239
|
0 |
1 |
if $notPaired |
240
|
0 |
1 |
if scalar keys %sanity |
241
|
0 |
1 |
unless $msg eq '' |
242
|
1 |
0 |
wantarray ? : |
250
|
1 |
0 |
unless ($my->state eq 'pick') |
256
|
0 |
8 |
if defined $p->opp |
257
|
1 |
7 |
if $avail == 0 |
259
|
1 |
7 |
if $avail >= $window * 2 |
261
|
0 |
1 |
if ($avail <= 1) |
262
|
0 |
0 |
if ($avail == 1) |
267
|
0 |
1 |
if ($avail % 2) |
273
|
0 |
1 |
if ($avail < $window) |
283
|
0 |
1 |
if ($$my{'oddError'}) |
305
|
0 |
84 |
unless $cIdx <= scalar @{$my->citems;} |
308
|
0 |
84 |
if defined &scoreFunc |
310
|
47 |
37 |
if (${$$my{'negOnly'};} and ${$$my{'currScore'};} < ${$$my{'bestScore'};}) { } |
316
|
31 |
6 |
if ($window > 1) { } |
321
|
31 |
0 |
if (defined $next) { } |
328
|
5 |
1 |
if (${$$my{'currScore'};} > ${$$my{'bestScore'};}) |