| blib/lib/Games/GuessWord.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 8 | 10 | 80.0 |
| line | true | false | branch |
|---|---|---|---|
| 116 | 1 | 29 | if ($self->chances == 0) |
| 122 | 9 | 20 | if ($self->secret =~ /$letter/) { } |
| 155 | 6 | 22 | if ($$self{'words'}) { } |
| 158 | 0 | 22 | unless open IN, $$self{'file'} |
| 168 | 0 | 28 | if $self->lost |