Branch Coverage

blib/lib/Games/Go/AGA/DataObjects/Round.pm
Criterion Covered Total %
branch 4 100 4.0


line true false branch
109 16 0 if not $self->suppress_changes
117 0 21 wantarray ? :
124 0 2 if (@_ <= 2 and &looks_like_number($which) and $which < @{$self->{'games'};})
135 3 0 if ($wid eq $which || $bid eq $which and $wid eq $which2 || $bid eq $which2)
144 0 0 if $deprecate > 0
149 0 0 wantarray ? :
179 0 0 if (ref $game)
182 0 0 if (&refaddr($games->[$idx]) == $raddr)
187 0 0 if (ref $game)
199 0 0 if $deprecate > 0
203 0 0 if grep {$_->id eq $player->id;} @{$$self{'byes'};}
210 0 0 if $deprecate > 0
220 0 0 if $deprecate > 0
231 0 0 if $deprecate > 0
237 0 0 if ($player->id eq $id_0)
241 0 0 if ($player->id eq $id_1)
248 0 0 if ($game->white->id eq $id_0) { }
0 0 elsif ($game->black->id eq $id_0) { }
258 0 0 if ($game->white->id eq $id_1) { }
0 0 elsif ($game->black->id eq $id_1) { }
268 0 0 if defined $item0 and defined $item1
270 0 0 unless (defined $item0)
273 0 0 unless (defined $item1)
277 0 0 if $item0->can('id') and $item1->can('id')
278 0 0 if ($item0->can('white') and $item1->can('white')) { }
0 0 elsif ($item0->can('id')) { }
0 0 elsif ($item1->can('id')) { }
280 0 0 if ($item0->white->id eq $item1->white->id and $item0->black->id eq $item1->black->id) { }
286 0 0 if ($p0->id eq $item0->white->id) { }
292 0 0 if ($p1->id eq $item1->white->id) { }
302 0 0 if ($p1->id eq $item1->white->id) { }
312 0 0 if ($p0->id eq $item0->white->id) { }
320 0 0 if $item0->can('handicap')
321 0 0 if $item1->can('handicap')
326 0 0 if $deprecate > 0
330 0 0 if (&looks_like_number($idx)) { }
0 0 elsif (ref $idx) { }
339 0 0 if ($players->[$ii]->id eq $id)
352 0 0 if ($players->[$ii]->id eq $id)
360 0 0 if ($idx < 0 or $idx > $#{$players;})
373 0 0 if $adj_rating
374 0 0 if ($adj_rating and $adj_rating ne $rating)
383 0 0 if length $player->id > $self->id_len
384 0 0 if length $player->full_name > $self->name_len
397 0 0 if length $game->handi > $self->handi_len
398 0 0 if length $game->komi > $self->komi_len
400 0 0 if ($deprecate == 0)
419 0 0 if ($winner)
420 0 0 if $winner->id eq $w->id
421 0 0 if $winner->id eq $b->id