Branch Coverage

blib/lib/Lingua/Stem/Snowball/Se.pm
Criterion Covered Total %
branch 40 50 80.0


line true false branch
67 0 1 if ($arg{'use_cache'})
75 0 60756 if ($use_cache)
86 0 30623 if ($self->use_cache)
89 0 0 if $cached_word
93 490 30133 unless $lslen >= 3
101 19151 959820 if (substr($rs, $rslen - $endinglen, $rslen) eq $ending)
102 1225 17926 if ($ending eq 's') { }
105 184 1041 if ($rslen == 1) { }
107 151 33 if ($wmr1 =~ /[$s_ending]$/o)
112 831 210 if (substr($rs, $rslen - 2, $rslen - 1) =~ /[$s_ending]/o)
116 982 243 if ($valid_s_ending)
131 0 30133 unless $lslen >= 3
135 2116 28017 if ($ending =~ /dd|gd|nn|dt|gt|kt|tt/)
139 0 30133 unless $lslen >= 3
143 2418 146417 if ($rs =~ /\Q$ending\E$/)
145 2348 70 if ($ending =~ /lig|ig|els/)
151 39 31 if ($ending eq "l${oe}st")
157 31 0 if ($ending eq 'fullt')
166 0 30133 if ($self->use_cache)
184 52233 107026 if ($found_vowel > 0)
185 51221 1012 if (/[^$vowels]/o)
186 51221 0 if ($curpos > 0)
192 52526 55512 if (/[$vowels]/o)
199 426 51221 if $nonv_position < 0
204 9421 41800 if ($leftlen < 3) { }