blib/lib/Math/PlanePath/TheodorusSpiral.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 13 | 20 | 65.0 |
line | true | false | branch |
---|---|---|---|
100 | 0 | 10 | if ($n < 0) |
120 | 0 | 10 | if ($n < 0) |
121 | 0 | 10 | if (is_infinite($n)) |
123 | 2 | 8 | if ($n < 1) |
135 | 2 | 6 | if ($i > $n) |
137 | 2 | 3 | if ($save_n[$pos] <= $n) |
152 | 2 | 3110 | if ($i == $next_save) |
169 | 3 | 5 | if ($frac) { } |
188 | 0 | 0 | if (is_infinite($n_lo) or is_infinite($n_hi)) |
200 | 0 | 0 | if (&hypot($x - $nx, $y - $ny) <= 0.5) |