Branch Coverage

blib/lib/Math/PlanePath/HexSpiralSkewed.pm
Criterion Covered Total %
branch 16 24 66.6


line true false branch
81 3 2 unless (defined $self->{'n_start'})
96 0 46 if ($n < 0)
113 22 24 if ($n <= $d + 1 + $w)
119 4 20 if ($n <= $d)
125 6 14 if ($n <= $d + 1)
132 6 8 if ($n <= $d + $w)
138 6 2 if ($n <= $d)
160 0 4 if ($y > 0) { }
162 0 0 if ($x < -$y - $w) { }
183 2 2 if ($x - $w <= -$y) { }
220 0 0 if ($x >= $w)
224 0 0 $y > 0 == $x > 0 ? :