blib/lib/Math/PlanePath/DivisibleColumns.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 7 | 39 | 17.9 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
257 | 0 | 0 | 0 | $y >= 1 && ($self->{'proper'} ? $x >= 2 && $y <= int $x / 2 : $x >= 1 && $y <= $x) && $x % $y == 0 |
line | l | !l | condition |
---|---|---|---|
109 | 0 | 4 | $self->{'divisor_type'} ||= 'all' |
112 | 0 | 4 | $self->{'direction'} ||= 'up' |
177 | 0 | 0 | $self->{'proper'} || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
274 | 0 | 0 | 0 | $x < 2 or $y < 1 |
0 | 0 | 0 | $x < 2 or $y < 1 or $y > int $x / 2 | |
0 | 0 | 0 | $x < 2 or $y < 1 or $y > int $x / 2 or $x % $y | |
281 | 0 | 0 | 400 | $x < 1 or $y < 1 |
0 | 0 | 400 | $x < 1 or $y < 1 or $y > $x | |
0 | 0 | 400 | $x < 1 or $y < 1 or $y > $x or $x % $y | |
323 | 0 | 0 | 0 | $x2 < 2 or $y2 < 1 |
0 | 0 | 0 | $x2 < 2 or $y2 < 1 or 2 * $y1 > $x2 | |
331 | 0 | 0 | 200 | $x2 < 1 or $y2 < 1 |
0 | 0 | 200 | $x2 < 1 or $y2 < 1 or $y1 > $x2 |