Branch Coverage

blib/lib/Math/PlanePath/FilledRings.pm
Criterion Covered Total %
branch 34 56 60.7


line true false branch
161 3 0 unless (defined $self->{'n_start'})
191 5 22 if ($n <= 1)
192 0 5 if ($n < 0) { }
198 0 22 if (is_infinite($n))
205 6 16 if ($n != $int)
209 3 3 if ($y2 == 0 and $x2 > 0)
221 4 28 if ($r > $#$cumul)
224 16 16 if ($cumul->[$r] > $n)
248 3 13 if ($rev = $n > $len / 2)
267 0 10 if ($x * $x + $y * $y > $rhi)
274 10 0 if $n <= 0
276 0 0 if (($x - 1) * ($x - 1) + $y * $y >= $rlo)
280 0 0 if $n <= 0
288 3 13 if ($rev)
291 4 12 if ($quadrant & 2)
295 8 8 if ($quadrant & 1)
317 1 6 if ($x == 0 and $y == 0)
323 0 6 if (is_infinite($r))
339 1 5 if ($y < 0)
346 2 4 if ($x < 0)
357 0 6 if ($rev = $x < $y)
375 0 3 if ($tx * $tx + $ty * $ty > $rhi)
382 3 0 if $x == $tx and $y == $ty
384 0 0 if (($tx - 1) * ($tx - 1) + $ty * $ty >= $rlo)
388 0 0 if $y == $ty
393 0 6 if ($rev) { }
408 0 0 if ($x1 >= 1)
409 0 0 if ($y1 >= 1)