Condition Coverage

blib/lib/Game/LevelMap.pm
Criterion Covered Total %
condition 18 20 90.0


and 3 conditions

line !l l&&!r l&&r condition
46 5 2 1 exists $args->{'level'} and exists $args->{'from_string'}

or 2 conditions

line l !l condition
86 2 6 $_[6] // sub { return ' '; }

or 3 conditions

line l !l&&r !l&&!r condition
90 1 1 6 $x < 0 or $x > $map_cols
91 1 1 4 $y < 0 or $y > $map_rows
99 16 0 36 $c < 0 or $c > $map_cols
16 10 26 $c < 0 or $c > $map_cols or $r < 0
10 0 26 $c < 0 or $c > $map_cols or $r < 0 or $r > $map_rows