Condition Coverage

blib/lib/Games/Go/AGA/DataObjects/Tournament.pm
Criterion Covered Total %
condition 4 25 16.0


and 3 conditions

line !l l&&!r l&&r condition
78 1 0 0 $round_num > 1 and not defined $self->{'rounds'}[$round_num - 1]
86 1 0 0 defined $rm_round and not $replace
173 0 0 0 @games == 2 and &refaddr($games[0]) != &refaddr($games[1])

or 2 conditions

line l !l condition
154 0 0 $self->round($round_num) || die("No round number $round_num in this tournament")
218 4 4 $self->{'player_stats'}{$id}{$stat} ||= []

or 3 conditions

line l !l&&r !l&&!r condition
160 0 0 0 $game->white->id eq $id0 or $game->black->id eq $id0
161 0 0 0 $game->white->id eq $id1 or $game->black->id eq $id1
243 0 0 0 $start ||= $date
244 0 0 0 $finish ||= $start