Branch Coverage

blib/lib/Game/LevelMap.pm
Criterion Covered Total %
branch 14 14 100.0


line true false branch
46 1 2 if exists $args->{'level'} and exists $args->{'from_string'}
47 4 3 if exists $args->{'from_string'}
69 18 5 if (defined $cols) { }
70 1 17 if ($cols != $newcols)
90 2 6 if $x < 0 or $x > $map_cols
91 2 4 if $y < 0 or $y > $map_rows
99 26 26 if ($c < 0 or $c > $map_cols or $r < 0 or $r > $map_rows) { }