blib/lib/Math/PlanePath/AztecDiamondRings.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 29 | 30 | 96.6 |
line | true | false | branch |
---|---|---|---|
84 | 5 | 1 | unless (defined $self->{'n_start'}) |
110 | 0 | 115 | if ($n < 0) |
115 | 82 | 33 | if ($n < 0) { } |
117 | 40 | 42 | if ($n < -$d) { } |
128 | 17 | 16 | if ($n < $d) { } |
148 | 31 | 21 | if ($x >= 0) |
152 | 14 | 7 | if ($y >= 0) { } |
197 | 5 | 17 | if $x1 > $x2 |
198 | 2 | 20 | if $y1 > $y2 |
201 | 3 | 14 | $y1 > 0 ? : |
5 | 17 | $y2 < 0 ? : | |
204 | 4 | 18 | if ($x2 < $min_x) { } |
3 | 15 | elsif ($x1 > $min_x) { } | |
207 | 15 | 7 | $y2 >= -$y1 ? : |
208 | 13 | 9 | $x2 >= -$x1 - ($max_y < 0) ? : |