| blib/lib/Lingua/RUS/Number.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 22 | 31 | 70.9 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 99 | 0 | 6 | 4 | $i < 6 and $sum_rub >= 1 |
| 122 | 7 | 0 | 8 | not $nominal and $sum < 100 |
| 0 | 0 | 7 | $nominal > 0 and $nominal < 6 | |
| 0 | 0 | 7 | $nominal > 0 and $nominal < 6 and $sum < 1000 | |
| 131 | 3 | 6 | 6 | $sx < 20 and $sx > 0 |
| 3 | 0 | 6 | $sx == 0 and not $nominal | |
| 150 | 1 | 10 | 4 | defined $nominal and $nominal == 1 |
| line | l | !l | condition |
|---|---|---|---|
| 89 | 5 | 1 | shift() // 0 |
| 118 | 15 | 2 | shift() // (return) |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 122 | 8 | 0 | 7 | not $nominal and $sum < 100 or $nominal > 0 and $nominal < 6 and $sum < 1000 |
| 131 | 6 | 0 | 9 | $sx < 20 and $sx > 0 or $sx == 0 and not $nominal |