Branch Coverage

blib/lib/DateTimeX/Start.pm
Criterion Covered Total %
branch 11 12 91.6


line true false branch
29 18 31 if (&Scalar::Util::blessed($dt)) { }
37 31 18 unless ref $tz
44 48 1 if (eval { do { $dt->set_time_zone($tz); 1 } })
46 47 1 if (($dt->clone->subtract('seconds', 1)->local_rd_values)[0] < $target_day)
55 12 11 if (('DateTime'->from_epoch('epoch', $epoch * 60, 'time_zone', $tz)->local_rd_values)[0] < $target_day) { }
62 0 2 unless $underflow_epoch < $max_epoch and $max_epoch < $overflow_epoch