lib/Games/PMM/Monster.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
subroutine | 14 | 16 | 87.5 |
pod | 9 | 12 | 75.0 |
line | count | pod | subroutine |
---|---|---|---|
3 | 3 | n/a | BEGIN |
4 | 3 | n/a | BEGIN |
70 | 8 | Yes | new |
87 | 171 | Yes | id |
93 | 6 | Yes | health |
99 | 3 | Yes | damage |
105 | 5 | Yes | commands |
111 | 108 | Yes | facing |
118 | 20 | No | seen |
125 | 4 | Yes | next_command |
131 | 10 | No | direction |
141 | 15 | Yes | turn |
150 | 14 | Yes | closest |
174 | 3 | n/a | BEGIN |
177 | 0 | n/a | __ANON__ |
211 | 0 | No | get_turn_direction |