| line |
true |
false |
branch |
|
19
|
0 |
0 |
unless (exists $args{'locale'}) |
|
31
|
0 |
0 |
$args{'units'} ? : |
|
32
|
0 |
0 |
if ($args{'precision'}) |
|
35
|
0 |
0 |
unless $units[$i] eq $args{'precision'} |
|
38
|
0 |
0 |
unless @units |
|
51
|
0 |
0 |
if (grep {$_ < 0;} @duration_vals) { } |
|
52
|
0 |
0 |
if (exists $args{'future'}) |
|
57
|
0 |
0 |
if (exists $args{'past'}) |
|
89
|
0 |
0 |
if ($locale) |
|
90
|
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')) { } |
|
110
|
0 |
0 |
unless $val |
|
113
|
0 |
0 |
if ($val == 1) |
|
118
|
0 |
0 |
if (exists $args{'significant_units'}) |
|
119
|
0 |
0 |
if scalar @parts == $args{'significant_units'} |
|
123
|
0 |
0 |
exists $args{'no_time'} ? : |
|
124
|
0 |
0 |
unless @parts |
|
126
|
0 |
0 |
@parts > 1 ? : |
|
130
|
0 |
0 |
$last ? : |
|
|
0 |
0 |
@parts > 1 ? : |
|
|
0 |
0 |
$last ? : |
|
|
0 |
0 |
$$setup{'no_oxford_comma'} ? : |
|
135
|
0 |
0 |
if ($say) |
|
136
|
0 |
0 |
$say =~ /%s/ ? : |