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