Branch Coverage

blib/lib/DateTime/Format/Human/Duration/Locale.pm
Criterion Covered Total %
branch 0 30 0.0


line true false branch
18 0 0 if ($final)
19 0 0 if ref $final
24 0 0 if ($ns->can('get_human_span_from_units_array')) { }
0 0 elsif ($ns->can('get_human_span_from_units')) { }
0 0 elsif (my $sub = $ns->can('get_human_span_hashref')) { }
34 0 0 if (exists $span->{'locale_cache'}{$final})
46 0 0 unless $args_hr->{'get_locale_from'}
48 0 0 if (ref $args_hr->{'get_locale_from'})
50 0 0 if (UNIVERSAL::can($args_hr->{'get_locale_from'}, 'locale')) { }
57 0 0 if (UNIVERSAL::can($locale_obj, 'code')) { }
0 0 elsif (UNIVERSAL::can($locale_obj, 'id')) { }
72 0 0 $args_hr->{'get_locale_from'} eq $short ? :
76 0 0 if (exists $args_hr->{'base_object'}{'locale_cache'}{$locale})
77 0 0 if ($args_hr->{'base_object'}{'locale_cache'}{$locale}) { }
88 0 0 if (exists $INC{$path} or eval { do { ++$args_hr->{'loads'}{$locale}; require $path } }) { }