Branch Coverage

blib/lib/Math/PlanePath/AnvilSpiral.pm
Criterion Covered Total %
branch 33 36 91.6


line true false branch
72 0 0 $self->{'wider'} ? :
107 8 12 unless (defined $self->{'n_start'})
160 0 9234 if ($n < 0)
168 114 9120 if ($n <= $w)
185 4268 4852 if ($n <= 5 * $d + $w - 2)
186 874 3394 if ($n + 1 <= $d) { }
198 1320 3532 if ($n <= 0)
205 2944 588 if ($n < 0) { }
231 1327 7907 if ($x - $w_right >= 2 * $abs_y)
239 1178 6729 if ($x + $w_left < -2 * $abs_y)
247 3547 3182 if ($y > 0) { }
330 7598 10870 if ($x1 < 0)
331 3799 14669 if ($x2 < 0)
335 8106 10362 if $x1 > $x2
336 8839 9629 if $y1 > $y2
338 4621 13847 if ($x_zero)
339 4186 14282 if ($y_zero)
369 12933 5535 $d1 <= 0 ? :