Branch Coverage

blib/lib/Math/NumSeq/Fibonacci.pm
Criterion Covered Total %
branch 33 50 66.0


line true false branch
123 4 1135 if ($ret == $uv_limit)
150 243 443 if ($i > $uv_i_limit and not ref $F0)
159 356 330 if ($lowbit) { }
160 193 163 $pair_i % 2 ? :
171 3 2124 if (_is_infinite($i))
176 22 2102 if ($neg)
189 550 1574 if ($i >= $uv_i_limit and not ref $Fk1)
212 4826 5696 if (shift @bits) { }
223 22 2102 if ($neg)
225 9 13 if ($i % 2) { }
242 39 2536 if (ref $n)
243 39 0 if ($n->isa('Math::BigInt') and $n->can('as_bin'))
262 0 40 if (_is_infinite($value))
265 9 31 if ($value <= 0)
269 1 30 if (defined(my $blog2 = _blog2_estimate($value)))
283 0 0 if ($value < 0)
285 0 0 if (_is_infinite($i))
287 0 0 if ($i < 0)
290 0 0 if ($f0 == $value)
293 0 0 if $f0 > $value
294 0 0 if ($i == $uv_i_limit and not ref $f0)
318 32 537 if (ref $n)
321 0 32 if ($n->isa('Math::BigRat'))
324 0 32 if ($n->isa('Math::BigFloat'))
327 32 0 if ($n->isa('Math::BigInt'))