Branch Coverage

blib/lib/Lingua/Stem/Snowball.pm
Criterion Covered Total %
branch 26 40 65.0


line true false branch
48 1441 0 unless (defined $$self{'encoding'})
49 1 1236 $$self{'lang'} eq 'tr' ? :
102 1237 $$self{'lang'} eq 'ro' ? :
102 1339 $$self{'lang'} eq 'ru' ? :
64 5864 1418 if (UNIVERSAL::isa($_[0], 'HASH')) { }
73 2 7280 unless $$self{'lang'}
76 0 7280 unless ref $words or length $words
79 74 7206 ref $words ? :
84 0 7280 if (ref $is_stemmed)
86 0 0 if ($$self{'stemmer_id'} == -1) { }
91 0 0 if $stems[$_] eq $$words[$_]
98 74 7206 wantarray ? :
103 1460 6 if (defined $lang)
105 0 1460 $lang eq 'dk' ? :
106 1454 6 if (_validate_language($lang)) { }
120 29 0 if (defined $encoding)
121 0 29 unless $encoding =~ /^(?:UTF-8|KOI8-R|ISO-8859-[12])$/
133 1 0 if (defined $boolean)
134 0 1 $$self{'strip_apostrophes'} eq $boolean ? :
142 0 0 if ($locale)