Condition Coverage

blib/lib/Math/PlanePath/TerdragonCurve.pm
Criterion Covered Total %
condition 26 44 59.0


and 3 conditions

line !l l&&!r l&&r condition
228 40 3 12 $x == 0 and $y == 0
264 431 14 89 $x == 0 and $y == 0
265 309 131 5 $d == 0 and $x == -2
440 1 4 $d == 0 and $x == -2 and $y == 0
266 305 112 24 $d == 2 and $x == 1
417 8 16 $d == 2 and $x == 1 and $y == 1
267 252 131 42 $d == 1 and $x == 1
383 22 20 $d == 1 and $x == 1 and $y == -1
406 0 0 0 $digits[$i] == 1 and $digits[$i - 1] != 0
480 0 0 0 defined $level and $level < 0
538 0 0 0 defined $level and $level == 0
558 0 0 0 defined $level and $level == 0

or 2 conditions

line l !l condition
134 17 7 $self->{'arms'} || 1

or 3 conditions

line l !l&&r !l&&!r condition
572 0 0 0 defined $level && $level < 0 || $prev != 2
597 0 0 0 $self->_UNDOCUMENTED__n_segment_is_right_boundary($n) || $self->_UNDOCUMENTED__n_segment_is_left_boundary($n, $level)