| blib/lib/Game/TextPacMonster/Creature.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 16 | 16 | 100.0 |
| line | true | false | branch |
|---|---|---|---|
| 27 | 128 | 577 | if (@_) { } |
| 45 | 6 | 8 | if $self->move_first |
| 49 | 1 | 7 | if $counted_ways == 1 |
| 50 | 4 | 3 | if $counted_ways == 2 |
| 77 | 8 | 11 | if not $way->equals($pre) and $self->_move_point($way) |
| 116 | 12 | 8 | if ($$self{'_map'}->get_time == 0) |
| 120 | 10 | 18 | if $self->$_ |
| 169 | 124 | 108 | if ($$self{'_map'}->can_move($point)) |