blib/lib/Math/Utils.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 26 | 36 | 72.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
246 | 0 | 0 | 0 | @_ == 2 and $_[1] < 0 |
266 | 3 | 1 | 2 | $_ < 0 && int $_ != $_ |
1 | 0 | 1 | $_[0] < 0 && int $_[0] != $_[0] | |
286 | 3 | 1 | 2 | $_ > 0 && int $_ != $_ |
1 | 0 | 1 | $_[0] > 0 && int $_[0] != $_[0] | |
618 | 4 | 4 | 4 | abs $_[0] - $_[1] > $tol && $_[0] > $_[1] |
621 | 4 | 4 | 4 | abs $_[0] - $_[1] > $tol && $_[0] < $_[1] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
578 | 3 | 3 | 0 | $_[0] // $default_tolerance |
609 | 2 | 0 | 0 | $_[0] // $default_tolerance |
619 | 4 | 4 | 4 | abs $_[0] - $_[1] <= $tol || $_[0] > $_[1] |
622 | 4 | 4 | 4 | abs $_[0] - $_[1] <= $tol || $_[0] < $_[1] |
890 | 0 | 0 | 5 | $d_degree < 0 or $n_degree < 0 |