Condition Coverage

blib/lib/Math/PlanePath/SierpinskiCurve.pm
Criterion Covered Total %
condition 27 35 77.1


and 3 conditions

line !l l&&!r l&&r condition
372 0 0 0 _rect_within_arms($x, $y, $x, $y, $self->{'arms'}) && $x % $mod + $y % $mod & 1
411 1 121 0 $y2 >= 0 && ($arms <= 2 ? $arms == 1 ? $x2 > $y1 : $x2 >= 0 : $arms == 4 || $x2 >= -$y2)
519 19493 8030 1797 $y == 0 and $x == 0
22655 3106 1762 $x == $d and $y == $d
20282 3870 1609 $x == $d + $s and $y == $d
21788 1086 1278 $x == $base and $y == 0

or 2 conditions

line l !l condition
200 251 5 $self->{'arms'} || 1
201 160 96 $self->{'straight_spacing'} ||= 1
202 160 96 $self->{'diagonal_spacing'} ||= 1
466 28789 907 ($x + $y) / $base || 1

or 3 conditions

line l !l&&r !l&&!r condition
318 0 0 0 $n or $lowbit
411 146 0 95 $y2 >= 0 || ($arms <= 6 ? $arms == 5 ? $x1 < $y2 : $x1 < 0 : $arms == 8 || $x1 <= -2 - $y1)
456 500 3700 29696 $x < 0 or $x < $y