blib/lib/Math/PlanePath/TheodorusSpiral.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 13 | 20 | 65.0 |
line | true | false | branch |
---|---|---|---|
95 | 0 | 10 | if ($n < 0) |
115 | 0 | 10 | if ($n < 0) |
116 | 0 | 10 | if (is_infinite($n)) |
118 | 2 | 8 | if ($n < 1) |
130 | 2 | 6 | if ($i > $n) |
132 | 2 | 3 | if ($save_n[$pos] <= $n) |
147 | 2 | 3110 | if ($i == $next_save) |
164 | 3 | 5 | if ($frac) { } |
183 | 0 | 0 | if (is_infinite($n_lo) or is_infinite($n_hi)) |
195 | 0 | 0 | if (&hypot($x - $nx, $y - $ny) <= 0.5) |