| blib/lib/Game/RockPaperScissorsLizardSpock.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 10 | 10 | 100.0 |
| line | true | false | branch |
|---|---|---|---|
| 24 | 4 | 33 | unless defined $player1 and exists $choices{$player1} |
| 25 | 27 | 6 | if (defined $player2) { } |
| 26 | 2 | 25 | unless exists $choices{$player2} |
| 32 | 7 | 24 | if $choices{$player1} == $choices{$player2} |
| 36 | 13 | 11 | if ($difference == 1 or $difference == 2) { } |