Branch Coverage

lib/Neo4j/Types/Generic/DateTime.pm
Criterion Covered Total %
branch 16 16 100.0


line true false branch
16 5 13 if (ref $dt eq "")
18 1 4 $dt < 0 ? :
22 1 4 if ($tz and 64 & ord substr($tz, 0, 1)) { }
30 8 10 if (defined $dt->{'seconds'} and not defined $dt->{'nanoseconds'})
33 4 14 if (not defined $dt->{'seconds'} and defined $dt->{'nanoseconds'})
49 10 12 if (not exists $self->{'tz_name'} and defined $self->{'tz_offset'})
50 2 8 if ($self->{'tz_offset'} == 0)
54 4 2 if ($hours != int $hours or $hours > 12 or $hours < -14)