line |
true |
false |
branch |
95
|
10 |
3 |
if ($wrong) |
124
|
0 |
0 |
if ($map->is_lose or $map->is_win) |
125
|
0 |
0 |
if $map->is_win |
145
|
1 |
12 |
unless (defined $$input{'timelimit'}) |
149
|
1 |
11 |
unless (defined $$input{'map_string'}) |
153
|
2 |
9 |
if ($$input{'timelimit'} <= 0) |
157
|
1 |
8 |
unless ($$input{'map_string'} =~ qr/\./m) |
161
|
1 |
7 |
if ($$input{'map_string'} =~ qr/[^#VHLRJ\@.\s]/m) |
167
|
2 |
5 |
if ($match_num != 1) |
183
|
6 |
49 |
if $w != scalar @$_ |
189
|
1 |
71 |
if $map[0][$_] . $map[$h - 1][$_] ne '##' |
193
|
5 |
50 |
if $map[$_][0] . $map[$_][$w - 1] ne '##' |
196
|
1 |
4 |
unless ($width_valid) |
200
|
1 |
3 |
unless ($surface_valid) |