Branch Coverage

blib/lib/Math/Function/Interpolator/Cubic.pm
Criterion Covered Total %
branch 13 14 92.8


line true false branch
45 18 5 if $self->{'_sorted_Xs'}
53 14 4 if $self->{'_spline_points'}
111 1 19 unless &looks_like_number($x)
113 0 19 if defined $ap->{$x}
116 1 18 if scalar @$Xs < 5
122 8 10 if ($x < $Xs->[0] or $x > $Xs->[-1]) { }
123 4 4 $x < $Xs->[0] ? :