Branch Coverage

lib/Neo4j/Driver/Type/DateTime.pm
Criterion Covered Total %
branch 22 22 100.0


line true false branch
19 26 7 if (defined $days)
26 29 4 if (defined $secs)
28 10 19 if (defined $nanos) { }
37 1 28 if ($tz eq 'Z') { }
44 11 17 if (defined $h)
48 4 4 if (not defined $name and $m == 0 and $h >= -12 and $h <= 14)
61 10 35 unless exists $self->{'days'}
68 7 40 unless exists $self->{'seconds'}
75 1 11 unless exists $self->{'nanoseconds'}
82 2 20 unless exists $self->{'tz_name'}
89 13 23 unless exists $self->{'tz_offset'}