blib/lib/Games/Wumpus/Room.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
subroutine | 19 | 19 | 100.0 |
pod | 13 | 13 | 100.0 |
line | count | pod | subroutine |
---|---|---|---|
3 | 5 | n/a | BEGIN |
5 | 5 | n/a | BEGIN |
6 | 5 | n/a | BEGIN |
7 | 5 | n/a | BEGIN |
15 | 5 | n/a | BEGIN |
16 | 5 | n/a | BEGIN |
22 | 41 | Yes | new |
25 | 41 | Yes | init |
36 | 41 | Yes | set_name |
37 | 377 | Yes | name |
39 | 16 | Yes | set_hazard |
40 | 26 | Yes | hazards |
41 | 1 | Yes | clear_hazard |
42 | 21 | Yes | clear_hazards |
43 | 30 | Yes | has_hazard |
45 | 122 | Yes | add_exit |
46 | 102 | Yes | exits |
48 | 63 | Yes | exit_by_name |
59 | 12 | Yes | near_hazard |