Branch Coverage

blib/lib/Math/PlanePath/Corner.pm
Criterion Covered Total %
branch 24 34 70.5


line true false branch
110 0 0 $self->{'wider'} ? :
125 57 0 unless (defined $self->{'n_start'})
140 1 100 if (2 * $n < 1)
191 66 34 if ($n < 0) { }
208 0 392 if ($x < 0 or $y < 0)
214 319 73 if ($y >= $xw) { }
242 0 146 if ($x1 > $x2)
243 0 146 if ($y1 > $y2)
245 0 146 if ($y2 < 0 or $x2 < 0)
249 0 146 if ($x1 < 0)
250 0 146 if ($y1 < 0)
256 49 97 if ($y1 <= $xw)
260 18 31 $y2 < $xw ? :
293 56 90 if ($y2 <= $x2 - $wider)
327 0 36 if ($n < 1)
332 4 32 if ($n <= $wider)
344 17 15 if ($n > $d * ($d + 1 + $wider) + $wider)