Branch Coverage

blib/lib/Lingua/Stem.pm
Criterion Covered Total %
branch 29 56 51.7


line true false branch
139 0 3 if ($proto_ref) { }
3 0 elsif ($proto) { }
158 0 3 if ($#_ > -1)
160 0 0 unless (ref $parm_ref)
165 0 0 if ($lc_key eq '-locale') { }
0 0 elsif ($lc_key eq '-default_locale') { }
170 0 3 if ($#errors > -1)
184 14 33 if (ref $self) { }
187 0 14 unless (exists $defaults->{'-known_locales'}{$locale})
198 0 33 unless (exists $defaults->{'-known_locales'}{$locale})
216 17 37 if (ref $self) { }
230 3 3 if ($reference eq 'HASH') { }
0 3 elsif (not $reference) { }
253 0 6 if ($#_ == -1)
258 0 6 if ($reference eq 'ARRAY') { }
3 3 elsif (not $reference) { }
266 0 3 if ($#_ == -1) { }
270 0 3 if ($reference eq 'ARRAY') { }
289 6 6 if ($#_ == -1)
294 0 6 if ($reference eq 'ARRAY') { }
6 0 elsif ($reference) { }
298 0 6 if ($#_ > -1) { }
317 0 22 if $#_ == -1
319 6 16 if (ref $_[0]) { }
338 0 3 if $#_ == -1
340 0 3 if (ref $_[0]) { }
359 0 0 if (ref $_[0]) { }
373 0 0 if ($first_parm_ref and $first_parm_ref ne 'HASH') { }