| blib/lib/Math/PlanePath/DiagonalRationals.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 6 | 17 | 35.2 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 149 | 3617 | 1 | 2028 | defined $n and $n > $self->{'n_start'} |
| line | l | !l | condition |
|---|---|---|---|
| 103 | 0 | 2 | $self->{'direction'} ||= 'down' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 104 | 0 | 2 | 0 | $direction eq 'up' or $direction eq 'down' |
| 134 | 0 | 0 | 0 | $x < 1 or $y < 1 |
| 0 | 0 | 0 | $x < 1 or $y < 1 or not _coprime($x, $y) | |
| 168 | 0 | 0 | 23 | $x2 < 1 or $y2 < 1 |