blib/lib/Math/PlanePath/DiamondArms.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 15 | 16 | 93.7 |
line | true | false | branch |
---|---|---|---|
89 | 0 | 512 | if ($n < 1) |
124 | 145 | 367 | if ($rot == 1) { } |
116 | 251 | elsif ($rot == 2) { } | |
105 | 146 | elsif ($rot == 3) { } | |
142 | 1385 | 1171 | if ($y >= ($x > 0)) |
148 | 1536 | 1020 | if ($x > 0) |
193 | 510 | 2 | $x1 < 0 == $x2 < 0 ? : |
194 | 511 | 1 | $y1 < 0 == $y2 < 0 ? : |