Branch Coverage

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


line true false branch
186 0 18 if $#_ == -1
188 18 0 if (ref $_[0]) { }
200 18 36 if ($key eq '-words') { }
18 18 elsif ($key eq '-exceptions') { }
18 0 elsif ($key eq '-locale') { }
202 3 15 if (ref $words->[0] eq 'ARRAY')
222 0 180 if (exists $Stem_Cache2{$_})
228 6 174 if (exists $exceptions->{$_})
237 0 174 unless /^[a-z]+$/
244 16 158 if /^s/
249 174 0 unless s/^dee($syl)/ee$1/o
284 0 174 if defined &{$sub = '_S2' . substr($_, 0, 3);}
288 0 174 if defined &{$sub = '_S3' . substr($_, 0, 3);}
292 18 156 if defined &{$sub = '_S4' . substr($_, 0, 2);}
297 36 138 if /^e/
314 0 174 if $Stem_Caching
316 18 0 if $Stem_Caching < 2
403 0 0 unless s/^lanoita($syl)/eta$1/o
448 0 0 unless s/^noita([sz])i($syl)/e$1i$2/o
468 0 0 $1 eq 'lib' ? :
0 0 $1 eq 'la' ? :
538 0 0 if (ref $_[0]) { }
544 0 0 if (defined $caching_level)
545 0 0 unless ($caching_level =~ /^[012]$/)
549 0 0 if ($caching_level < 2)