Mario/SMBTLL.pm

filter: Statementstmt 92.8% 13 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 83.3% 5 / 6 Podpod 100% 1 / 1 totaltotal 90.4% 19 / 21 SCAR 0.0
CC
1
Cov
93%
games
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Mario/NSMB/Wii.pm ↑ Summary Mario/SMB.pm »
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::SMBTLL 0.208;
4  
5 2 ▶use parent qw(Games::Nintendo::Mario::SMB);
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 5 ▶sub _items { qw[mushroom flower poison_mushroom] }
Subroutine _items: called CC=1 SCAR=0.0
8  
9 sub _goto_hash {
10 6 ▶ my ($self) = @_;
Subroutine _goto_hash: called CC=1 SCAR=0.0
11  
12 6 my $goto_hash = $self->SUPER::_goto_hash;
13  
14 return {
15 %$goto_hash,
16 poison_mushroom => $goto_hash->{damage}
17 }
18 6 }
19  
20 sub games {
21 return (
22 0 ▶ 'Super Mario Bros.: The Lost Levels',
Subroutine games: not called CC=1 SCAR=6.9
Pod documented
23 # 'Super Mario Bros. 2: For Super Players',
24 );
25 }
26  
27 2 "It's-a me! Mario!";
28  
29 __END__
« Mario/NSMB/Wii.pm ↑ Summary Mario/SMB.pm »