Condition Coverage

blib/lib/Math/PlanePath/ChanTree.pm
Criterion Covered Total %
condition 26 84 30.9


and 3 conditions

line !l l&&!r l&&r condition
173 0 0 0 $self->{'k'} == 5 and $self->{'reduced'}
174 0 0 0 $self->{'k'} == 7 and $self->{'reduced'}
322 54 10 8 $k & 1 and $n % 2 == 0
327 0 0 0 $self->{'reduced'} and $x % 2 == 0
387 9 0 0 $self->{'points'} eq 'all_mul' and $self->{'reduced'}
395 0 0 0 $nx == $x and $ny == $y
400 9 0 0 $self->{'points'} eq 'all_mul' and $y % 2 == 0
407 0 0 0 $nx == $x and $ny == $y
414 4 5 0 $x % 2 and $y % 2
419 36 0 0 ref $x and ref $y
36 0 0 ref $x and ref $y and $x < 16777215
0 0 0 ref $x and ref $y and $x < 16777215 and $y < 16777215
522 0 2 0 $x == 1 and $self->{'reduced'}
540 15 4 19 $diff == -1 and $x < $half_ceil
598 10 3 10 $diff == 1 and $y < $half_ceil

or 2 conditions

line l !l condition
184 0 9 $self->{'digit_order'} ||= 'HtoL'
186 6 3 $self->{'k'} ||= 3
193 0 9 $self->{'points'} ||= 'even'

or 3 conditions

line l !l&&r !l&&!r condition
106 0 0 0 $self->{'reduced'} || $self->{'k'} == 2
119 0 0 0 $self->{'k'} == 2 || $self->{'reduced'} && ($self->{'k'} & 1) == 0
126 0 0 0 $self->{'k'} == 2 || $self->{'reduced'}
139 0 0 0 $self->{'k'} == 2 || $self->{'k'} & 1
163 0 0 0 $self->{'k'} <= 3 || $self->{'reduced'}
342 0 0 0 $x % $k or $y % $k
387 0 0 9 $self->{'points'} eq 'all_div' or $self->{'points'} eq 'all_mul' and $self->{'reduced'}
516 0 0 68 $x < 1 or $y < 1
670 0 0 36 $nx != $orig_x or $ny != $orig_y
692 0 0 72 $x2 < 1 or $y2 < 1
702 18 0 54 $self->{'reduced'} || $self->{'k'} == 2