Condition Coverage

blib/lib/Games/Go/AGA/DataObjects/Player.pm
Criterion Covered Total %
condition 2 22 9.0


and 3 conditions

line !l l&&!r l&&r condition
195 0 0 0 $games->[$ii]->black->id eq $id0 and $games->[$ii]->white->id eq $id1
0 0 0 $games->[$ii]->black->id eq $id1 and $games->[$ii]->white->id eq $id0

or 2 conditions

line l !l condition
124 25 4 $self->{'flags'} ||= []
214 0 0 $idx ||= '<>'
215 0 0 $id1 ||= '<>'
228 0 0 $round_num ||= -1
304 0 0 &refaddr(scalar $_->winner) || -1

or 3 conditions

line l !l&&r !l&&!r condition
195 0 0 0 $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
293 0 0 0 defined $_->loser || defined $_->winner