blib/lib/Game/LevelMap.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 15 | 20 | 75.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
46 | 5 | 2 | 0 | exists $args->{'level'} and exists $args->{'from_string'} |
line | l | !l | condition |
---|---|---|---|
86 | 2 | 4 | $_[6] // sub { return ' '; } |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
90 | 0 | 1 | 5 | $x < 0 or $x > $map_cols |
91 | 1 | 0 | 4 | $y < 0 or $y > $map_rows |
98 | 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 |