| blib/lib/Lingua/RU/Number.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 21 | 26 | 80.7 |
| line | true | false | branch |
|---|---|---|---|
| 84 | 5 | 0 | $sum >= 1 ? : |
| 86 | 3 | 2 | if $sum_rub - $sum > 0 |
| 96 | 1 | 5 | if $sum_rub - $sum_tmp > 0 |
| 99 | 0 | 5 | if $out_rub == 0 |
| 110 | 11 | 0 | if ($nominal == 0 and $sum < 100 or $nominal > 0 and $nominal < 6 and $sum < 1000) |
| 112 | 1 | 10 | if ($s2 > 0) |
| 117 | 3 | 8 | if $sx - ($sum - $s2 * 100) > 0 |
| 119 | 5 | 6 | if ($sx < 20 and $sx > 0 or $sx == 0 and $nominal == 0) { } |
| 124 | 5 | 1 | if $s1 - $sx / 10 > 0 |
| 126 | 6 | 0 | if ($s1 > 0) |
| 130 | 5 | 1 | if ($s0 > 0) |
| 136 | 11 | 0 | if ($nom >= 0) |
| 138 | 5 | 6 | if $nominal == 1 |