Subroutine Coverage
| lib/Games/PMM/Arena.pm |
|
| Criterion |
Covered |
Total |
% |
| subroutine |
25 |
25 |
100.0
|
| pod |
14 |
22 |
63.6
|
| line |
count |
pod |
subroutine |
|
3
|
2 |
n/a |
BEGIN |
|
7
|
3 |
Yes |
new |
|
18
|
238 |
Yes |
coordinates |
|
24
|
196 |
Yes |
monsters |
|
30
|
100 |
Yes |
x_limit |
|
36
|
88 |
Yes |
y_limit |
|
42
|
4 |
Yes |
add_monster |
|
49
|
34 |
No |
set_position |
|
62
|
82 |
Yes |
validate_position |
|
73
|
87 |
Yes |
within_bounds |
|
84
|
26 |
No |
delete_position |
|
96
|
98 |
Yes |
get_position |
|
108
|
32 |
Yes |
update_position |
|
119
|
5 |
Yes |
get_monster |
|
133
|
2 |
n/a |
BEGIN |
|
137
|
10 |
n/a |
__ANON__ |
|
152
|
6 |
No |
is_wall |
|
161
|
16 |
No |
get_distance |
|
171
|
32 |
No |
minmax |
|
177
|
12 |
Yes |
scan |
|
254
|
12 |
No |
can_see |
|
283
|
9 |
No |
behind |
|
291
|
14 |
Yes |
move_monster |
|
305
|
5 |
Yes |
attack |
|
313
|
5 |
No |
get_victim |