blib/lib/Math/PlanePath/QuadricCurve.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 43 | 56 | 76.7 |
line | true | false | branch |
---|---|---|---|
64 | 0 | 1014 | if ($n < 0) |
65 | 0 | 1014 | if (is_infinite($n)) |
79 | 308 | 3128 | if ($digit == 0) { } |
869 | 2259 | elsif ($digit == 1) { } | |
381 | 1878 | elsif ($digit == 2) { } | |
381 | 1497 | elsif ($digit == 3) { } | |
381 | 1116 | elsif ($digit == 4) { } | |
373 | 743 | elsif ($digit == 5) { } | |
373 | 370 | elsif ($digit == 6) { } | |
370 | 0 | elsif ($digit == 7) { } | |
144 | 265 | 5353 | if ($x < 0) |
151 | 0 | 5353 | if (is_infinite($level)) |
168 | 367 | 8389 | if (&$diamond_p()) { } |
173 | 1295 | 7094 | if (&$diamond_p()) { } |
179 | 1060 | 6034 | if (&$diamond_p()) { } |
185 | 268 | 5766 | if (&$diamond_p()) { } |
191 | 360 | 5406 | if (&$diamond_p()) { } |
197 | 148 | 5258 | if (&$diamond_p()) { } |
203 | 305 | 4953 | if (&$diamond_p()) { } |
209 | 201 | 4752 | if (&$diamond_p()) { } |
226 | 0 | 601 | if ($x != 0 or $y != 0) |
242 | 0 | 1 | if ($x2 < $x1) |
245 | 0 | 1 | if ($x2 < 0) |
250 | 0 | 1 | if ($y2 < $y1) |
268 | 0 | 0 | if ($n < 0) |
269 | 0 | 0 | if (is_infinite($n)) |
282 | 0 | 998 | if ($n < 1 or is_infinite($n)) |
284 | 998 | 140 | if (my $digit = _divrem_mutate($n, 8)) |