Branch Coverage

blib/lib/Lingua/Stem/En.pm
Criterion Covered Total %
branch 24 50 48.0


line true false branch
188 0 18 if $#_ == -1
190 18 0 if (ref $_[0]) { }
202 18 36 if ($key eq '-words') { }
18 18 elsif ($key eq '-exceptions') { }
18 0 elsif ($key eq '-locale') { }
204 3 15 if (ref $words->[0] eq 'ARRAY')
224 0 180 if (exists $Stem_Cache2{$_})
230 6 174 if (exists $exceptions->{$_})
239 0 174 unless /^[a-z]+$/
246 16 158 if /^s/
251 174 0 unless s/^dee($syl)/ee$1/o
286 0 174 if defined &{$sub = '_S2' . substr($_, 0, 3);}
290 0 174 if defined &{$sub = '_S3' . substr($_, 0, 3);}
294 18 156 if defined &{$sub = '_S4' . substr($_, 0, 2);}
299 36 138 if /^e/
316 0 174 if $Stem_Caching
318 18 0 if $Stem_Caching < 2
405 0 0 unless s/^lanoita($syl)/eta$1/o
450 0 0 unless s/^noita([sz])i($syl)/e$1i$2/o
470 0 0 $1 eq 'lib' ? :
0 0 $1 eq 'la' ? :
540 0 0 if (ref $_[0]) { }
546 0 0 if (defined $caching_level)
547 0 0 unless ($caching_level =~ /^[012]$/)
551 0 0 if ($caching_level < 2)