blib/lib/Math/PlanePath/TerdragonMidpoint.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 30 | 26.6 |
line | true | false | branch |
---|---|---|---|
79 | 0 | 0 | $self->arms_count < 2 ? : |
87 | 0 | 0 | $self->{'arms'} == 1 ? : |
94 | 0 | 0 | $self->{'arms'} == 1 ? : |
122 | 0 | 0 | $self->{'arms'} == 1 ? : |
152 | 0 | 0 | if ($n < 0) |
153 | 0 | 0 | if (is_infinite($n)) |
157 | 0 | 0 | if ($n != $int) |
397 | 0 | 18 | if (is_infinite($x)) |
400 | 0 | 18 | if (is_infinite($y)) |
411 | 12 | 6 | unless (defined $dx) |
424 | 6 | 0 | if $x <= 3 and $x >= -3 and $y <= 2 and $y >= -2 |
440 | 3 | 3 | if ($arm >= $arms_count) |
443 | 0 | 3 | if ($arm & 1) |
478 | 0 | 0 | if ($n < 0) |
479 | 0 | 0 | if (is_infinite($n)) |