| blib/lib/Game/TextPacMonster/Player.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| branch | 15 | 18 | 83.3 | 
| line | true | false | branch | 
|---|---|---|---|
| 18 | 3 | 27 | unless $command | 
| 28 | 4 | 23 | unless $command_function_map{$command} | 
| 36 | 4 | 11 | unless $f | 
| 41 | 3 | 8 | if ($f eq 'move_down') { } | 
| 2 | 6 | elsif ($f eq 'move_up') { } | |
| 3 | 3 | elsif ($f eq 'move_left') { } | |
| 3 | 0 | elsif ($f eq 'move_right') { } | |
| 0 | 0 | elsif ($f eq 'stay') { } | |
| 71 | 7 | 1 | if ($f and $self->$f) |