| blib/lib/Games/Trackword.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 22 | 22 | 100.0 |
| line | true | false | branch |
|---|---|---|---|
| 51 | 2 | 4 | if defined $this and not $this |
| 59 | 12 | 27 | if ($$self{'_qu'}) |
| 60 | 8 | 4 | if $word =~ /Q(?!U)/ |
| 64 | 7 | 24 | unless $self->_have_letters($word) |
| 71 | 25 | 459 | if ($$board[$posy][$posx] eq $last) |
| 72 | 21 | 4 | if _can_play($board, $word . $last, $posy, $posx) |
| 85 | 7 | 133 | unless $$self{'_has'}{$let} |
| 91 | 207 | 51 | if (length $word > 1) |
| 93 | 97 | 110 | if ($$board[$posy][$posx] eq $last) |
| 96 | 85 | 148 | if _can_play($board, $word, $posy + $$dir[0], $posx + $$dir[1]) |
| 101 | 21 | 30 | $$board[$posy][$posx] eq $word ? : |