Condition Coverage

blib/lib/Math/BSpline/Curve/Role/Approximation.pm
Criterion Covered Total %
condition 7 17 41.1


or 2 conditions

line l !l condition
26 3 0 $args ||= {}
281 234 6 $R->[$l] //= []
302 0 0 $R->[$l] //= []
335 0 0 &blessed($v0) // 'undef'

or 3 conditions

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)