Condition Coverage

blib/lib/Games/Nintendo/Mario/Hearts.pm
Criterion Covered Total %
condition 6 9 66.6


and 3 conditions

line !l l&&!r l&&r condition
30 3 0 2 $item eq 'heart' and $plumber->hearts
3 0 2 $item eq 'heart' and $plumber->hearts and $plumber->hearts < $plumber->max_hearts

or 3 conditions

line l !l&&r !l&&!r condition
22 38 3 0 $hearts{$self} //= $self->__default_hearts