Branch Coverage

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


line true false branch
19 0 0 unless (exists $args{'locale'})
21 0 0 if (UNIVERSAL::can($locale_obj, 'code')) { }
36 0 0 $args{'units'} ? :
37 0 0 if ($args{'precision'})
40 0 0 unless $units[$i] eq $args{'precision'}
43 0 0 unless @units
56 0 0 if (grep {$_ < 0;} @duration_vals) { }
57 0 0 if (exists $args{'future'})
62 0 0 if (exists $args{'past'})
94 0 0 if ($locale)
95 0 0 if (ref $locale eq 'HASH') { }
0 0 elsif (my $get1 = $locale->can('get_human_span_from_units_array')) { }
0 0 elsif (my $get2 = $locale->can('get_human_span_from_units')) { }
115 0 0 unless $val
118 0 0 if ($val == 1)
123 0 0 if (exists $args{'significant_units'})
124 0 0 if scalar @parts == $args{'significant_units'}
128 0 0 exists $args{'no_time'} ? :
129 0 0 unless @parts
131 0 0 @parts > 1 ? :
135 0 0 $last ? :
0 0 @parts > 1 ? :
0 0 $last ? :
0 0 $setup->{'no_oxford_comma'} ? :
140 0 0 if ($say)
141 0 0 $say =~ /%s/ ? :