Branch Coverage

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


line true false branch
54 0 25 if $locale
75 2 22 unless ($cached)
78 0 30 if exists $locale_cache{$load_locale}
79 0 30 unless $locale_module->can("translation")
81 2 28 if $load_locale eq $req_locale
85 24 0 $cached ? :
104 0 10 ref $_[0] ? :
110 0 10 if ($whatsit eq "Time::Duration::Concise::Localize")
114 1 9 unless (defined $interval)
122 9 0 if (exists $params_ref{'locale'})