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'})
51 0 0 if (exists $$args_hr{'get_locale_from'}{'locale'}) { }
0 0 elsif ($ns =~ /^DateTime::Locale::/ and exists $$args_hr{'get_locale_from'}{'id'}) { }
52 0 0 exists $$args_hr{'get_locale_from'}{'locale'}{'id'} ? :
63 0 0 $$args_hr{'get_locale_from'} eq $short ? :
67 0 0 if (exists $$args_hr{'base_object'}{'locale_cache'}{$locale})
68 0 0 if ($$args_hr{'base_object'}{'locale_cache'}{$locale}) { }
79 0 0 if (exists $INC{$path} or eval { do { ++$$args_hr{'loads'}{$locale}; require $path } }) { }