Branch Coverage

blib/lib/Lingua/Stem/Cistem.pm
Criterion Covered Total %
branch 32 32 100.0


line true false branch
42 3 25 if (length $word > 5 and $word =~ s/e[mr]$// || $word =~ s/nd$//) { }
5 20 elsif (!$upper || $case_insensitive and $word =~ s/t$//) { }
3 17 elsif ($word =~ s/[esn]$//) { }
74 3 18 if (length $word > 5 and $word =~ s/(e[mr])$// || $word =~ s/(nd)$//) { }
5 13 elsif (!$upper || $case_insensitive and $word =~ s/t$//) { }
3 10 elsif ($word =~ s/([esn])$//) { }
94 11 26 if ($suffix_length)
113 49 2 unless $keep_ge_prefix
126 3 29 if ($length > 5 and $word =~ s/e[mr]$// || $word =~ s/nd$//) { }
5 24 elsif (!$ucfirst || $case_insensitive and $word =~ s/t$//) { }
5 19 elsif ($word =~ s/[esn]$//) { }
155 2 49 if (not $keep_ge_prefix and $word =~ s/^ge(.{4,})/$1/)
173 3 29 if ($length > 5 and $word =~ s/(e[mr])$// || $word =~ s/(nd)$//) { }
5 24 elsif (!$ucfirst || $case_insensitive and $word =~ s/t$//) { }
5 19 elsif ($word =~ s/([esn])$//) { }
196 13 38 if ($suffix_length)