Branch Coverage

blib/lib/Lingua/Abbreviate/Hierarchy.pm
Criterion Covered Total %
branch 38 50 76.0


line true false branch
156 0 11 if @unk
161 2 9 $$self{'flip'} ? :
162 11 0 if defined $ns
181 0 11 if $$self{'cache'}
184 11 0 'ARRAY' eq ref $_ ? :
194 282 116 if (@path) { }
217 11 0 unless $$self{'cache'}
219 11 0 wantarray ? :
234 33 83 if (defined(my $max = $$self{'max'})) { }
240 31 101 if length $ab <= $max
242 2 0 if (defined(my $trunc = $$self{'trunc'}))
246 0 2 if length $tr > $max
255 22 61 if defined $$self{'keep'}
256 22 61 if defined $$self{'only'}
263 155 597 if $limit-- <= 0
264 26 571 unless $nd and $$nd{$word}
265 482 89 @path ? :
286 5 0 unless $$self{'rev'}
288 5 0 wantarray ? :
293 0 171 defined $$self{'join'} ? :
309 46 47 if $$nnd{'k'}
317 0 5 unless $$self{'cache'}
337 240 20 $len < length $_ ? :
342 84 23 unless @bad
353 73 98 if $$nd{$k}{'k'}