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 42 2 11 $x == 0 and $y == 0
264 578 20 79 $x == 0 and $y == 0
265 417 169 12 $d == 0 and $x == -2
586 5 7 $d == 0 and $x == -2 and $y == 0
266 393 160 38 $d == 2 and $x == 1
553 8 30 $d == 2 and $x == 1 and $y == 1
267 342 184 35 $d == 1 and $x == 1
526 19 16 $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)