Branch Coverage

blib/lib/Games/Nintendo/Mario/Hearts.pm
Criterion Covered Total %
branch 4 6 66.6


line true false branch
30 2 0 if ($item eq 'heart' and $plumber->hearts and $plumber->hearts < $plumber->max_hearts)
40 4 0 if ($self->hearts)
41 2 2 unless --$hearts{$self}