Branch Coverage

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


line true false branch
93 3 3 $sum >= 1 ? :
95 0 6 if $sum_rub - $sum > 0
104 0 4 if $sum_rub - $sum_tmp > 0
107 0 6 if $out_rub == 0
122 15 0 if (not $nominal and $sum < 100 or $nominal > 0 and $nominal < 6 and $sum < 1000)
124 2 13 if ($s2 > 0)
129 0 15 if $sx - ($sum - $s2 * 100) > 0
131 12 3 if ($sx < 20 and $sx > 0 or $sx == 0 and not $nominal) { }
136 0 3 if $s1 - $sx / 10 > 0
138 3 0 if ($s1 > 0)
142 2 1 if ($s0 > 0)
148 15 0 if ($nom >= 0)
149 14 1 defined $nominal ? :
150 4 11 if defined $nominal and $nominal == 1