Branch Coverage

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


line true false branch
147 0 0 unless $index and $index =~ /^[1-4]$/
148 0 0 unless $ai and ref $ai and $ai->isa('Games::Euchre::AI')
180 0 0 if ($ai)
181 0 0 if ($ai->persist) { }
191 0 0 unless ($$self{'teams'}[$i - 1])
265 0 0 unless ($self->getBid)
304 0 0 if (defined $trump)
307 0 0 if ($trump =~ s/A//)
311 0 0 if ($turn <= @players)
321 0 0 unless (defined $$self{'trump'})
405 0 0 unless $scoreMap{$_}
425 0 0 if ($tricks >= 3)
427 0 0 if (not $team->isBidder) { }
0 0 elsif ($tricks >= 5) { }
431 0 0 if ($team->wentAlone)
451 0 0 if ($player->getAI)
452 0 0 defined $$self{'bidder'} ? :
482 0 0 if ($player->getAI)
511 0 0 if ($player->getAI)
539 0 0 if ($player->getAI)
568 0 0 if $team->getScore >= $$self{'winningScore'}
633 0 0 if ($$self{'trump'} and $$self{'othertrump'} and $cardsuit eq $$self{'othertrump'} and $card->name eq 'J')