blib/lib/Lingua/RU/Num2Word.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 20 | 26 | 76.9 |
line | true | false | branch |
---|---|---|---|
102 | 1 | 8 | unless $number |
107 | 0 | 8 | if ($number < 0) |
127 | 0 | 8 | if ($negative) |
136 | 0 | 16 | unless defined $sum |
142 | 16 | 0 | if (not $nominal and $sum < 100 or $nominal > 0 and $nominal < 6 and $sum < 1000) |
145 | 6 | 10 | if ($s2 > 0) |
152 | 4 | 12 | if ($sx < 20 and $sx > 0 or $sx == 0 and not $nominal) { } |
161 | 7 | 5 | if ($s1 > 0) |
165 | 7 | 5 | if ($s0 > 0) |
171 | 11 | 5 | if ($nom >= 0) |
173 | 7 | 4 | if ($nominal == 1) { } |
174 | 7 | 0 | defined $nominal ? : |
177 | 4 | 0 | defined $nominal ? : |