Branch Coverage

blib/lib/Math/BigApprox.pm
Criterion Covered Total %
branch 83 88 94.3


line true false branch
15 1 0 if (eval { do { require POSIX; 1 } })
19 1 0 if ($useFloor) { }
23 0 0 $_[0] < 0 ? :
75 11 2658 unless (@_)
76 1 10 unless ref $us
81 16 2642 if 0 == $val
83 13 2629 if $val < 0
91 1 1 wantarray ? :
2 8 unless $$x[1]
93 4 4 wantarray ? :
100 3 7 if (@_)
102 1 1 0 == $new ? :
1 2 0 < $new ? :
123 1252 1302 unless ref $y
131 52 10 unless ref $y
133 17 45 if $rev
141 1 15 unless $$y[1]
149 3 21 unless $$y[1]
151 2 19 unless $$x[1]
155 4 4 if ($$x[1] < 0 and 0 < $$y[1] and $$y[0] < 20.72326583694641 and 1 == int(0.5 + exp($$y[0])) % 2)
168 1305 9 unless ref $y
170 3 1311 unless $$x[1]
172 1 1310 unless $$y[1]
174 1299 11 if $$y[0] < $$x[0]
176 1304 6 if ($$x[1] == $$y[1])
182 2 4 if $$x[0] == $$y[0]
217 2 2 if 1 != $$x[1]
231 1 3 if $$x[1] < 0
239 20 1320 unless ref $y
241 20 1320 if $x eq $y
243 3 1317 if $rev
251 3 6 if $y < $x
291 0 1 if 14 < $Math::BigApprox::SigDigs
301 38 2790 unless $$x[1]
304 9 2781 if ($exp and 2 * $exp == $exp)
305 6 3 if $exp < 0
310 2778 3 if abs $exp < $Math::BigApprox::FloorMag
313 3 2778 if 2 * $mant == $mant
315 2766 15 unless $exp =~ /^-/
317 3 2778 $Math::BigApprox::LenMag <= abs $exp ? :
318 1 2780 if $digs < 1
320 42 2739 $$x[1] < 0 ? :
322 139 2642 0 == $exp ? :
323 40 2741 if $digs < abs $exp