Condition Coverage

blib/lib/PGObject/Type/DateTime.pm
Criterion Covered Total %
condition 31 36 86.1


and 3 conditions

line !l l&&!r l&&r condition
76 3 0 2 defined $types and @$types
108 0 2 29 defined $args{'year'} && $args{'year'} > 1
248 1 2 4 $self->is_date and $self->is_time
250 4 0 3 $self->time_zone ne $default_tz and $self->is_time

or 2 conditions

line l !l condition
74 2 3 $registry ||= "default"
211 5 2 $year || 1
5 2 $month || 1
5 2 $day || 1
5 2 $hour || 0
5 2 $min || 0
5 2 $sec || 0
2 5 $nanosec || 0
7 0 $tz || 0

or 3 conditions

line l !l&&r !l&&!r condition
207 3 4 0 $tz ||= $default_tz
234 6 1 1 $self->is_date or $self->is_time