| line |
true |
false |
branch |
|
189
|
1 |
1 |
if ($type eq 'hex') { } |
|
354
|
0 |
0 |
if (($x, $y, $text) = /^(\d\d)(\d\d)\s+(.*)/u) { } |
|
|
0 |
0 |
elsif (($points, $text) = /^(-?\d\d-?\d\d(?:--?\d\d-?\d\d)+)\s+(.*)/u) { } |
|
355
|
0 |
0 |
if not defined $minx or $x < $minx |
|
356
|
0 |
0 |
if not defined $miny or $y < $miny |
|
357
|
0 |
0 |
if not defined $maxx or $x > $maxx |
|
358
|
0 |
0 |
if not defined $maxy or $y > $maxy |
|
360
|
0 |
0 |
if $empty |
|
380
|
0 |
0 |
if (ref $_) { } |
|
382
|
0 |
0 |
if (ref $it eq 'Game::TextMapper::Point') { } |
|
383
|
0 |
0 |
if ($it->x <= $maxx and $it->x >= $minx and $it->y <= $maxy and $it->y >= $miny) |
|
389
|
0 |
0 |
if $_->x <= $maxx and $_->x >= $minx and $_->y <= $maxy |
|
392
|
0 |
0 |
unless $outside |
|
400
|
0 |
0 |
if ($empty) |
|
404
|
0 |
0 |
unless ($seen{$point->coordinates}) |
|
412
|
0 |
0 |
unless ref $b cmp ref $a or not ref $a || ref $b and $a cmp $b or ref $Game::TextMapper::b->[0] cmp ref $Game::TextMapper::a->[0] or ref $Game::TextMapper::a->[0] eq "Game::TextMapper::Point" and $Game::TextMapper::a->[0]->cmp($Game::TextMapper::b->[0]) or ref $Game::TextMapper::a->[0] eq "Game::TextMapper::Line" and $Game::TextMapper::a->[0]->points->[0]->cmp($Game::TextMapper::b->[0]->points->[0]) || $Game::TextMapper::a->[0]->points->[1]->cmp($Game::TextMapper::b->[0]->points->[1]) |
|
429
|
0 |
0 |
if (ref $_) { } |
|
431
|
0 |
0 |
if (ref $it eq 'Game::TextMapper::Point') { } |
|
468
|
1 |
1 |
if ($type eq 'hex') { } |
|
521
|
0 |
0 |
if ($type eq 'hex') { } |