Branch Coverage

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


line true false branch
114 0 0 $self->{'wider'} ? :
129 57 0 unless (defined $self->{'n_start'})
144 1 100 if (2 * $n < 1)
195 63 37 if ($n < 0) { }
212 0 392 if ($x < 0 or $y < 0)
218 298 94 if ($y >= $xw) { }
246 0 146 if ($x1 > $x2)
247 0 146 if ($y1 > $y2)
249 0 146 if ($y2 < 0 or $x2 < 0)
253 0 146 if ($x1 < 0)
254 0 146 if ($y1 < 0)
260 52 94 if ($y1 <= $xw)
264 25 27 $y2 < $xw ? :
297 59 87 if ($y2 <= $x2 - $wider)
331 0 36 if ($n < 1)
336 4 32 if ($n <= $wider)
348 17 15 if ($n > $d * ($d + 1 + $wider) + $wider)