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
74 3 0 2 defined $types and @$types
105 0 2 28 defined $args{'year'} && $args{'year'} > 1
225 1 2 4 $self->is_date and $self->is_time
227 4 0 3 $self->time_zone ne $default_tz and $self->is_time

or 2 conditions

line l !l condition
72 2 3 $registry ||= 'default'
188 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
184 3 4 0 $tz ||= $default_tz
211 6 1 1 $self->is_date or $self->is_time