blib/lib/Math/Utils.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 26 | 36 | 72.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
245 | 0 | 0 | 0 | @_ == 2 and $_[1] < 0 |
265 | 3 | 1 | 2 | $_ < 0 && int $_ != $_ |
1 | 0 | 1 | $_[0] < 0 && int $_[0] != $_[0] | |
285 | 3 | 1 | 2 | $_ > 0 && int $_ != $_ |
1 | 0 | 1 | $_[0] > 0 && int $_[0] != $_[0] | |
513 | 4 | 4 | 4 | abs $_[0] - $_[1] > $tol && $_[0] > $_[1] |
516 | 4 | 4 | 4 | abs $_[0] - $_[1] > $tol && $_[0] < $_[1] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
473 | 1 | 3 | 0 | $_[0] // $default_tolerance |
504 | 2 | 0 | 0 | $_[0] // $default_tolerance |
514 | 4 | 4 | 4 | abs $_[0] - $_[1] <= $tol || $_[0] > $_[1] |
517 | 4 | 4 | 4 | abs $_[0] - $_[1] <= $tol || $_[0] < $_[1] |
783 | 0 | 0 | 5 | $d_degree < 0 or $n_degree < 0 |