Branch Coverage

blib/lib/Lingua/RU/Num2Word.pm
Criterion Covered Total %
branch 23 30 76.6


line true false branch
101 1 116 if ($number > 999999999999999)
106 1 115 unless $gender =~ /masculine|feminine|neuter/i
109 2 113 unless $number
114 0 113 if ($number < 0)
135 0 113 if ($negative)
144 0 118 unless defined $sum
150 118 0 if (not $nominal and $sum < 100 or $nominal > 0 and $nominal < 6 and $sum < 1000)
153 11 107 if ($s2 > 0)
160 24 94 if ($sx < 20 and $sx > 0 or $sx == 0 and not $nominal) { }
169 93 1 if ($s1 > 0)
173 85 9 if ($s0 > 0)
180 118 0 if ($nom >= 0)
182 113 5 if ($nominal == 1) { }
183 113 0 defined $nominal ? :
186 5 0 defined $nominal ? :