line |
true |
false |
branch |
73
|
0 |
0 |
$self->{'direction'} eq 'down' ? : |
77
|
0 |
0 |
$self->{'direction'} eq 'down' ? : |
84
|
0 |
0 |
$self->{'direction'} eq 'down' ? : |
90
|
0 |
0 |
$self->{'direction'} eq 'down' ? : |
100
|
1 |
1 |
unless (defined $self->{'n_start'}) |
104
|
0 |
2 |
unless ($direction eq 'up' or $direction eq 'down') |
115
|
0 |
21 |
if (2 * ($n - $self->{'n_start'}) < -1) |
119
|
0 |
21 |
unless my($x, $y) = $self->Math::PlanePath::CoprimeColumns::n_to_xy($n + 1) |
134
|
0 |
0 |
if ($x < 1 or $y < 1 or not _coprime($x, $y)) |
149
|
2028 |
3618 |
if (defined $n and $n > $self->{'n_start'}) { } |
165
|
1 |
22 |
if $x1 > $x2 |
166
|
0 |
23 |
if $y1 > $y2 |
168
|
0 |
23 |
if ($x2 < 1 or $y2 < 1) |
176
|
0 |
23 |
if (is_infinite($d2)) |