Condition Coverage

blib/lib/Math/PlanePath/SierpinskiCurveStair.pm
Criterion Covered Total %
condition 18 22 81.8


and 3 conditions

line !l l&&!r l&&r condition
406 3002 2252 821 $n_last_1 and $x == $diagonal_length - 1
5254 363 458 $n_last_1 and $x == $diagonal_length - 1 and $y == $diagonal_length
451 16 0 0 $y2 < 0 && ($arms == 5 && $x1 >= $y2 || $arms == 6 && $x1 >= 0 || $arms == 7 && $x1 > 3 - $y2)

or 2 conditions

line l !l condition
98 38 3 $self->{'arms'} || 1
99 32 9 $self->{'diagonal_length'} ||= 1

or 3 conditions

line l !l&&r !l&&!r condition
335 48 960 15088 $x < 0 or $x < $y
406 5180 3752 6075 $x == $y or $x == $y + 1
451 0 0 16 $y2 < 0 || $arms == 1 && $x2 <= $y1 || $arms == 2 && $x2 < 0 || $arms == 3 && $x2 < -$y2