Condition Coverage

blib/lib/Math/Polynomial/Horner.pm
Criterion Covered Total %
condition 48 66 72.7


and 3 conditions

line !l l&&!r l&&r condition
101 19 7 0 $config{'fold_sign'} and $coeff < $zero
115 57 19 26 $config{'fold_sign'} and $coeff < $zero
121 40 36 26 $config{'fold_one'} and $coeff == $one
134 4 18 0 $config{'fold_one'} and $coeff == $one
149 58 22 23 $config{'fold_sign'} and $coeff < $zero
164 51 0 103 $xpow == 1 and $config{'fold_exp_one'}
200 21 6 2 $config{'fold_sign'} and $config{'fold_sign_swap_end'}
6 0 2 $config{'fold_sign'} and $config{'fold_sign_swap_end'} and ($high = $poly->coeff($degree)) > $zero
6 0 2 $config{'fold_sign'} and $config{'fold_sign_swap_end'} and ($high = $poly->coeff($degree)) > $zero and ($j, $second) = _second_highest_coeff($poly, $config{'fold_zero'})
0 0 2 $config{'fold_sign'} and $config{'fold_sign_swap_end'} and ($high = $poly->coeff($degree)) > $zero and ($j, $second) = _second_highest_coeff($poly, $config{'fold_zero'}) and $second < $zero
230 0 49 68 $config{'fold_zero'} and $coeff == $zero
236 4 15 2 $i == $degree and $config{'fold_sign'}
15 0 2 $i == $degree and $config{'fold_sign'} and $coeff < $zero
249 4 18 5 $config{'fold_one'} and $coeff == $one
282 57 45 2 $config{'fold_sign'} and $config{'fold_sign_swap_end'}
45 0 2 $config{'fold_sign'} and $config{'fold_sign_swap_end'} and $coeff < $zero
45 0 2 $config{'fold_sign'} and $config{'fold_sign_swap_end'} and $coeff < $zero and ($j, $second) = _second_highest_coeff($poly, $config{'fold_zero'})
0 0 2 $config{'fold_sign'} and $config{'fold_sign_swap_end'} and $coeff < $zero and ($j, $second) = _second_highest_coeff($poly, $config{'fold_zero'}) and $second > $zero
308 6 93 96 $config{'fold_zero'} and $coeff == $zero
335 0 4 6 $fold_zero and $coeff == $poly->coeff_zero

or 3 conditions

line l !l&&r !l&&!r condition
77 168 0 0 $poly->string_config || ref($poly)->string_config
0 168 0 $string_config ||= $poly->string_config || ref($poly)->string_config