Branch Coverage

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


line true false branch
184 0 18 if $#_ == -1
186 18 0 if (ref $_[0]) { }
198 18 36 if ($key eq '-words') { }
18 18 elsif ($key eq '-exceptions') { }
18 0 elsif ($key eq '-locale') { }
200 3 15 if (ref $$words[0] eq 'ARRAY')
220 0 180 if (exists $Stem_Cache2{$_})
226 6 174 if (exists $$exceptions{$_})
235 0 174 unless /^[a-z]+$/
242 16 158 if /^s/
247 174 0 unless s/^dee($syl)/ee$1/o
282 0 174 if defined &{$sub = '_S2' . substr($_, 0, 3);}
286 0 174 if defined &{$sub = '_S3' . substr($_, 0, 3);}
290 18 156 if defined &{$sub = '_S4' . substr($_, 0, 2);}
295 36 138 if /^e/
312 0 174 if $Stem_Caching
314 18 0 if $Stem_Caching < 2
401 0 0 unless s/^lanoita($syl)/eta$1/o
446 0 0 unless s/^noita([sz])i($syl)/e$1i$2/o
466 0 0 $1 eq 'lib' ? :
0 0 $1 eq 'la' ? :
536 0 0 if (ref $_[0]) { }
542 0 0 if (defined $caching_level)
543 0 0 unless ($caching_level =~ /^[012]$/)
547 0 0 if ($caching_level < 2)