| line |
true |
false |
branch |
|
51
|
38 |
3 |
unless $self->crib_player |
|
72
|
1 |
30 |
if ($card->symbol =~ /^J$/) |
|
82
|
62 |
62 |
if ($self->$_) |
|
94
|
6 |
6 |
if ($self->$p) |
|
96
|
3 |
12 |
if ($_->match($card)) |
|
119
|
29 |
0 |
ref $player ? : |
|
120
|
5 |
24 |
if ($self->play->next_to_play ne $hand) |
|
123
|
0 |
24 |
ref $card_index ? : |
|
124
|
0 |
24 |
if (not $card or $card->used) |
|
129
|
2 |
22 |
if ($card->value + $total > 31) |
|
141
|
10 |
1 |
ref $player ? : |
|
142
|
1 |
10 |
if ($self->play->next_to_play ne $hand) |
|
150
|
17 |
23 |
if $_->used |
|
151
|
10 |
13 |
if ($current_total + $_->value < 31) |
|
156
|
3 |
7 |
if scalar @can_be_played |
|
177
|
22 |
13 |
if ($self->$next) { } |
|
186
|
0 |
3 |
ref $player ? : |
|
193
|
0 |
2 |
ref $player ? : |
|
205
|
8 |
0 |
ref $player ? : |
|
218
|
2 |
1 |
$prev ? : |
|
224
|
4 |
41 |
if ($self->play) |
|
225
|
4 |
0 |
ref $self->play->cards->[-1]->player ? : |
|
242
|
12 |
10 |
if ($self->$hand) |
|
245
|
27 |
21 |
if $_->used |
|
247
|
6 |
15 |
if ($current_total + $_->value < 31) |
|
251
|
2 |
10 |
if (scalar @can_be_played) |
|
263
|
1 |
4 |
unless ($available_cards) |
|
269
|
4 |
0 |
unless ($self->play->scored->[-1] and $self->play->scored->[-1]->go) |
|
283
|
2 |
0 |
unless ($self->play->scored->[-1] and $self->play->scored->[-1]->go) |
|
296
|
6 |
6 |
if $self->$_ |
|
304
|
0 |
0 |
ref $player ? : |
|
315
|
0 |
2 |
ref $player ? : |