Branch Coverage

blib/lib/Lingua/UK/Numbers.pm
Criterion Covered Total %
branch 35 40 87.5


line true false branch
74 1 4 if $sum == 0
79 4 0 $sum >= 1 ? :
81 1 3 if $sum_hrn - $sum > 0
91 1 8 if $sum_hrn - $sum_tmp > 0
94 1 3 if $out_hrn == 0
102 0 10 if $gender ne 'FEMININE' and $gender ne 'MASCULINE'
104 2 8 if $sum == 0
106 4 4 $gender eq 'FEMININE' ? :
4 4 $gender eq 'FEMININE' ? :
118 0 8 if $sum_words - $sum > 0
125 2 16 if $sum_words - $sum_tmp > 0
139 31 0 if ($nominal == 0 and $sum < 100 or $nominal > 0 and $nominal < 6 and $sum < 1000)
141 12 19 if ($s2 > 0)
146 0 31 if $sx - ($sum - $s2 * 100) > 0
148 12 19 if ($sx < 20 and $sx > 0 or $sx == 0 and $nominal == 0) { }
153 4 15 if $s1 - $sx / 10 > 0
155 10 9 if ($s1 > 0)
159 10 9 if ($s0 > 0)
165 22 9 if ($nom >= 0)
167 9 13 if $nominal == 1