Condition Coverage

blib/lib/Math/PlanePath/PeanoCurve.pm
Criterion Covered Total %
condition 22 28 78.5


and 3 conditions

line !l l&&!r l&&r condition
231 792 55 6 $offset_xk and ($x -= $offset_xk) < 0
790 52 5 $offset_yk and ($y -= $offset_yk) < 0
268 41 14 787 (!defined($offset_xk) || ($xk & 1) == $offset_xk) && (!defined($offset_yk) || ($yk & 1) == $offset_yk)
338 1 0 4 $c + $digit * $power <= $c2 && $c + ($digit + 1) * $power > $c1

or 2 conditions

line l !l condition
250 3011 1148 $y[$i] || 0
258 3009 1150 $x[$i] || 0

or 3 conditions

line l !l&&r !l&&!r condition
155 7 0 4 not $self->{'radix'} or $self->{'radix'} < 2
231 6 12 835 $offset_xk and ($x -= $offset_xk) < 0 or $offset_yk and ($y -= $offset_yk) < 0
282 0 0 731 $x < 0 or $y < 0
301 0 0 1 $x2 < 0 or $y2 < 0