Branch Coverage

lib/Time/Activated.pm
Criterion Covered Total %
branch 18 24 75.0


line true false branch
202 26 73 if (ref $stanza eq 'Time::Activated::Before') { }
41 32 elsif (ref $stanza eq 'Time::Activated::After') { }
32 0 elsif (ref $stanza eq 'Time::Activated::Between') { }
203 16 10 if ($now < $stanza->{'before'})
208 33 8 if ($now >= $stanza->{'after'})
213 11 21 if ($stanza->{'after'} > $stanza->{'before'})
218 26 6 if ($now >= $stanza->{'after'} and $now <= $stanza->{'before'})
223 0 0 defined $stanza ? :
254 0 26 unless wantarray
276 0 41 unless wantarray
298 0 32 unless wantarray
332 4 127 ref $iso8601_or_datetime && $iso8601_or_datetime->isa('DateTime') ? :