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