Subroutine Coverage
blib/lib/Games/Wumpus/Cave.pm |
|
Criterion |
Covered |
Total |
% |
subroutine |
21 |
27 |
77.7
|
pod |
15 |
15 |
100.0
|
line |
count |
pod |
subroutine |
3
|
4 |
n/a |
BEGIN |
5
|
4 |
n/a |
BEGIN |
6
|
4 |
n/a |
BEGIN |
7
|
4 |
n/a |
BEGIN |
23
|
4 |
n/a |
BEGIN |
24
|
4 |
n/a |
BEGIN |
25
|
4 |
n/a |
BEGIN |
26
|
4 |
n/a |
BEGIN |
36
|
2 |
Yes |
rooms |
37
|
20 |
Yes |
room |
38
|
0 |
Yes |
random_room |
40
|
6 |
Yes |
location |
41
|
1 |
Yes |
set_location |
43
|
0 |
Yes |
wumpus |
44
|
2 |
Yes |
set_wumpus |
46
|
16 |
Yes |
start |
51
|
2 |
Yes |
new |
54
|
2 |
Yes |
init |
93
|
2 |
n/a |
_create_rooms |
105
|
2 |
n/a |
_classical_layout |
121
|
2 |
n/a |
_name_rooms |
142
|
2 |
n/a |
_create_hazards |
164
|
4 |
Yes |
describe |
189
|
0 |
Yes |
can_move_to |
202
|
0 |
Yes |
move |
232
|
0 |
Yes |
shoot |
264
|
0 |
Yes |
stir_wumpus |