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 138 0 5955 defined($n = $self->SUPER::xy_to_n($x + $attempt_x[$i], $y + $attempt_y[$i])) and ($cx, $cy) = $self->n_to_xy($n)
138 2230 3725 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
2230 1163 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