Branch Coverage

blib/lib/Lingua/RUS/Number.pm
Criterion Covered Total %
branch 20 28 71.4


line true false branch
92 3 3 $sum >= 1 ? :
94 0 6 if $sum_rub - $sum > 0
103 0 4 if $sum_rub - $sum_tmp > 0
106 0 6 if $out_rub == 0
121 15 0 if (not $nominal and $sum < 100 or $nominal > 0 and $nominal < 6 and $sum < 1000)
123 2 13 if ($s2 > 0)
128 0 15 if $sx - ($sum - $s2 * 100) > 0
130 12 3 if ($sx < 20 and $sx > 0 or $sx == 0 and not $nominal) { }
135 0 3 if $s1 - $sx / 10 > 0
137 3 0 if ($s1 > 0)
141 2 1 if ($s0 > 0)
147 15 0 if ($nom >= 0)
148 14 1 defined $nominal ? :
149 4 11 if defined $nominal and $nominal == 1