Branch Coverage

blib/lib/Math/ContinuedFraction.pm
Criterion Covered Total %
branch 18 40 45.0


line true false branch
22 0 3 if (ref $class)
24 0 0 if ($class->isa('Math::ContinuedFraction'))
44 3 0 if (scalar @_)
53 3 0 if (ref $a_ref eq 'ARRAY') { }
0 0 elsif (ref $a_ref eq 'Math::BigRat') { }
61 1 2 if (ref $seq[$#seq] eq 'ARRAY')
64 1 0 if scalar @r > 0
70 3 0 scalar @seq ? :
119 0 3 if $r == 0
120 1 2 if ($r == 1)
154 0 0 if $last == $a
183 0 0 $$self{'repeat'} ? :
194 4 5 $$self{'repeat'} ? :
236 0 9 unless $terms
237 0 9 if $terms > $sl and $rl == 0
239 4 5 if ($terms >= $sl)
248 0 4 if ($remainder > 0)
302 0 0 if $$self{'repeat'}
311 0 2 if $$self{'repeat'}
334 0 0 $$other{'repeat'} ? :