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 | 142 | 370 | if ($rot == 1) { } |
111 | 259 | elsif ($rot == 2) { } | |
114 | 145 | elsif ($rot == 3) { } | |
142 | 1385 | 1171 | if ($y >= ($x > 0)) |
148 | 1546 | 1010 | if ($x > 0) |
193 | 510 | 2 | $x1 < 0 == $x2 < 0 ? : |
194 | 511 | 1 | $y1 < 0 == $y2 < 0 ? : |