| blib/lib/Lingua/SWE/Num2Word.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 11 | 24 | 45.8 |
| line | true | false | branch |
|---|---|---|---|
| 26 | 0 | 7 | if $positive < 0 |
| 33 | 2 | 5 | if $positive < 20 |
| 35 | 0 | 5 | if ($positive < 100) { } |
| 3 | 2 | elsif ($positive < 1000) { } | |
| 2 | 0 | elsif ($positive < 1000000) { } | |
| 0 | 0 | elsif ($positive < 1000000000) { } | |
| 39 | 0 | 0 | if $num[1] |
| 45 | 0 | 3 | if (int $num[1] . $num[2] < 20 and int $num[1] . $num[2] > 0) { } |
| 48 | 3 | 0 | if $num[1] |
| 49 | 3 | 0 | if $num[2] |
| 57 | 2 | 0 | if int join("", @sub) > 0 |
| 64 | 0 | 0 | if int join("", @sub) > 0 |