Branch Coverage

blib/lib/Math/PlanePath/QuadricCurve.pm
Criterion Covered Total %
branch 42 54 77.7


line true false branch
61 0 1014 if ($n < 0)
62 0 1014 if (is_infinite($n))
76 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) { }
141 265 5353 if ($x < 0)
148 0 5353 if (is_infinite($level))
165 367 8389 if (&$diamond_p()) { }
170 1295 7094 if (&$diamond_p()) { }
176 1060 6034 if (&$diamond_p()) { }
182 268 5766 if (&$diamond_p()) { }
188 360 5406 if (&$diamond_p()) { }
194 148 5258 if (&$diamond_p()) { }
200 305 4953 if (&$diamond_p()) { }
206 201 4752 if (&$diamond_p()) { }
223 0 601 if ($x != 0 or $y != 0)
239 0 1 if ($x2 < $x1)
242 0 1 if ($x2 < 0)
247 0 1 if ($y2 < $y1)
265 0 0 if ($n < 0)
266 0 0 if (is_infinite($n))
280 998 140 if (my $digit = _divrem_mutate($n, 8))