Branch Coverage

blib/lib/Games/Go/AGA/DataObjects/Player.pm
Criterion Covered Total %
branch 0 96 0.0


line true false branch
136 0 0 if (my $name = $self->first_name)
160 0 0 if $deprecate > 0
162 0 0 if (not grep({&refaddr($_) == $add_refaddr;} @{$$self{'games'};}))
164 0 0 if (@_ < 3) { }
177 0 0 if $deprecate > 0
179 0 0 unless (&looks_like_number($idx))
180 0 0 if (ref $idx) { }
0 0 elsif ($id1) { }
186 0 0 if (&refaddr($games->[$ii]) == $refaddr)
195 0 0 if ($games->[$ii]->black->id eq $id0 and $games->[$ii]->white->id eq $id1 or $games->[$ii]->black->id eq $id1 and $games->[$ii]->white->id eq $id0)
205 0 0 unless (&looks_like_number($idx))
206 0 0 if (ref $idx) { }
229 0 0 if $round_num < -1
232 0 0 unless $self->{'adj_rating'}
234 0 0 if (@_ > 2)
238 0 0 unless $self->_adj_ratings->[$round_num]
245 0 0 if (@_ > 1)
250 0 0 defined $self->{'handicap_rating'} ? :
256 0 0 if $deprecate > 0
259 0 0 wantarray ? :
265 0 0 if $deprecate > 0
268 0 0 if defined $_->winner
271 0 0 wantarray ? :
277 0 0 if $deprecate > 0
280 0 0 if defined $_->loser
283 0 0 wantarray ? :
290 0 0 if $deprecate > 0
292 0 0 &refaddr(scalar $_->black) == $me ? :
296 0 0 wantarray ? :
302 0 0 if $deprecate > 0
306 0 0 wantarray ? :
312 0 0 if $deprecate > 0
314 0 0 if defined $_->winner
317 0 0 wantarray ? :
323 0 0 if $deprecate > 0
326 0 0 wantarray ? :
332 0 0 if $deprecate > 0
333 0 0 if $self->get_flag('drop')
334 0 0 if (defined $round_num)
335 0 0 if $self->get_flag("drop$round_num")
343 0 0 if $deprecate > 0
353 0 0 if uc $key eq uc $flags->[$ii]
365 0 0 if uc $key eq uc $flags->[$ii]
379 0 0 if uc $key eq uc $flags->[$ii]
382 0 0 if ($ii < @{$flags;})
399 0 0 if $self->club
407 0 0 if @flags
409 0 0 if ($comment)