Condition Coverage

blib/lib/Math/Integral/Romberg.pm
Criterion Covered Total %
condition 18 29 62.0


and 2 conditions

line l !l condition
196 11 1 $split == $max_split and $$abort = 1

and 3 conditions

line !l l&&!r l&&r condition
140 2 0 0 wantarray && $Math::Integral::Romberg::return_point_count
196 9 4 0 $split >= $min_split and abs $new_estimate - $estimate < $abs_err || abs $new_estimate - $estimate < $rel_err * abs($estimate)

or 3 conditions

line l !l&&r !l&&!r condition
145 1 1 0 $rel_err ||= $Math::Integral::Romberg::rel_err
146 1 1 0 $abs_err ||= $Math::Integral::Romberg::abs_err
147 1 1 0 $max_split ||= $Math::Integral::Romberg::max_split
148 1 1 0 $min_split ||= $Math::Integral::Romberg::min_split
166 0 0 13 $lo + $step_len / $steps == $lo or $hi - $step_len / $steps == $hi
196 0 1 3 abs $new_estimate - $estimate < $abs_err || abs $new_estimate - $estimate < $rel_err * abs($estimate)
1 0 12 $split >= $min_split and abs $new_estimate - $estimate < $abs_err || abs $new_estimate - $estimate < $rel_err * abs($estimate) or $split == $max_split and $$abort = 1