| blib/lib/Game/Cribbage/Player/Hand.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 7 | 14 | 50.0 |
| line | l | !l | condition |
|---|---|---|---|
| 109 | 0 | 14 | $self->crib and scalar @{$self->crib;} |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 76 | 2 | 2 | 2 | exists $mapped{$card->suit} and exists $mapped{$card->suit}{$card->symbol} |
| 204 | 0 | 12 | 0 | not ref $test and !$best || $best < $test |
| 220 | 0 | 0 | 3 | scalar @available > 1 and grep {$_->value != 5;} @available |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 204 | 12 | 0 | 0 | !$best || $best < $test |