Branch Coverage

blib/lib/Time/Duration/Concise/Localize.pm
Criterion Covered Total %
branch 13 20 65.0


line true false branch
58 0 25 if $locale
79 2 22 unless ($cached)
82 0 30 if exists $locale_cache{$load_locale}
83 0 30 unless $locale_module->can('translation')
85 2 28 if $load_locale eq $req_locale
89 24 0 $cached ? :
108 0 10 ref $_[0] ? :
114 0 10 if ($whatsit eq 'Time::Duration::Concise::Localize')
118 1 9 unless (defined $interval)
126 9 0 if (exists $params_ref{'locale'})