Branch Coverage

blib/lib/Games/Euchre/Player.pm
Criterion Covered Total %
branch 0 42 0.0


line true false branch
246 0 0 if ($self->getAI) { }
261 0 0 $turn <= 4 ? :
265 0 0 if ($self->isLegalBid($turn, $suit))
270 0 0 if ($turn == 2 * $self->getGame->getPlayers) { }
274 0 0 if ($self->isLegalBid($turn, $suit))
280 0 0 if ($self->isLegalBid($turn, $suit))
305 0 0 if ($self->getAI) { }
324 0 0 if (defined $index and $index =~ /^\d+$/ and $index >= 0 and $index < @cards) { }
326 0 0 if $self->getGame->{'debug'}
351 0 0 if ($self->getAI) { }
373 0 0 if ($trick->isLegalPlay($self, $index))
380 0 0 if ($trick->isLegalPlay($self, $i))
382 0 0 if $self->getGame->{'debug'}
390 0 0 if (not $playedCard)
418 0 0 unless (defined $bid)
420 0 0 if ($$game{'hangdealer'} and $turn == $lastturn) { }
428 0 0 unless $bid =~ /^([HSDCN])(|A)$/i
434 0 0 if ($suit eq 'N')
436 0 0 unless $$game{'notrump'}
440 0 0 if ($turn <= @players)
442 0 0 if $suit ne $topsuit