Branch Coverage

blib/lib/Time/Moment/Role/TimeZone.pm
Criterion Covered Total %
branch 4 8 50.0


line true false branch
14 0 2 unless defined $tz and $tz->can('offset_for_datetime')
20 0 2 unless defined $tz and $tz->can('offset_for_local_datetime')
23 0 2 unless (eval { do { $offset = $tz->offset_for_local_datetime($self); 1 } })
27 0 2 if defined $error