| blib/lib/Game/Cribbage.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 0 | 27 | 0.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 198 | 0 | 0 | 0 | scalar @can and ref $can[0] |
| 417 | 0 | 0 | 0 | not $all and $_->{'used'} |
| 458 | 0 | 0 | 0 | !$it && $_ < 10 |
| 556 | 0 | 0 | 0 | $self->board and $self->board->current_play_score |
| line | l | !l | condition |
|---|---|---|---|
| 447 | 0 | 0 | $vertical || 10 |
| 609 | 0 | 0 | $color ||= 90 |
| 610 | 0 | 0 | $back ||= 102 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 219 | 0 | 0 | 0 | not $number =~ /^\d+$/ or $number > scalar @{$hands->player2->cards;} |
| 244 | 0 | 0 | 0 | not $number =~ /^\d+$/ or $number > 52 |
| 345 | 0 | 0 | 0 | not $number =~ /^\d+$/ or $number > 52 |