Branch Coverage

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


line true false branch
39 9 19 unless exists $goto->{$item}
40 1 18 unless ref $goto->{$item} eq "HASH"
41 13 5 unless $goto->{$item}{$state}
62 0 41 unless (grep {$_ eq $args{'name'};} $class->_names)
66 0 41 unless (grep {$_ eq $args{'state'};} $class->_states)
94 0 19 if ($plumber->state eq "dead")
99 0 19 unless (grep {$_ eq $item;} $plumber->_items)
106 13 6 if $goto
126 5 4 if $goto
157 5 1 if $plumber->state eq "normal"