Branch Coverage

blib/lib/Games/Nintendo/Mario.pm
Criterion Covered Total %
branch 16 20 80.0


line true false branch
47 9 19 unless exists $$goto{$item}
48 1 18 unless ref $$goto{$item} eq 'HASH'
49 13 5 unless $$goto{$item}{$state}
72 0 41 unless (grep {$_ eq $args{'name'};} $class->_names)
76 0 41 unless (grep {$_ eq $args{'state'};} $class->_states)
104 0 19 if ($plumber->state eq 'dead')
109 0 19 unless (grep {$_ eq $item;} $plumber->_items)
116 13 6 if $goto
136 5 4 if $goto
167 5 1 if $plumber->state eq 'normal'