Branch Coverage

blib/lib/Game/LevelMap.pm
Criterion Covered Total %
branch 15 16 93.7


line true false branch
46 0 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 1 5 if $x < 0 or $x > $map_cols
91 1 4 if $y < 0 or $y > $map_rows
98 26 26 if ($c < 0 or $c > $map_cols or $r < 0 or $r > $map_rows) { }
120 1 1 if (@_) { }