| line |
true |
false |
branch |
|
70
|
0 |
5 |
if ref $self
|
|
76
|
3 |
2 |
unless defined $types and @$types
|
|
79
|
0 |
14 |
if ($PGObject::VERSION =~ /^1\./) { }
|
|
108
|
29 |
2 |
defined $args{'year'} && $args{'year'} > 1 ? :
|
|
109
|
31 |
0 |
defined $args{'hour'} ? :
|
|
110
|
29 |
2 |
defined $args{'time_zone'} ? :
|
|
187
|
8 |
3 |
unless grep {$args{'to'} eq $_;} "hour", "minute", "second"
|
|
200
|
1 |
8 |
unless defined $value
|
|
201
|
1 |
8 |
if $value =~ /^\+?infinity$/
|
|
202
|
1 |
7 |
if $value eq "-infinity"
|
|
203
|
5 |
2 |
if $value =~ /(\d{4})-(\d{2})-(\d{2})/
|
|
205
|
5 |
2 |
if $value =~ /(\d+):(\d+):([0-9.]+)([+-]\d{1,4})?/
|
|
208
|
3 |
4 |
if $tz =~ /([+-]\d{2}$)/
|
|
209
|
5 |
2 |
if $sec
|
|
210
|
5 |
2 |
if $nanosec
|
|
221
|
2 |
5 |
unless defined $hour
|
|
222
|
4 |
3 |
if $tz == $default_tz
|
|
234
|
1 |
7 |
unless $self->is_date or $self->is_time
|
|
240
|
1 |
6 |
$offset > 0 ? :
|
|
243
|
0 |
7 |
if ($offset_min)
|
|
247
|
6 |
1 |
if $self->is_date
|
|
248
|
4 |
3 |
if $self->is_date and $self->is_time
|
|
249
|
5 |
2 |
if $self->is_time
|
|
250
|
3 |
4 |
if $self->time_zone ne $default_tz and $self->is_time
|
|
263
|
0 |
22 |
if (defined $val)
|
|
279
|
2 |
28 |
if (defined $val)
|
|
294
|
4 |
6 |
if (defined $val)
|