| line |
true |
false |
branch |
|
76
|
0 |
0 |
unless ($self->_bye_candidates) |
|
90
|
0 |
0 |
unless ($bye_candidates_hash->{$candidate}) |
|
96
|
0 |
0 |
if (not $self->_bye_candidates) |
|
108
|
0 |
0 |
if ($bye_candidates_hash->{$candidate}) |
|
110
|
0 |
0 |
if delete $bye_candidates_hash->{$candidate} |
|
113
|
0 |
0 |
unless ($self->_bye_candidates) |
|
123
|
0 |
0 |
unless ($self->_drops) |
|
126
|
0 |
0 |
$ii ? : |
|
133
|
0 |
0 |
if @_ > 1 |
|
143
|
0 |
0 |
unless ($drops_hash->{$id}) |
|
149
|
0 |
0 |
if (not $self->_drops) |
|
158
|
0 |
0 |
unless (defined $round_num) |
|
172
|
0 |
0 |
if ($drops_hash->{$id}) |
|
174
|
0 |
0 |
if delete $drops_hash->{$id} |
|
177
|
0 |
0 |
unless ($self->_drops) |
|
193
|
0 |
0 |
wantarray ? : |
|
205
|
1 |
1 |
wantarray ? : |
|
216
|
2 |
0 |
if (&refaddr($p) != $my_refaddr) |
|
229
|
0 |
23 |
unless ($id) |
|
235
|
1 |
22 |
if ($self->id_is_duplicate($id, undef)) |
|
239
|
22 |
0 |
if ($idx < 0 or $idx > $#{$$self{'players'};}) { } |
|
268
|
0 |
0 |
if (@{$players->[$idx]->games;}) |
|
284
|
0 |
4 |
if (&looks_like_number($idx)) { } |
|
|
0 |
4 |
elsif (ref $idx) { } |
|
293
|
0 |
0 |
if (&refaddr($players->[$ii]) == $my_refaddr) |
|
307
|
4 |
6 |
if ($players->[$ii]->id eq $id) |
|
315
|
0 |
4 |
if ($idx < 0 or $idx > $#{$players;}) |
|
328
|
0 |
5 |
if (uc $key eq 'BYE_CANDIDATES') { } |
|
|
0 |
5 |
elsif ($key =~ /^DROP_(\d+|ALL)$/i) { } |
|
330
|
0 |
0 |
unless ($val) |
|
336
|
0 |
0 |
unless ($val) |
|
347
|
19 |
1 |
if (uc $key eq 'BAND_BREAKS') |
|
358
|
18 |
1 |
if $band_breaks |
|
361
|
0 |
1 |
if not $num_bands or $num_bands == 1 |
|
374
|
0 |
2 |
if $ii >= @sorted_ranks |
|
379
|
2 |
0 |
if ($running_total + $entrants_per_rating{$sorted_ranks[$ii]} / 2 < $next_break) |
|
396
|
0 |
18 |
wantarray ? : |
|
403
|
0 |
18 |
if @{$bands;} < 1 |
|
409
|
12 |
18 |
if ($limit < 0 and $limit == int $limit) { } |
|
412
|
7 |
5 |
if $rating > $limit |
|
415
|
6 |
12 |
if $rating >= $limit |