Branch Coverage

blib/lib/Lingua/Stem/Snowball/Da.pm
Criterion Covered Total %
branch 38 46 82.6


line true false branch
105 658504 14433 unless $endingw eq $_
112 1538 7606 if (substr($rs, -1) eq 's')
114 196 1342 length $rs == 1 ? :
1250 288 if (length $rs == 1 ? exists $s_ending{substr $word, -2, -1} : exists $s_ending{substr $rs, -2, -1})
130 0 23829 if ($$self{'USE_CACHE'})
132 0 0 if defined $Lingua::Stem::Snowball::Da::cache{$word}
136 252 23577 unless $lslen >= 3
143 0 23577 unless $lslen >= 3
145 867 22710 if (substr($rs, -2) =~ /gd|dt|gt|kt/)
149 0 867 unless $lslen >= 3
153 16 23561 if (substr($rs, -4) eq 'igst')
157 0 16 unless $lslen >= 3
159 26 23551 if (substr($rs, -4) eq "l${oe}st")
163 0 26 unless $lslen >= 3
167 1504 91024 if (substr($rs, -$len) eq $_)
171 65 1439 if (substr($rs, -2) =~ /gd|dt|gt|kt/)
180 2247 21330 unless $lslen >= 3 and length $word > 3
183 2029 19301 if ($word =~ /([^$vowels])\1$/o)
188 0 21330 if ($$self{'USE_CACHE'})
204 51011 100292 if (exists $vowels{$_}) { }
49679 50613 elsif ($found_vowel) { }
215 205 49679 if $nonv_position == -1
220 9776 39903 if ($nonv_position < 3) { }