Branch Coverage

blib/lib/Lingua/Stem/Fr.pm
Criterion Covered Total %
branch 35 66 53.0


line true false branch
29 0 3 if $#_ == -1
31 3 0 if (ref $_[0]) { }
42 3 0 if ($key eq '-words') { }
0 0 elsif ($key eq '-exceptions') { }
0 0 elsif ($key eq '-locale') { }
59 0 12 if (exists $$exceptions{$_})
66 0 12 if ($Stem_Caching and exists $$Stem_Cache{$original_word})
73 0 12 if $Stem_Caching
75 3 0 if $Stem_Caching < 2
88 0 24 if ($Stem_Caching and exists $$Stem_Cache{$word})
109 1 23 if ($word =~ /^[aeiouy\342\340\353\351\352\350\357\356\364\373\371][aeiouy\342\340\353\351\352\350\357\356\364\373\371]/) { }
23 0 elsif ($word =~ /^.+?[aeiouy\342\340\353\351\352\350\357\356\364\373\371].+/) { }
112 0 1 unless ($RV =~ s/^...//)
137 0 24 unless ($R1 =~ s/^.*?[aeiouy\342\340\353\351\352\350\357\356\364\373\371][^aeiouy\342\340\353\351\352\350\357\356\364\373\371]//)
149 24 0 if ($R2)
150 4 20 unless ($R2 =~ s/^.*?[aeiouy\342\340\353\351\352\350\357\356\364\373\371][^aeiouy\342\340\353\351\352\350\357\356\364\373\371]//)
213 0 24 if (nvprec($R1, @suffix))
303 0 24 if (vprec($RV, @suffix))
313 22 2 if ($step1 == 0 or $sufstep2 > 0)
325 0 22 if (nvprec($RV, @suffix))
332 24 0 if ($step2a == 0)
367 11 11 if ($step1 > 0 or $step2a > 0 or $step2b > 0)
370 0 13 if ($word =~ /Y$|\347$/)
377 11 11 if ($step4 == 1 and $step1 == 0 and $step2a == 0 and $step2b == 0)
381 4 7 if ($word =~ /[^aiou\350s]s$/)
397 0 11 if ($R2 =~ /ion$/ and $RV =~ /tion|sion/)
424 0 11 if ($RV =~ /gu\353$/)
456 0 818 if ($where =~ /[^aeiouy\342\340\353\351\352\350\357\356\364\373\371]$p$/)
468 0 48 if ($where =~ /[aeiouy\342\340\353\351\352\350\357\356\364\373\371]$p$/)
480 26 3330 if ($where =~ /$pre$P$/)
494 0 0 if (ref $_[0]) { }
500 0 0 if (defined $caching_level)
501 0 0 unless ($caching_level =~ /^[012]$/)