Branch Coverage

blib/lib/Math/PlanePath/CfracDigits.pm
Criterion Covered Total %
branch 24 40 60.0


line true false branch
68 0 0 $self->{'radix'} < 3 ? :
103 3 0 unless ($self->{'radix'} and $self->{'radix'} >= 1)
113 0 1 if ($n < 0)
114 0 1 if (is_infinite($n))
118 0 1 if ($n != $int)
164 7 14 if ($digit == $radix_plus_1) { }
188 0 28 if ($radix == 1)
196 26 35 if ($borrow = ($digit -= $borrow) <= 0)
200 6 22 if ($borrow)
212 0 18 if ($radix == 1)
219 16 18 if ($carry = ($digit += $carry) >= $radix)
223 6 12 if ($carry)
245 0 1 if (is_infinite($x))
246 0 1 if (is_infinite($y))
247 0 1 if ($x < 1 or $y < 2 or $x >= $y)
251 0 1 unless my(@quotients) = _xy_to_quotients($x, $y)
305 0 2 if $x1 > $x2
306 0 2 if $y1 > $y2
316 0 2 if ($x2 < 1 or $y2 < 2 or $x1 >= $y2)
324 0 2 $radix == 1 ? :