Branch Coverage

blib/lib/Date/Calc/Iterator.pm
Criterion Covered Total %
branch 13 24 54.1


line true false branch
21 0 2 unless exists $parms{'from'} and ref $parms{'from'} eq 'ARRAY'
22 0 2 unless exists $parms{'to'} and ref $parms{'to'} eq 'ARRAY'
23 0 2 if exists $parms{'step'} and not $parms{'step'} =~ /^\d+$/
25 0 2 unless _check_date($parms{'from'})
26 0 2 unless _check_date($parms{'to'})
28 2 0 unless exists $parms{'step'}
42 0 12 if $@
44 1 11 if $$self{'delta'} > $$self{'maxdelta'}
48 0 11 wantarray ? :
55 0 4 unless $y =~ /^\d+$/
56 0 4 unless $m =~ /^\d{1,2}$/ and $m >= 1 and $m <= 12
57 0 4 unless $d =~ /^\d{1,2}$/ and $d >= 1 and $d <= 31