line |
true |
false |
branch |
19
|
2 |
31 |
if ($cronline =~ /^\s*#/) |
20
|
1 |
30 |
if ($cronline =~ /^\w+=\S+/) |
21
|
2 |
28 |
unless ($cronline =~ /^\s*\S+\s+\S+\s+\S+\s+\S+\s+\S+/) |
39
|
0 |
28 |
if (exists $opts{'Seconds'}) { } |
|
26 |
2 |
elsif (exists $opts{'Date'}) { } |
46
|
0 |
26 |
if ($date[0] < 0 or $date[0] > 59) |
49
|
0 |
26 |
if ($date[1] < 0 or $date[1] > 59) |
52
|
0 |
26 |
if ($date[2] < 0 or $date[2] > 23) |
55
|
0 |
26 |
if ($date[3] < 1 or $date[2] > 31) |
58
|
0 |
26 |
if ($date[4] < 0 or $date[4] > 11) |
61
|
1 |
25 |
if (time < 2147483648 and $date[5] > 137) |
122
|
0 |
35 |
unless (@_ == 6) |
133
|
30 |
5 |
if ($exact) { } |
137
|
14 |
16 |
if ($exact) { } |
140
|
11 |
3 |
if ($exact) { } |
143
|
6 |
5 |
if ($pos == -1) |
148
|
0 |
3 |
if ($pos == -1) |
155
|
6 |
10 |
if ($pos == -1) |
164
|
3 |
2 |
if (not $rv or $pos == -1) |
183
|
0 |
27 |
if (@crondate < 5) |
193
|
18 |
9 |
if (@{$ranges{'daynums'};} and $ranges{'daynums'}[0] == 0) |
199
|
22 |
5 |
if (@{$ranges{'months'};} and $ranges{'months'}[0] == 0) |
205
|
20 |
7 |
if (@{$ranges{'weekdays'};} and $ranges{'weekdays'}[-1] == 7) |
207
|
1 |
19 |
if (not @{$ranges{'weekdays'};} or $ranges{'weekdays'}[0] != 0) |
213
|
3 |
24 |
if ($crondate[2] ne '*' and $crondate[4] ne '*') { } |
|
5 |
19 |
elsif ($crondate[2] eq '*' and $crondate[4] ne '*') { } |
|
8 |
11 |
elsif ($crondate[4] eq '*' and $crondate[2] ne '*') { } |
225
|
2 |
77 |
unless (@{$ranges{$_};}) |
227
|
1 |
24 |
unless (@{$ranges{'weekdays'};} or @{$ranges{'daynums'};}) |
230
|
1 |
23 |
if ($ranges{'minutes'}[-1] > 59) |
231
|
1 |
22 |
if ($ranges{'hours'}[-1] > 23) |
232
|
1 |
21 |
if ($ranges{'months'}[-1] > 12) |
233
|
1 |
20 |
if (@{$ranges{'daynums'};} and $ranges{'daynums'}[-1] > 31) |
234
|
1 |
19 |
if (@{$ranges{'weekdays'};} and $ranges{'weekdays'}[-1] > 6) |
244
|
60 |
853 |
if ($set[$flag] == $val) { } |
|
16 |
837 |
elsif ($set[$flag] > $val) { } |
270
|
45 |
63 |
if ($monthnum == 2) |
274
|
152 |
172 |
if ($_ > $maxday) |
284
|
12 |
150 |
if $monthday < 1 |
285
|
32 |
118 |
if $monthday > $maxday |
298
|
58 |
18 |
if ($self->{'pd'} == 0 or $self->{'pd'} > $#{$$self{'h'};}) |
307
|
46 |
12 |
if ($self->{'pc'} == 0 or $self->{'pc'} > $#{$$self{'g'};}) |
316
|
24 |
28 |
if ($self->{'pb'} == 0 or $self->{'pb'} > $#{$$self{'f'};}) |
331
|
21 |
22 |
if ($self->{'pa'} == 0 or $self->{'pa'} > $#{$$self{'e'};}) |
337
|
1 |
20 |
if (scalar(@{$self->{'set_e_checked_years'};} > 5)) |
344
|
16 |
26 |
unless ($rv) |
356
|
38 |
4 |
if ($self->{'pd'} == -1) |
365
|
30 |
8 |
if ($self->{'pc'} == -1) |
374
|
19 |
11 |
if ($self->{'pb'} == -1) |
383
|
16 |
15 |
if ($self->{'pa'} == -1) |
388
|
12 |
19 |
unless ($rv) |
397
|
50 |
166 |
!($year % 400) || !($year % 4) && $year % 100 ? : |
404
|
25 |
83 |
$flag ? : |
|
25 |
83 |
$flag ? : |