| blib/lib/Math/PlanePath/MultipleRings.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 27 | 41 | 65.8 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 558 | 63 | 0 | 20 | $step > 1 && 0.5 / sin(3.1415926535897931 / $step) |
| 716 | 64 | 37 | 19 | $numsides % 4 == 0 and 8 * $n >= $numsides |
| 910 | 0 | 14 | 12 | $n >= 4 and $n < 7 |
| 932 | 0 | 6 | 8 | $n >= 7 and $n < 11 |
| 947 | 0 | 0 | 6 | $n >= 16 and $n < 22 |
| 1291 | 46 | 21 | 53 | $x == 0 and $y == 0 |
| line | l | !l | condition |
|---|---|---|---|
| 523 | 4 | 142 | $self->{'ring_shape'} ||= 'circle' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 224 | 0 | 0 | 0 | $step >= 6 or $self->{'ring_shape'} eq 'polygon' |
| 524 | 142 | 4 | 0 | $ring_shape eq 'circle' or $ring_shape eq 'polygon' |
| 733 | 10 | 0 | 12 | 4 * $side == $numsides + 2 or 4 * $side == 3 * $numsides - 2 |
| 1013 | 2 | 0 | 39 | $two_n == 9 or $two_n == 11 |
| 2 | 0 | 39 | $two_n == 9 or $two_n == 11 or $two_n == 13 | |
| 1024 | 16 | 6 | 0 | $self->{'ring_shape'} eq 'circle' or $n <= 6 |
| 1197 | 11 | 0 | 11 | $x1 < 0 != $x2 < 0 || $y1 < 0 != $y2 < 0 |