Condition Coverage

blib/lib/Lingua/RUS/Number.pm
Criterion Covered Total %
condition 23 31 74.1


and 3 conditions

line !l l&&!r l&&r condition
98 0 6 4 $i < 6 and $sum_rub >= 1
121 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
130 3 6 6 $sx < 20 and $sx > 0
3 0 6 $sx == 0 and not $nominal
149 1 10 4 defined $nominal and $nominal == 1

or 2 conditions

line l !l condition
88 5 1 shift() // 0
117 15 2 shift() // (return)

or 3 conditions

line l !l&&r !l&&!r condition
121 8 7 0 not $nominal and $sum < 100 or $nominal > 0 and $nominal < 6 and $sum < 1000
130 6 6 3 $sx < 20 and $sx > 0 or $sx == 0 and not $nominal