Branch Coverage

blib/lib/Lingua/RU/Number.pm
Criterion Covered Total %
branch 36 54 66.6


line true false branch
92 5 0 $sum >= 1 ? :
94 3 2 if $sum_rub - $sum > 0
104 1 5 if $sum_rub - $sum_tmp > 0
107 0 5 if $out_rub == 0
118 11 0 if ($nominal == 0 and $sum < 100 or $nominal > 0 and $nominal < 6 and $sum < 1000)
120 1 10 if ($s2 > 0)
125 3 8 if $sx - ($sum - $s2 * 100) > 0
127 5 6 if ($sx < 20 and $sx > 0 or $sx == 0 and $nominal == 0) { }
132 5 1 if $s1 - $sx / 10 > 0
134 6 0 if ($s1 > 0)
138 5 1 if ($s0 > 0)
144 11 0 if ($nom >= 0)
146 5 6 if $nominal == 1
157 1 3 unless defined $gender
159 0 4 unless $number
164 0 4 if ($number < 0)
184 0 4 $negative ? :
193 0 4 unless defined $sum
195 4 0 if (not $nominal and $sum < 100 or $nominal > 0 and $nominal < 6 and $sum < 1000)
198 0 4 if ($s2 > 0)
205 1 3 if ($sx < 20 and $sx > 0 or $sx == 0 and not $nominal) { }
214 3 0 if ($s1 > 0)
218 3 0 if ($s0 > 0)
224 4 0 if ($nom >= 0)
226 4 0 if ($nominal == 1) { }
227 4 0 defined $nominal ? :
230 0 0 defined $nominal ? :