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 | 151 | 361 | if ($rot == 1) { } |
104 | 257 | elsif ($rot == 2) { } | |
104 | 153 | elsif ($rot == 3) { } | |
142 | 1275 | 1281 | if ($y >= ($x > 0)) |
148 | 1516 | 1040 | if ($x > 0) |
193 | 510 | 2 | $x1 < 0 == $x2 < 0 ? : |
194 | 511 | 1 | $y1 < 0 == $y2 < 0 ? : |