Condition Coverage

blib/lib/Algorithm/Cron.pm
Criterion Covered Total %
condition 37 44 84.0


and 3 conditions

line !l l&&!r l&&r condition
173 9 3 8 defined $_ and /^\d+$/
12 8 0 defined $_ and /^\d+$/ and --$_
175 9 8 3 defined $_ and exists $MONTHS{lc $_}
17 3 0 defined $_ and exists $MONTHS{lc $_} and $_ = $MONTHS{lc $_}
179 7 5 10 defined $_ and exists $WDAYS{lc $_}
12 10 0 defined $_ and exists $WDAYS{lc $_} and $_ = $WDAYS{lc $_}
180 7 3 1 defined $end and $end == 0
10 0 1 defined $end and $end == 0 and $val > 0
187 73 14 52 defined $end and ($val += $step) <= $end
189 76 9 2 $kind eq 'wday' and $vals[-1] == 7
327 295 533 0 $_ >= $old and $new = $_, last
375 351 176 6 $idx == 3 and $was_mon != $$t[4]
408 127 84 29 defined $$self{'mday'} and defined $$self{'wday'}

or 2 conditions

line l !l condition
274 48 72 not defined $$self{$_} or scalar @{$$self{$_};}

or 3 conditions

line l !l&&r !l&&!r condition
184 14 0 0 $end =~ /^\d+$/ or croak("$end is unrecognised for $kind")