blib/lib/Lingua/Stem/Cistem.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 50 | 59 | 84.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
42 | 25 | 0 | 3 | length $word > 5 and $word =~ s/e[mr]$// || $word =~ s/nd$// |
13 | 7 | 5 | !$upper || $case_insensitive and $word =~ s/t$// | |
74 | 18 | 0 | 3 | length $word > 5 and $word =~ s/(e[mr])$// || $word =~ s/(nd)$// |
13 | 0 | 5 | !$upper || $case_insensitive and $word =~ s/t$// | |
126 | 24 | 5 | 3 | $length > 5 and $word =~ s/e[mr]$// || $word =~ s/nd$// |
17 | 7 | 5 | !$ucfirst || $case_insensitive and $word =~ s/t$// | |
155 | 2 | 47 | 2 | not $keep_ge_prefix and $word =~ s/^ge(.{4,})/$1/ |
173 | 24 | 5 | 3 | $length > 5 and $word =~ s/(e[mr])$// || $word =~ s/(nd)$// |
17 | 7 | 5 | !$ucfirst || $case_insensitive and $word =~ s/t$// |
line | l | !l | condition |
---|---|---|---|
25 | 43 | 0 | shift() // '' |
57 | 37 | 0 | shift() // '' |
102 | 51 | 0 | shift() // '' |
143 | 51 | 0 | shift() // '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
42 | 2 | 1 | 0 | $word =~ s/e[mr]$// || $word =~ s/nd$// |
10 | 2 | 13 | !$upper || $case_insensitive | |
74 | 2 | 1 | 0 | $word =~ s/(e[mr])$// || $word =~ s/(nd)$// |
3 | 2 | 13 | !$upper || $case_insensitive | |
126 | 2 | 1 | 5 | $word =~ s/e[mr]$// || $word =~ s/nd$// |
10 | 2 | 17 | !$ucfirst || $case_insensitive | |
173 | 2 | 1 | 5 | $word =~ s/(e[mr])$// || $word =~ s/(nd)$// |
10 | 2 | 17 | !$ucfirst || $case_insensitive |