blib/lib/Math/PlanePath/Flowsnake.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 7 | 9 | 77.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
279 | 2 | 0 | 108 | defined($n = $self->SUPER::xy_to_n($x + $attempt_dx[$i], $y + $attempt_dy[$i])) and ($cx, $cy) = $self->n_to_xy($n) |
2 | 46 | 62 | defined($n = $self->SUPER::xy_to_n($x + $attempt_dx[$i], $y + $attempt_dy[$i])) and ($cx, $cy) = $self->n_to_xy($n) and $x == $cx | |
46 | 0 | 62 | defined($n = $self->SUPER::xy_to_n($x + $attempt_dx[$i], $y + $attempt_dy[$i])) and ($cx, $cy) = $self->n_to_xy($n) and $x == $cx and $y == $cy |