blib/lib/Math/Utils.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 26 | 36 | 72.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
234 | 0 | 0 | 0 | @_ == 2 and $_[1] < 0 |
254 | 3 | 1 | 2 | $_ < 0 && int $_ != $_ |
1 | 0 | 1 | $_[0] < 0 && int $_[0] != $_[0] | |
274 | 3 | 1 | 2 | $_ > 0 && int $_ != $_ |
1 | 0 | 1 | $_[0] > 0 && int $_[0] != $_[0] | |
502 | 4 | 4 | 4 | abs $_[0] - $_[1] > $tol && $_[0] > $_[1] |
505 | 4 | 4 | 4 | abs $_[0] - $_[1] > $tol && $_[0] < $_[1] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
462 | 1 | 3 | 0 | $_[0] // $default_tolerance |
493 | 2 | 0 | 0 | $_[0] // $default_tolerance |
503 | 4 | 4 | 4 | abs $_[0] - $_[1] <= $tol || $_[0] > $_[1] |
506 | 4 | 4 | 4 | abs $_[0] - $_[1] <= $tol || $_[0] < $_[1] |
736 | 0 | 0 | 5 | $d_degree < 0 or $n_degree < 0 |