blib/lib/Lingua/Stem/Pt.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 11 | 24 | 45.8 |
line | true | false | branch |
---|---|---|---|
80 | 0 | 1 | if $#_ == -1 |
82 | 1 | 0 | if (ref $_[0]) { } |
93 | 1 | 2 | if ($key eq '-words') { } |
1 | 1 | elsif ($key eq '-exceptions') { } | |
1 | 0 | elsif ($key eq '-locale') { } | |
108 | 0 | 5 | if (exists $$exceptions{$_}) |
115 | 0 | 5 | if ($Stem_Caching and exists $$Stem_Cache{$original_word}) |
120 | 0 | 5 | if $Stem_Caching |
122 | 1 | 0 | if $Stem_Caching < 2 |
149 | 0 | 0 | if (ref $_[0]) { } |
155 | 0 | 0 | if (defined $caching_level) |
156 | 0 | 0 | unless ($caching_level =~ /^[012]$/) |