Branch Coverage

blib/lib/Game/Cribbage/Round.pm
Criterion Covered Total %
branch 21 40 52.5


line true false branch
86 0 1 ref $player ? :
92 398 1 ref $player ? :
99 0 30 if (ref $score and $score->score)
100 0 0 ref $player ? :
119 2 0 if ($next eq $_->player)
137 11 2 if ($self->current_hands->crib_player eq $_->player)
149 2 3 if (scalar @{$game->players;} == $current->number) { }
160 2 0 $player ? :
166 2 0 $player ? :
172 2 0 $player ? :
177 0 0 ref $player ? :
192 0 1 if (ref $score and $score->score)
193 0 0 ref $player ? :
204 1 28 if (ref $score and $score->score)
205 1 0 ref $player ? :
241 4 3 if (ref $score and $score->score)
242 4 0 ref $score->player ? :
253 2 0 if (ref $score and $score->score)
254 2 0 ref $score->player ? :
264 0 0 ref $player ? :