blib/lib/Parse/Number/ID.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 11 | 12 | 91.6 |
line | true | false | branch |
---|---|---|---|
38 | 7 | 18 | if ($n =~ /^([+-]?)([\d,.]*)\.(\d{0,2})$/) { } |
39 | 1 | 6 | $1 eq '-' ? : |
67 | 1 | 29 | unless length $text |
69 | 4 | 25 | unless $text =~ s/^([+-]?[0-9,.]+)// |
71 | 0 | 25 | unless defined $n |
72 | 7 | 18 | if ($text =~ /[Ee]([+-]?\d+)/) |