Branch Coverage

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


line true false branch
196 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') { }
197 16 10 if ($now < $stanza->{'before'})
202 33 8 if ($now >= $stanza->{'after'})
207 11 21 if ($stanza->{'after'} > $stanza->{'before'})
212 26 6 if ($now >= $stanza->{'after'} and $now <= $stanza->{'before'})
217 0 0 defined $stanza ? :
248 0 26 unless wantarray
270 0 41 unless wantarray
292 0 32 unless wantarray
326 4 127 ref $iso8601_or_datetime && $iso8601_or_datetime->isa('DateTime') ? :