Condition Coverage

blib/lib/Math/PlanePath/DekkingCurve.pm
Criterion Covered Total %
condition 28 45 62.2


and 3 conditions

line !l l&&!r l&&r condition
185 0 9405 0 $arms < 2 and $x < 0
0 9405 0 $arms < 3 and $y < 0
206 11783 5763 5019 $nx == $x and $ny == $y
232 0 8 0 $arms < 2 and $x2 < 0
0 8 0 $arms < 3 and $y2 < 0
273 0 625 156 $x and not $digit = _divrem_mutate($x, 5)
286 5 620 156 $y and ($digit = _divrem_mutate($y, 5)) == 4

or 2 conditions

line l !l condition
102 4 8 $self->{'arms'} ||= 1
199 47623 59376 $y[$i] || 0
50894 56105 $x[$i] || 0

or 3 conditions

line l !l&&r !l&&!r condition
185 0 0 9405 $arms < 2 and $x < 0 or $arms < 3 and $y < 0
232 0 0 8 $arms < 2 and $x2 < 0 or $arms < 3 and $y2 < 0
266 0 0 3126 $x < 0 or is_infinite($x)
274 157 156 312 $digit == 1 || $digit == 2
280 0 0 3126 $y < 0 or is_infinite($y)
287 156 156 313 $digit == 2 || $digit == 3