Branch Coverage

blib/lib/Math/PlanePath/QuintetReplicate.pm
Criterion Covered Total %
branch 28 46 60.8


line true false branch
85 619 93 if ($digit)
95 1585 217 if ($digit)
107 0 250 if ($n < 0)
110 0 250 if (is_infinite($n))
117 0 250 if ($n != $int)
132 125 125 if ($self->{'numbering_type'} eq 'rotate')
140 150 538 if ($digit == 1) { }
150 388 elsif ($digit == 2) { }
150 238 elsif ($digit == 3) { }
150 88 elsif ($digit == 4) { }
179 0 1540 if (is_infinite($overflow))
210 385 385 if ($self->{'numbering_type'} eq 'rotate')
234 0 0 if ($x1 < $x2)
235 0 0 if ($y1 < $y2)
237 0 0 if (is_infinite($rsquared))
246 0 0 if (abs $x >= abs $y) { }
252 0 0 unless ($x * $x + $y * $y <= $rsquared)
267 0 0 if ($n < 0)
268 0 0 if (is_infinite($n))
286 125 125 if ($self->{'numbering_type'} eq 'fixed')
292 50 200 if (@digits != $level)
297 72 128 if (grep {$_ == 0;} @digits)
306 24 48 if ($digits[$i + 1] == 3 and $digits[$i] <= 3 or $digits[$i + 1] == 4 and $digits[$i] == 4)