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
115 0 0 576 $game and $game->can('contestants')
203 17011 87379 23462 defined $scores and &all(sub { defined $_; } , values %$scores)
209 0 4620 54003 $scores{$round} && $lcconverter{$scores{$round}}
308 54710 0 0 defined $rating and $rating =~ /^\d$/

or 2 conditions

line l !l condition
66 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
291 648 0 128500 shift() || $self->{'scores'}