Branch Coverage

blib/lib/Lingua/Stem/Snowball/No.pm
Criterion Covered Total %
branch 37 46 80.4


line true false branch
75 0 1 if ($arg{'use_cache'})
84 0 40935 if ($use_cache)
99 0 20628 if ($self->use_cache)
102 0 0 if $cached_word
106 321 20307 unless $lslen >= 3
114 13909 496007 if (substr($rs, $rslen - $endinglen, $rslen) eq $ending)
116 278 13631 if ($ending eq 'erte' or $ending eq 'ert') { }
409 13222 elsif ($ending eq 's') { }
125 79 330 if ($rslen == 1) { }
127 56 23 if ($wmr1 =~ /[$s_ending]$/o)
132 196 134 if (substr($rs, $rslen - 2, $rslen - 1) =~ /[$s_ending]/o)
136 252 157 if ($valid_s_ending)
151 0 20307 unless $lslen >= 3
155 76 20231 if ($ending eq 'dt' or $ending eq 'vt')
159 0 20307 unless $lslen >= 3
163 1188 218087 if ($rs =~ /\Q$ending\E$/)
169 0 20307 if ($self->use_cache)
187 35943 69189 if ($found_vowel > 0)
188 34171 1772 if (/[^$vowels]/o)
189 34171 0 if ($curpos > 0)
195 36149 34812 if (/[$vowels]/o)
202 285 34171 if $nonv_position < 0
207 6970 27201 if ($leftlen < 3) { }