Condition Coverage

blib/lib/Helper/Deck.pm
Criterion Covered Total %
condition 6 15 40.0


and 3 conditions

line !l l&&!r l&&r condition
135 43 3 0 $card->{'face'} eq $chosen->{'face'} and $card->{'suit'} eq $chosen->{'suit'}
46 0 0 $card->{'face'} eq '' and $card->{'suit'} eq $chosen->{'suit'}
0 46 0 $chosen->{'face'} eq $chosen->{'face'} and $card->{'suit'} eq ''

or 3 conditions

line l !l&&r !l&&!r condition
135 0 0 46 $card->{'face'} eq $chosen->{'face'} and $card->{'suit'} eq $chosen->{'suit'} or $card->{'face'} eq '' and $card->{'suit'} eq $chosen->{'suit'}
0 0 46 $card->{'face'} eq $chosen->{'face'} and $card->{'suit'} eq $chosen->{'suit'} or $card->{'face'} eq '' and $card->{'suit'} eq $chosen->{'suit'} or $chosen->{'face'} eq $chosen->{'face'} and $card->{'suit'} eq ''