| line |
true |
false |
branch |
|
19
|
9 |
0 |
unless (exists $args{'locale'}) |
|
31
|
3 |
27 |
$args{'units'} ? : |
|
32
|
0 |
30 |
if ($args{'precision'}) |
|
35
|
0 |
0 |
unless $units[$i] eq $args{'precision'} |
|
38
|
0 |
0 |
unless @units |
|
51
|
23 |
7 |
if (grep {$_ < 0;} @duration_vals) { } |
|
52
|
4 |
19 |
if (exists $args{'future'}) |
|
57
|
2 |
5 |
if (exists $args{'past'}) |
|
89
|
7 |
23 |
if ($locale) |
|
90
|
5 |
2 |
if (ref $locale eq 'HASH') { } |
|
|
0 |
2 |
elsif (my $get1 = $locale->can('get_human_span_from_units_array')) { } |
|
|
2 |
0 |
elsif (my $get2 = $locale->can('get_human_span_from_units')) { } |
|
110
|
153 |
46 |
unless $val |
|
113
|
21 |
25 |
if ($val == 1) |
|
118
|
13 |
33 |
if (exists $args{'significant_units'}) |
|
119
|
4 |
9 |
if scalar @parts == $args{'significant_units'} |
|
123
|
2 |
26 |
exists $args{'no_time'} ? : |
|
124
|
3 |
25 |
unless @parts |
|
126
|
15 |
10 |
@parts > 1 ? : |
|
130
|
4 |
1 |
$last ? : |
|
|
3 |
17 |
@parts > 1 ? : |
|
|
11 |
9 |
$last ? : |
|
|
5 |
20 |
$$setup{'no_oxford_comma'} ? : |
|
135
|
4 |
21 |
if ($say) |
|
136
|
3 |
1 |
$say =~ /%s/ ? : |