| blib/lib/Math/Function/Interpolator/Cubic.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 13 | 14 | 92.8 |
| line | true | false | branch |
|---|---|---|---|
| 44 | 18 | 5 | if $self->{'_sorted_Xs'} |
| 52 | 14 | 4 | if $self->{'_spline_points'} |
| 110 | 1 | 19 | unless &looks_like_number($x) |
| 112 | 0 | 19 | if defined $ap->{$x} |
| 115 | 1 | 18 | if scalar @$Xs < 5 |
| 121 | 8 | 10 | if ($x < $Xs->[0] or $x > $Xs->[-1]) { } |
| 122 | 4 | 4 | $x < $Xs->[0] ? : |