| blib/lib/Function/Fallback/CoreOrPP/ScalarUtilNumeric.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 22 | 22 | 100.0 |
| line | true | false | branch |
|---|---|---|---|
| 23 | 1 | 5 | unless defined $_ |
| 24 | 3 | 2 | if /\A[+-]?(?:0|[1-9][0-9]*)\z/ |
| 30 | 1 | 12 | unless defined $_ |
| 31 | 5 | 7 | if /\A\s*[+-]?nan\s*\z/i |
| 37 | 1 | 11 | unless defined $_ |
| 38 | 6 | 5 | if /\A\s*[+-]?inf(?:inity)?\s*\z/i |
| 44 | 1 | 5 | unless defined $_ |
| 45 | 3 | 2 | if /\A\s*-/ |
| 55 | 2 | 22 | unless defined $_ |
| 56 | 14 | 8 | if /\A[+-]?(?:0|[1-9][0-9]*)(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?\z/ |
| 57 | 4 | 4 | if isnan $_ or isinf $_ |