Condition Coverage

blib/lib/Date/Calc/Iterator.pm
Criterion Covered Total %
condition 8 24 33.3


and 3 conditions

line !l l&&!r l&&r condition
21 0 0 2 exists $parms{'from'} and ref $parms{'from'} eq 'ARRAY'
22 0 0 2 exists $parms{'to'} and ref $parms{'to'} eq 'ARRAY'
23 2 0 0 exists $parms{'step'} and not $parms{'step'} =~ /^\d+$/
56 0 0 4 $m =~ /^\d{1,2}$/ and $m >= 1
0 0 4 $m =~ /^\d{1,2}$/ and $m >= 1 and $m <= 12
57 0 0 4 $d =~ /^\d{1,2}$/ and $d >= 1
0 0 4 $d =~ /^\d{1,2}$/ and $d >= 1 and $d <= 31

or 3 conditions

line l !l&&r !l&&!r condition
19 0 2 0 ref $self || $self