blib/lib/Scalar/Util/Numeric/PP.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 9 | 12 | 75.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
60 | 11 | 17 | 0 | /\A\s*[+-]? (?: (?:0|[1-9][0-9]*)(\.[0-9]+)? | (\.[0-9]+) ) ([eE][+-]?[0-9]+)?\s*\z/sx and $1 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
60 | 8 | 0 | 20 | /\A\s*[+-]? (?: (?:0|[1-9][0-9]*)(\.[0-9]+)? | (\.[0-9]+) ) ([eE][+-]?[0-9]+)?\s*\z/sx and $1 or $2 |
5 | 0 | 15 | /\A\s*[+-]? (?: (?:0|[1-9][0-9]*)(\.[0-9]+)? | (\.[0-9]+) ) ([eE][+-]?[0-9]+)?\s*\z/sx and $1 or $2 or $3 | |
63 | 2 | 2 | 11 | &isnan($_) or &isinf($_) |