blib/lib/Lingua/EN/Words2Nums.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 21 | 28 | 75.0 |
line | true | false | branch |
---|---|---|---|
182 | 1 | 99 | if ($suffix) |
192 | 50 | 8 | if ($pre > $oldpre) |
193 | 1 | 49 | if $newmult |
203 | 3 | 0 | if ($billion == 1000000000) { } |
0 | 0 | elsif ($billion == 1000000000000) { } | |
232 | 0 | 6 | if $debug |
241 | 6 | 60 | if /^[-+]?[.0-9\s]+$/ |
243 | 0 | 60 | if (/^[-+0-9.]+$/) |
244 | 0 | 0 | if length $_ |
249 | 3 | 57 | unless length $_ |
257 | 14 | 46 | if (length $_) |
258 | 11 | 3 | if (s/(\d+)(?:st|nd|rd|th)?$//) { } |
266 | 3 | 54 | if length $_ |
267 | 11 | 43 | if $newmult |