Branch Coverage

blib/lib/Math/PlanePath/UlamWarburtonQuarter.pm
Criterion Covered Total %
branch 67 112 59.8


line true false branch
63 0 0 $self->{'parts'} eq 'octant' ? :
67 0 0 $self->{'parts'} eq 'octant_up' ? :
84 0 0 $self->{'parts'} =~ /octant/ ? :
92 8 4 unless (defined $self->{'n_start'})
96 0 12 unless (exists $dir_maximum_dxdy{$parts})
156 0 117 if ($n < $self->{'n_start'})
157 0 117 if (is_infinite($n))
163 0 117 if ($n != $int)
175 5 112 if ($n == 1)
177 0 112 unless my($depthsum, $nrem, $rowwidth) = _n1_to_depthsum_rem_width($self, $n)
182 0 112 if ($self->{'parts'} eq 'octant_up')
200 176 81 if ($ndigit) { }
201 88 88 if ($ndigit == 2)
222 0 346 $parts eq 'octant' ? :
115 231 if ($y < 0 or $x < ($parts eq 'octant' ? $y : 0) or $parts eq 'octant_up' and $x > $y)
227 6 225 if ($x == 0 and $y == 0)
234 0 225 if (is_infinite($exp))
250 545 312 if ($x >= $len or $y >= $len)
262 366 179 if ($x) { }
263 46 320 unless ($y)
267 45 134 if ($y)
273 320 134 if ($x or $y)
276 101 219 if ($y < 0) { }
104 115 elsif ($x >= 0) { }
296 0 134 if ($self->{'parts'} eq 'octant_up')
313 0 50 if $x1 > $x2
314 0 50 if $y1 > $y2
316 0 50 if ($x2 < 0 or $y2 < 0)
320 0 50 if ($x1 < 0)
321 0 50 if ($y1 < 0)
324 21 29 $x1 > $y1 ? :
325 21 29 $x2 > $y2 ? :
330 50 0 if ($dlo)
347 0 9 if ($n < $self->{'n_start'})
355 19 17 if (defined(my $n_child = $self->xy_to_n($x + $dx, $y + $dy)))
356 11 8 if ($n_child > $n)
366 1 11 if ($n <= $self->{'n_start'})
373 24 9 if (defined(my $n_parent = $self->xy_to_n($x + $dx, $y + $dy)))
374 11 13 if ($n_parent < $n)
392 0 895 if (is_infinite($depth))
395 0 895 unless ($depth >= 0)
402 1990 1841 if ($bit)
407 0 895 if ($self->{'parts'} =~ /octant/) { }
419 0 0 if ($n < 1)
422 0 0 unless (my $depthsum, $n) = _n1_to_depthsum_rem_width($self, $n)
441 0 112 $octant ? :
442 0 112 if (is_infinite($exp))
452 0 112 if ($octant)
457 0 0 if ($sub > $n)
477 0 387 if ($octant)
489 257 130 if ($rem >= 0)
515 0 0 if ($n < 1)
518 0 0 unless my($depthsum, $nrem, $rowwidth) = _n1_to_depthsum_rem_width($self, $n)
523 0 0 if ($self->{'parts'} eq 'octant_up')
531 0 0 if (@$depthsum) { }
549 0 0 unless (defined $depth)