| blib/lib/Game/TileMap.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 8 | 12 | 66.6 |
| line | true | false | branch |
|---|---|---|---|
| 60 | 3 | 0 | if ($args->{'map'}) |
| 62 | 3 | 0 | unless ref $args->{'map'} |
| 65 | 0 | 3 | if ref $args->{'map'} eq "ARRAY" |
| 106 | 0 | 22 | if @{$map[$line];} != $map_size[0] |
| 147 | 3 | 2 | if ($mark_positions) |
| 158 | 5 | 469 | $obj eq $mark ? : |