| blib/lib/Lingua/SWE/Num2Word.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 11 | 24 | 45.8 |
| line | true | false | branch |
|---|---|---|---|
| 27 | 0 | 7 | if $positive < 0 |
| 34 | 2 | 5 | if $positive < 20 |
| 36 | 0 | 5 | if ($positive < 100) { } |
| 3 | 2 | elsif ($positive < 1000) { } | |
| 2 | 0 | elsif ($positive < 1000000) { } | |
| 0 | 0 | elsif ($positive < 1000000000) { } | |
| 40 | 0 | 0 | if $num[1] |
| 46 | 0 | 3 | if (int $num[1] . $num[2] < 20 and int $num[1] . $num[2] > 0) { } |
| 49 | 3 | 0 | if $num[1] |
| 50 | 3 | 0 | if $num[2] |
| 58 | 2 | 0 | if int join('', @sub) > 0 |
| 65 | 0 | 0 | if int join('', @sub) > 0 |