line |
true |
false |
branch |
19
|
11 |
0 |
if ($ix <= $x) { } |
40
|
24 |
24 |
unless exists $units_per_second{$_[0]} |
54
|
57 |
0 |
if $p{'epoch'}->can('clone') |
57
|
1 |
56 |
if $p{'dhms'} |
59
|
11 |
46 |
unless ($p{'type'}) |
60
|
1 |
10 |
$p{'unit'} > 1000000 ? : |
66
|
5 |
52 |
unless ($p{'skip_leap_seconds'}) |
78
|
25 |
71 |
unless (ref $self) |
82
|
5 |
27 |
if $$self{'local_epoch'} and $$self{'epoch'}->can('time_zone') and $$self{'epoch'}->time_zone->is_floating and $dt->can('time_zone') and not $dt->time_zone->is_floating |
95
|
16 |
80 |
unless ($$self{'skip_leap_seconds'}) |
100
|
21 |
75 |
if ($$self{'type'} eq 'bigint') |
101
|
2 |
19 |
if ($secs > 2147483647) |
109
|
96 |
0 |
if ($dt->can('nanosecond')) |
111
|
11 |
85 |
if ($$self{'type'} eq 'float') { } |
120
|
5 |
91 |
if ($$self{'dhms'}) |
137
|
7 |
4 |
unless (ref $self) |
141
|
0 |
11 |
if ($$self{'dhms'}) |
160
|
1 |
10 |
if (not $$self{'skip_leap_seconds'}) { } |
163
|
1 |
0 |
if ($rd_secs >= DateTime::LeapSecond::day_length($rd_days)) { } |
|
0 |
0 |
elsif ($rd_secs < 0) { } |
171
|
2 |
8 |
if ($rd_secs >= 86400) |
177
|
1 |
10 |
if UNIVERSAL::isa($rd_days, 'Math::BigInt') |
178
|
1 |
10 |
if UNIVERSAL::isa($rd_secs, 'Math::BigInt') |
185
|
11 |
0 |
unless ($$self{'local_epoch'}) |
186
|
11 |
0 |
if $dt->can('set_time_zone') |