Condition Coverage

blib/lib/Math/PlanePath/CellularRule57.pm
Criterion Covered Total %
condition 17 18 94.4


and 3 conditions

line !l l&&!r l&&r condition
296 28 21 15 $x <= $d and ($x -= $d) % 3 == 0
302 28 7 21 $x >= -$d and ($x += $d + 1) % 3
342 28 7 21 $x <= $d and ($x -= $d + 1) % 3
348 28 21 15 ($x += $d) >= 0 and not $x % 3

or 3 conditions

line l !l&&r !l&&!r condition
259 0 240 752 $y < 0 or $x < -$y
240 240 512 $y < 0 or $x < -$y or $x > $y