Branch Coverage

blib/lib/Math/PlanePath/GrayCode.pm
Criterion Covered Total %
branch 9 46 19.5


line true false branch
84 0 0 _is_peano($self) ? :
90 0 0 _is_peano($self) ? :
120 0 0 $self->{'radix'} == 2 ? :
161 0 0 $self->{'radix'} == 2 ? :
162 0 0 $dir_maximum_supremum{$gray_type}{$self->{'apply_type'}} ? :
171 0 0 if ($self->{'radix'} == 2 and $self->{'apply_type'} eq 'TsF' || $self->{'apply_type'} eq 'Fs')
181 0 0 $self->{'radix'} == 2 && ($self->{'apply_type'} eq 'sT' || $self->{'apply_type'} eq 'sF') ? :
192 0 0 if ($self->{'apply_type'} eq 'TsF' and $self->{'gray_type'} eq 'reflected' and $self->{'radix'} > 2)
211 1 0 if (not $self->{'radix'} or $self->{'radix'} < 2)
218 0 1 unless ($apply_type =~ /^([TF]?)s([TF]?)$/)
241 0 4000 if ($n < 0)
244 0 4000 if (is_infinite($n))
252 0 4000 if ($n != $int)
289 0 0 if ($x < 0 or $y < 0)
292 0 0 if (is_infinite($x))
295 0 0 if (is_infinite($y))
308 0 0 unless @xdigits or @ydigits
310 0 0 unless @xdigits or @ydigits
329 0 0 if ($x1 > $x2)
330 0 0 if ($y1 > $y2)
332 0 0 if ($y2 < 0 or $x2 < 0)
354 17249 18504 if ($reverse & 1)
376 15489 22902 if ($reverse & 1) { }