Condition Coverage

blib/lib/Mojar/Cron.pm
Criterion Covered Total %
condition 41 47 87.2


and 3 conditions

line !l l&&!r l&&r condition
100 10 0 12 defined $_ and /^\d+$/u
10 12 0 defined $_ and /^\d+$/u and --$_
104 12 3 11 defined $_ and /^\d+$/u
15 11 0 defined $_ and /^\d+$/u and --$_
106 12 11 3 defined $_ and exists $Month{lc $_}
23 3 0 defined $_ and exists $Month{lc $_} and $_ = $Month{lc $_}
111 13 8 19 defined $_ and exists $Weekday{lc $_}
21 19 0 defined $_ and exists $Weekday{lc $_} and $_ = $Weekday{lc $_}
112 13 5 2 defined $end and $end == 0
18 0 2 defined $end and $end == 0 and $val > 0
116 93 21 57 defined $end and ($val += $step) <= $end
118 93 17 4 $field eq "weekday" and $vals[-1] == 7
135 157 75 34 defined $self->{'day'} and defined $self->{'weekday'}
230 463 220 8 $component == 3 and $was_month != $dt->[4]

or 2 conditions

line l !l condition
179 894 250 $self->{$field} // (return 1)

or 3 conditions

line l !l&&r !l&&!r condition
84 6 58 110 not defined $spec or $spec eq "*"