| blib/lib/Math/BSpline/Curve/Role/Approximation.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 7 | 17 | 41.1 |
| line | l | !l | condition |
|---|---|---|---|
| 26 | 3 | 0 | $args ||= {} |
| 281 | 234 | 6 | $R->[$l] //= [] |
| 302 | 0 | 0 | $R->[$l] //= [] |
| 335 | 0 | 0 | &blessed($v0) // 'undef' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 58 | 2 | 0 | 0 | $total_length //= &sum0(@$lengths) |
| 77 | 1 | 2 | 0 | $args->{'phi'} // $class->calculate_parameters($args->{'points'}) |
| 80 | 0 | 3 | 0 | $args->{'knot_vector'} // $class->_fit_calculate_knot_vector($args->{'degree'}, $args->{'n_control_points'} - 1, $phi) |