Branch Coverage

blib/lib/Lingua/Stem/It.pm
Criterion Covered Total %
branch 27 46 58.7


line true false branch
22 0 2 if $#_ == -1
24 2 0 if (ref $_[0]) { }
35 2 0 if ($key eq '-words') { }
0 0 elsif ($key eq '-exceptions') { }
0 0 elsif ($key eq '-locale') { }
52 0 8 if (exists $$exceptions{$_})
59 0 8 if ($Stem_Caching and exists $$Stem_Cache{$original_word})
66 0 8 if $Stem_Caching
68 2 0 if $Stem_Caching < 2
82 0 103 if ($Stem_Caching and exists $$Stem_Cache{$word})
98 94 9 if ($word =~ /^.[^a\340e\350i\354o\362u\371]/) { }
0 9 elsif ($word =~ /^[a\340e\350i\354o\362u\371][^a\340e\350i\354o\362u\371]/) { }
125 2 101 unless ($R1 =~ s/^.*?[a\340e\350i\354o\362u\371][^a\340e\350i\354o\362u\371]//)
137 101 2 if ($R2)
138 12 89 unless ($R2 =~ s/^.*?[a\340e\350i\354o\362u\371][^a\340e\350i\354o\362u\371]//)
163 100 3 unless stem_killer($RV, '[ae]ndo', '', @pronoun)
263 95 8 if ($step1 == 0)
284 50 53 if ($RV =~ s/i?[aeio\340\350\354\362]$//)
294 1 102 if ($RV =~ s/([cg])h$/$1/)
311 64 20787 if ($where =~ /$pre$P$/)
325 0 0 if (ref $_[0]) { }
331 0 0 if (defined $caching_level)
332 0 0 unless ($caching_level =~ /^[012]$/)