Branch Coverage

blib/lib/Algorithm/GoldenSection.pm
Criterion Covered Total %
branch 0 34 0.0


line true false branch
64 0 0 if $h_ref and ref $h_ref ne 'HASH'
75 0 0 if not exists $$h_ref{'function'} or ref $$h_ref{'function'} ne 'CODE'
77 0 0 unless exists $$h_ref{'x_low'} and $$h_ref{'x_low'} =~ /\A[+-]?\ *(\d+(\.\d*)?|\.\d+)([eE][+-]?\d+)?\z/msx
79 0 0 unless exists $$h_ref{'x_int'} and $$h_ref{'x_int'} =~ /\A[+-]?\ *(\d+(\.\d*)?|\.\d+)([eE][+-]?\d+)?\z/msx
118 0 0 if (abs $c - $b > abs $b - $a) { }
142 0 0 if ($f2 < $f1) { }
182 0 0 if ($f1 < $f2) { }
207 0 0 if ($f_b > $f_a)
233 0 0 if (($b - $u) * ($u - $c) > 0) { }
0 0 elsif (($c - $u) * ($u - $ulim) > 0) { }
0 0 elsif (($u - $ulim) * ($ulim - $c) >= 0) { }
237 0 0 if ($f_u < $f_c) { }
0 0 elsif ($f_u > $f_b) { }
273 0 0 if ($f_u < $f_c)
303 0 0 unless $a and $b and $c
312 0 0 $b >= 0 ? :
320 0 0 $a >= $b ? :