Condition Coverage

blib/lib/Math/PlanePath/KochCurve.pm
Criterion Covered Total %
condition 31 52 59.6


and 3 conditions

line !l l&&!r l&&r condition
256 55 4 58 $x >= $x1 && $x <= $x2 && $y >= $y1 && $y <= $y2
266 29 6 18 $y <= $y2 && $y + $len >= $y1 && $x <= $x2 && $x + 6 * $len > $x1
278 15 3 32 $x <= $x2 && $y + 3 * $len > $y1 && $y - $x <= $y2 - $x1
289 6 4 4 $y <= $y2 && $x - 3 * $len <= $x2 && $y + $x >= $y1 + $x1
298 0 0 0 $y >= $y1 && $y - $len <= $y2 && $x >= $x1 && $x - 6 * $len < $x2
310 0 0 1 $x >= $x1 && $y - 3 * $len < $y2 && $y - $x >= $y1 - $x2
321 1 13 14 $y >= $y1 && $x + 3 * $len >= $x1 && $y + $x <= $y2 + $x2

or 2 conditions

line l !l condition
148 5075 53 $x / 2 || 1
472 0 0 &sum(map({$digit_to_dir[$_];} digit_split_lowtohigh($n, 4))) || 0
497 0 0 $self->_UNTESTED__n_to_turn6($n) || (return undef)
502 0 0 $self->_UNTESTED__n_to_turn6($n) || (return undef)
507 0 0 $self->_UNTESTED__n_to_turn6($n) || (return undef)

or 3 conditions

line l !l&&r !l&&!r condition
144 265 252 5128 $y < 0 or $x < 0
517 0 5128 $y < 0 or $x < 0 or ($x ^ $y) & 1
187 4804 143 181 $x != 0 or $y != 0
208 0 0 29 $x2 < 0 or $y2 < 0
0 0 29 $x2 < 0 or $y2 < 0 or 3 * $y1 > $x2
370 2 33 0 $lens[$#digits] ||= $len / 3
411 34 0 0 $lens[$#digits] ||= $len / 3