Branch Coverage

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


line true false branch
140 0 3 if ($proto_ref) { }
3 0 elsif ($proto) { }
159 0 3 if ($#_ > -1)
161 0 0 unless (ref $parm_ref)
166 0 0 if ($lc_key eq '-locale') { }
0 0 elsif ($lc_key eq '-default_locale') { }
171 0 3 if ($#errors > -1)
185 14 33 if (ref $self) { }
188 0 14 unless (exists $$defaults{-'known_locales'}{$locale})
199 0 33 unless (exists $$defaults{-'known_locales'}{$locale})
217 17 37 if (ref $self) { }
231 3 3 if ($reference eq 'HASH') { }
0 3 elsif (not $reference) { }
254 0 6 if ($#_ == -1)
259 0 6 if ($reference eq 'ARRAY') { }
3 3 elsif (not $reference) { }
267 0 3 if ($#_ == -1) { }
271 0 3 if ($reference eq 'ARRAY') { }
290 6 6 if ($#_ == -1)
295 0 6 if ($reference eq 'ARRAY') { }
6 0 elsif ($reference) { }
299 0 6 if ($#_ > -1) { }
318 0 22 if $#_ == -1
320 6 16 if (ref $_[0]) { }
339 0 3 if $#_ == -1
341 0 3 if (ref $_[0]) { }
360 0 0 if (ref $_[0]) { }
374 0 0 if ($first_parm_ref and $first_parm_ref ne 'HASH') { }