blib/lib/Math/PlanePath/AlternatePaper.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 59 | 116 | 50.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
314 | 49 | 0 | 8 | $x == $len and $y == $len |
327 | 130 | 69 | 39 | $x == $len && $y == $len |
74 | 39 | 199 | $x + $y <= 2 * $len and not $x == $len && $y == $len | |
180 | 0 | 19 | $x == 2 * $len && $y == 0 | |
113 | 19 | 180 | $x + $y <= 2 * $len and not $x == $len && $y == $len and not $x == 2 * $len && $y == 0 | |
341 | 69 | 6 | 19 | $x == 2 * $len && $y == $len |
38 | 19 | 75 | $y >= $len and not $x == 2 * $len && $y == $len | |
358 | 73 | 23 | 8 | $big_x == $len && $big_y == $len |
65 | 8 | 96 | $big_x + $big_y <= 2 * $len and not $big_x == $len && $big_y == $len | |
77 | 0 | 19 | $big_x == 2 * $len && $big_y == 0 | |
73 | 19 | 77 | $big_x + $big_y <= 2 * $len and not $big_x == $len && $big_y == $len and not $big_x == 2 * $len && $big_y == 0 | |
372 | 32 | 5 | 20 | $big_x == 2 * $len && $big_y == $len |
35 | 20 | 37 | $big_y >= $len and not $big_x == 2 * $len && $big_y == $len | |
397 | 41 | 0 | 39 | $big_x == $len and $big_y == $len |
443 | 35 | 5 | 0 | $arms == 1 and $y1 > $x2 |
30 | 10 | 0 | $arms <= 2 and $x2 < 0 | |
20 | 20 | 0 | $arms <= 4 and $y2 < 0 | |
775 | 0 | 0 | 0 | $arm == 7 and $n > 0 |
789 | 0 | 0 | 0 | $self->{'arms'} >= 8 and $n == 15 |
834 | 0 | 0 | 0 | $n == 1 and $arms >= 4 |
0 | 0 | 0 | $n == 3 and $arms >= 5 | |
0 | 0 | 0 | $n == 5 and $arms == 7 |
line | l | !l | condition |
---|---|---|---|
113 | 33 | 4 | $self->{'arms'} || 1 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
276 | 85 | 97 | 162 | $y < 0 or $y > $x |
182 | 0 | 162 | $y < 0 or $y > $x or $x < 0 | |
314 | 27 | 8 | 49 | $y > $len or $x == $len and $y == $len |
397 | 21 | 39 | 41 | $big_y > $len or $big_x == $len and $big_y == $len |
443 | 0 | 0 | 40 | $arms == 1 and $y1 > $x2 or $arms <= 2 and $x2 < 0 |
0 | 0 | 40 | $arms == 1 and $y1 > $x2 or $arms <= 2 and $x2 < 0 or $arms <= 4 and $y2 < 0 | |
762 | 0 | 0 | 0 | not $n >= 0 or is_infinite($n) |
775 | 0 | 0 | 0 | $arm == 0 or $arm == 7 and $n > 0 |
786 | 0 | 0 | 0 | not $n >= 0 or is_infinite($n) |
800 | 0 | 0 | 0 | $self->{'arms'} >= 8 or not $n >= 0 |
0 | 0 | 0 | $self->{'arms'} >= 8 or not $n >= 0 or is_infinite($n) | |
827 | 0 | 0 | 0 | $arms >= 8 or not $n >= 0 |
0 | 0 | 0 | $arms >= 8 or not $n >= 0 or is_infinite($n) | |
834 | 0 | 0 | 0 | $n == 1 and $arms >= 4 or $n == 3 and $arms >= 5 |
0 | 0 | 0 | $n == 1 and $arms >= 4 or $n == 3 and $arms >= 5 or $n == 5 and $arms == 7 | |
869 | 0 | 0 | 0 | $digit == 1 or $digit == 3 |