Branch Coverage

blib/lib/Games/Go/AGA/DataObjects/Game.pm
Criterion Covered Total %
branch 12 36 33.3


line true false branch
30 0 13 if ref $_[0] ne 'Games::Go::AGA::DataObjects::Player'
107 0 6 if (defined $args and exists $args->{'winner'})
122 0 13 if ($self->built and $self->result ne '?')
134 8 20 if (@_ > 1)
137 8 19 if $self->result eq 'w'
138 15 4 if $self->result eq 'b'
145 2 6 if $self->result eq 'w'
146 6 0 if $self->result eq 'b'
154 0 0 if $self->black->id eq $me
155 0 0 if $self->white->id eq $me
171 0 0 if (defined $self->winner)
175 0 0 unless defined $default_komi
179 0 0 if ($rankDiff < 0.5) { }
0 0 elsif ($rankDiff < 1) { }
0 0 elsif ($rankDiff < 1.5) { }
202 0 0 if (defined $self->winner)
209 0 0 if ($rankDiff < 0.1)
222 0 0 $level > 0 ? :