blib/lib/Math/PlanePath/HexArms.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 20 | 22 | 90.9 |
line | true | false | branch |
---|---|---|---|
86 | 2 | 22 | if ($n < 2) |
87 | 0 | 2 | if ($n < 1) |
118 | 11 | 11 | if ($rot >= 3) |
123 | 8 | 14 | if ($rot == 0) { } |
6 | 8 | elsif ($rot == 1) { } | |
140 | 0 | 19 | if (($x ^ $y) & 1) |
143 | 1 | 18 | if ($x == 0 and $y == 0) |
149 | 9 | 9 | if ($x < (0 <=> $y) - $y) |
155 | 6 | 12 | if ($x < $y) { } |
6 | 6 | elsif ($y > 0) { } | |
222 | 13 | 11 | $y >= $x ? : |