| blib/lib/Math/Polynomial/Solve.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 18 | 27 | 66.6 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 500 | 0 | 135 | 0 | scalar @coefficients and abs $coefficients[$#coefficients] < $epsilon |
| 512 | 0 | 135 | 12 | scalar @coefficients and abs $coefficients[0] < $epsilon |
| 526 | 118 | 2 | 15 | $option{'root_function'} and poly_nonzero_term_count(@coefficients) == 2 |
| 539 | 98 | 0 | 22 | $option{'varsubst'} and $#coefficients > 1 |
| 987 | 115 | 923 | 53 | $its and $its % 10 == 0 |
| 1728 | 4 | 73 | 43 | @remd and abs $remd[$#remd] < $epsilon |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 562 | 87 | 0 | 33 | $option{'hessenberg'} or $#coefficients > 4 |
| 821 | 9 | 0 | 672 | $c == 0 or $r == 0 |
| 1576 | 0 | 0 | 0 | $root < $from or $root > $to |