lib/Games/Sokoban/Controller.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 0 | 32 | 0.0 |
line | true | false | branch |
---|---|---|---|
62 | 0 | 0 | if ($x < 0) |
63 | 0 | 0 | if ($y < 0) |
64 | 0 | 0 | if ($x >= $w) |
65 | 0 | 0 | if ($y >= $h) |
81 | 0 | 0 | if (defined wantarray) { } |
101 | 0 | 0 | if ($dest eq ' ' or $dest eq '.') { } |
0 | 0 | elsif ($dest eq '$' or $dest eq '*') { } | |
102 | 0 | 0 | $me eq '@' ? : |
103 | 0 | 0 | $dest eq ' ' ? : |
108 | 0 | 0 | if ($next eq ' ' or $next eq '.') { } |
109 | 0 | 0 | $me eq '@' ? : |
110 | 0 | 0 | $dest eq '$' ? : |
111 | 0 | 0 | $next eq ' ' ? : |
121 | 0 | 0 | if ($moved) |
134 | 0 | 0 | unless (shift())->{'direction'} |
144 | 0 | 0 | if $$self{'debug'} |