line |
true |
false |
branch |
68
|
0 |
5 |
if ref $self
|
74
|
3 |
2 |
unless defined $types and @$types
|
77
|
14 |
0 |
if ($PGObject::VERSION =~ /1\.*/) { }
|
105
|
28 |
2 |
defined $args{'year'} && $args{'year'} > 1 ? :
|
106
|
30 |
0 |
defined $args{'hour'} ? :
|
107
|
28 |
2 |
defined $args{'time_zone'} ? :
|
166
|
8 |
3 |
unless grep {$args{'to'} eq $_;} 'hour', 'minute', 'second'
|
179
|
1 |
6 |
unless defined $value
|
180
|
5 |
2 |
if $value =~ /(\d{4})-(\d{2})-(\d{2})/
|
182
|
5 |
2 |
if $value =~ /(\d+):(\d+):([0-9.]+)([+-]\d{1,4})?/
|
185
|
3 |
4 |
if $tz =~ /([+-]\d{2}$)/
|
186
|
5 |
2 |
if $sec
|
187
|
5 |
2 |
if $nanosec
|
198
|
2 |
5 |
unless defined $hour
|
199
|
4 |
3 |
if $tz == $default_tz
|
211
|
1 |
7 |
unless $self->is_date or $self->is_time
|
217
|
1 |
6 |
$offset > 0 ? :
|
220
|
0 |
7 |
if ($offset_min)
|
224
|
6 |
1 |
if $self->is_date
|
225
|
4 |
3 |
if $self->is_date and $self->is_time
|
226
|
5 |
2 |
if $self->is_time
|
227
|
3 |
4 |
if $self->time_zone ne $default_tz and $self->is_time
|
240
|
0 |
22 |
if (defined $val)
|
256
|
2 |
28 |
if (defined $val)
|
271
|
4 |
6 |
if (defined $val)
|