Condition Coverage

blib/lib/Data/ICal/DateTime.pm
Criterion Covered Total %
condition 32 46 69.5


and 3 conditions

line !l l&&!r l&&r condition
280 1471 484 41 defined $new and $new != $cur
316 30 0 4 defined $new and $new != $cur
670 12 236 16 not $e{'recur'} and $e{'span'}->intersects($span)
679 252 0 12 $e{'recur'} and $e{'recur'}->intersects($span)
687 36 3 1 $e{'exrule'} and $e{'exrule'}->contains($dt)
688 39 0 0 $e{'exdate'} and $e{'exdate'}->contains($dt)
819 156 236 0 defined $e{'end'} and defined $e{'duration'}

or 2 conditions

line l !l condition
201 1812 0 $self->property('dtstart') || (return undef)
243 1464 168 $self->property('dtend') || (return undef)
278 328 1668 defined $dtend && defined $dtend->[0]->parameters->{'VALUE'} && $dtend->[0]->parameters->{'VALUE'} eq 'DATE' || 0
353 155 239 $self->property('duration') || (return undef)
379 0 392 $self->property('period') || (return undef)
491 786 0 $self->start || (return undef)
531 6 445 $self->property('recurrence-id') || (return undef)
550 799 0 $self->property($name) || (return undef)

or 3 conditions

line l !l&&r !l&&!r condition
781 7 0 121 !$e{'recur'} && $e{'span'}->intersects($span) || $e{'recur'} && $e{'recur'}->intersection($span)
804 0 0 0 defined $e{'start'} or defined $e{'end'}
837 390 2 0 $e{'end'} || $e{'start'}->clone->add('seconds', 1)