Condition Coverage

blib/lib/Games/Tournament/Contestant.pm
Criterion Covered Total %
condition 9 25 36.0


and 3 conditions

line !l l&&!r l&&r condition
121 0 0 576 $game and $game->can('contestants')
209 16992 87379 23462 defined $scores and &all(sub { defined $_; } , values %$scores)
215 0 4620 54003 $scores{$round} && $lcconverter{$scores{$round}}
314 54022 0 0 defined $rating and $rating =~ /^\d$/

or 2 conditions

line l !l condition
72 0 0 $self->id || undef
0 0 $self->name || undef
0 0 $self->score || undef
0 0 $self->title || undef
0 0 $self->rating || undef

or 3 conditions

line l !l&&r !l&&!r condition
297 648 0 128481 shift() || $self->{'scores'}