Condition Coverage

lib/Algorithm/CurveFit/Simple.pm
Criterion Covered Total %
condition 21 40 52.5


and 3 conditions

line !l l&&!r l&&r condition
113 2 1 5 defined $p{'xdata'} and defined $p{'ydata'}
115 0 0 7 ref $xy eq 'ARRAY' and @$xy >= 2
0 0 7 ref $xy eq 'ARRAY' and @$xy >= 2 and ref $xy->[0] eq 'ARRAY'
0 0 7 ref $xy eq 'ARRAY' and @$xy >= 2 and ref $xy->[0] eq 'ARRAY' and ref $xy->[1] eq 'ARRAY'
123 4 1 2 @$xy == 2 and @{$xy->[0];} > 2
141 0 0 11 ref $xdata eq 'ARRAY' and ref $ydata eq 'ARRAY'
248 2 0 1 $opt_hr->{'round_result'} and not $opt_hr->{'suppress_includes'}
296 0 0 10 $observed_y and $y

or 2 conditions

line l !l condition
44 0 0 $p{'iterations'} || 10000
67 1 0 $p{'impl_lang'} // 'perl'
79 0 2 $fitter_class //= 'Algorithm::CurveFit'
97 10 1 $p{'terms'} // 3
163 2 1 $p{'terms'} // 3

or 3 conditions

line l !l&&r !l&&!r condition
46 0 1 0 $p{'time_limit'} // $time_limit
70 0 1 0 $p{'impl_name'} // $impl_name