Branch Coverage

blib/lib/Net/ICal/Recurrence.pm
Criterion Covered Total %
branch 0 126 0.0


line true false branch
115 0 0 unless $name
116 0 0 $delim eq ';' ? :
141 0 0 $b eq 'freq' ? :
0 0 $a eq 'freq' ? :
144 0 0 if $key eq 'name' or $key eq 'content'
146 0 0 if (exists $$val{'value'} and defined $$val{'value'})
148 0 0 if (not ref $value) { }
0 0 elsif (ref $value eq 'ARRAY') { }
0 0 elsif (ref($value) =~ /::/) { }
182 0 0 unless $bfreq =~ /^by(.*)/
184 0 0 unless defined $$self{$bfreq}{'value'}
186 0 0 if ($bywhat eq 'DAY') { }
188 0 0 if ($day) { }
212 0 0 unless (defined $dtstart)
222 0 0 if (not $duration and $dtend)
240 0 0 if (defined(my $runtil = $self->until))
250 0 0 if (defined $bysetpos)
267 0 0 if defined $until and $cstart->as_int > $until
270 0 0 if defined $count and $ccount > $count
273 0 0 if $cstart->as_int > $pend
296 0 0 if (defined(my $hr_byday = $bywhat{'DAY'}))
298 0 0 unless (exists $$hr_byday{$DoW})
309 0 0 if $cstart->as_int < $pstart
312 0 0 if ($duration) { }
318 0 0 unless @coqueue
614 0 0 if (not defined $val or ref $val or int $val != $val or $val < 1)
638 0 0 if (ref $vals eq 'ARRAY') { }
0 0 elsif (not ref $vals) { }
648 0 0 unless (defined $val)
652 0 0 if ($val < $min or $val > $max)
675 0 0 if (ref $vals eq 'ARRAY') { }
0 0 elsif (not ref $vals) { }
678 0 0 if ($vals =~ /,/) { }
689 0 0 unless (defined $val)
693 0 0 unless ($val =~ /$regex/)
718 0 0 if (ref $vals eq 'ARRAY') { }
0 0 elsif (not ref $vals) { }
728 0 0 unless (defined $val)
732 0 0 if (abs $val < $min or abs $val > $max)
761 0 0 if ($rfreq eq 'DAILY') { }
0 0 elsif ($rfreq eq 'WEEKLY') { }
0 0 elsif ($rfreq eq 'MONTHLY') { }
768 0 0 if (keys %bywhat == 0) { }
772 0 0 if (my $hr_days = $bywhat{'DAY'})
776 0 0 if ($cstart->as_int == $dtstart->as_int)
782 0 0 if $tDoW <= $this_dow
785 0 0 if @offsets
789 0 0 unless (@newdays)
810 0 0 if (keys %bywhat == 0) { }
824 0 0 if $nextDD > $DiM
829 0 0 if (my $hr_mdays = $bywhat{'MONTHDAY'})
836 0 0 if ($cstart->as_int == $dtstart->as_int)
840 0 0 if ($dayord > 1) { }
0 0 elsif ($dayord < 0) { }
841 0 0 $dayord > $DiM ? :
844 0 0 $newday < 1 ? :
850 0 0 if $thisDD <= $sDD
859 0 0 unless (@newdays)
869 0 0 if ($dayord > 1) { }
0 0 elsif ($dayord < 0) { }
870 0 0 $dayord > $DiM ? :
873 0 0 $newday < 1 ? :
971 0 0 if (++$MoY > 12)