Branch Coverage

blib/lib/Lingua/RU/Num2Word.pm
Criterion Covered Total %
branch 22 28 78.5


line true false branch
101 1 25 unless $gender =~ /masculine|feminine|neuter/i
104 1 24 unless $number
109 0 24 if ($number < 0)
129 0 24 if ($negative)
138 0 32 unless defined $sum
144 32 0 if (not $nominal and $sum < 100 or $nominal > 0 and $nominal < 6 and $sum < 1000)
147 9 23 if ($s2 > 0)
154 15 17 if ($sx < 20 and $sx > 0 or $sx == 0 and not $nominal) { }
163 12 5 if ($s1 > 0)
167 12 5 if ($s0 > 0)
173 27 5 if ($nom >= 0)
175 23 4 if ($nominal == 1) { }
176 23 0 defined $nominal ? :
179 4 0 defined $nominal ? :