Branch Coverage

blib/lib/Math/PlanePath/TriangleSpiral.pm
Criterion Covered Total %
branch 1 12 8.3


line true false branch
75 1 0 unless (defined $self->{'n_start'})
109 0 0 if ($n < 0)
117 0 0 if ($n <= 3 * $d) { }
140 0 0 if (($x ^ $y) & 1)
144 0 0 if ($y < 0 and 3 * $y <= $x and $x <= -3 * $y) { }
184 0 0 $y < 0 && 3 * $y <= $x && $x <= -3 * $y ? :