Mario/SMB3.pm

filter: Statementstmt 92.8% 13 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 87.5% 7 / 8 Podpod 100% 1 / 1 totaltotal 91.3% 21 / 23 SCAR 0.0
CC
1
Cov
93%
games
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Mario/SMB.pm ↑ Summary
1 2 ▶use 5.16.0;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 package Games::Nintendo::Mario::SMB3 0.208;
4  
5 2 ▶use parent qw(Games::Nintendo::Mario);
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 1 ▶sub _names { qw[Mario Luigi] }
Subroutine _names: called CC=1 SCAR=0.0
8 1 ▶sub _states { qw[normal super fire raccoon tanooki frog hammer pwing] }
Subroutine _states: called CC=1 SCAR=0.0
9 2 ▶sub _items { qw[mushroom flower leaf tanookisuit frogsuit hammersuit pwing] }
Subroutine _items: called CC=1 SCAR=0.0
10  
11 sub _goto_hash {
12 {
13 3 ▶ damage => {
Subroutine _goto_hash: called CC=1 SCAR=0.0
14 normal => 'dead',
15 super => 'normal',
16 _else => 'super'
17 },
18 mushroom => {
19 normal => 'super'
20 },
21 flower => 'fire',
22 leaf => 'raccoon',
23 tanookisuit => 'tanooki',
24 hammersuit => 'hammer',
25 frogsuit => 'frog',
26 pwing => 'pwing'
27 }
28 }
29  
30 sub games {
31 0 ▶ return ('Super Mario Bros. 3');
Subroutine games: not called CC=1 SCAR=6.9
Pod documented
32 }
33  
34 2 "It's-a me! Mario!";
35  
36 __END__
« Mario/SMB.pm ↑ Summary