Condition Coverage

lib/Neo4j/Types/Generic/DateTime.pm
Criterion Covered Total %
condition 18 18 100.0


and 3 conditions

line !l l&&!r l&&r condition
22 2 2 1 $tz and 64 & ord substr($tz, 0, 1)
30 6 4 8 defined $dt->{'seconds'} and not defined $dt->{'nanoseconds'}
33 12 2 4 not defined $dt->{'seconds'} and defined $dt->{'nanoseconds'}
49 4 8 10 not exists $self->{'tz_name'} and defined $self->{'tz_offset'}

or 3 conditions

line l !l&&r !l&&!r condition
54 2 2 4 $hours != int $hours or $hours > 12
4 2 2 $hours != int $hours or $hours > 12 or $hours < -14