Condition Coverage

blib/lib/Math/PlanePath/QuintetCurve.pm
Criterion Covered Total %
condition 12 15 80.0


and 3 conditions

line !l l&&!r l&&r condition
237 139 0 5949 defined($n = $self->SUPER::xy_to_n($x + $attempt_x[$i], $y + $attempt_y[$i])) and ($cx, $cy) = $self->n_to_xy($n)
139 2223 3726 defined($n = $self->SUPER::xy_to_n($x + $attempt_x[$i], $y + $attempt_y[$i])) and ($cx, $cy) = $self->n_to_xy($n) and $x == $cx
2223 1164 2562 defined($n = $self->SUPER::xy_to_n($x + $attempt_x[$i], $y + $attempt_y[$i])) and ($cx, $cy) = $self->n_to_xy($n) and $x == $cx and $y == $cy

or 3 conditions

line l !l&&r !l&&!r condition
295 0 0 998 $n < 1 or is_infinite($n)
310 262 235 501 $non_two == 1 || $non_two == 4