blib/lib/ParseCron.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 126 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
99 | 0 | 0 | 0 | not $posix and $crontab =~ /^([^= \t]+)[ \t]*=[ \t]*\"(.*)\"[ \t]*$/s |
0 | 0 | 0 | not $posix and $crontab =~ /^([^= \t]+)[ \t]*=[ \t]*\'(.*)\'[ \t]*$/s | |
0 | 0 | 0 | not $posix and $crontab =~ /^([^= \t]+)[ \t]*=(.*)/s | |
0 | 0 | 0 | not $posix and $crontab =~ /^\@(\w+)[ \t]+(.*)/s | |
0 | 0 | 0 | not $posix and $crontab =~ /^\@(\w+)[ \t]+(.*)/s and exists $atword{lc $1} | |
0 | 0 | 0 | @bits = split(/[ \t]+/, $crontab, 5) and @bits == 5 | |
162 | 0 | 0 | 0 | @command == 2 and $command[1] eq '' |
211 | 0 | 0 | 0 | not $posix and $bits[$i] =~ m[^\*/(\d+)$]s |
284 | 0 | 0 | 0 | @{$bits[0];} == 1 and @{$bits[1];} == 1 |
0 | 0 | 0 | @{$bits[0];} == 1 and @{$bits[1];} == 1 and @{$bits[0][0];} == 1 | |
0 | 0 | 0 | @{$bits[0];} == 1 and @{$bits[1];} == 1 and @{$bits[0][0];} == 1 and @{$bits[1][0];} == 1 | |
0 | 0 | 0 | @{$bits[0];} == 1 and @{$bits[1];} == 1 and @{$bits[0][0];} == 1 and @{$bits[1][0];} == 1 and $bits[0][0][0] ne '*' | |
0 | 0 | 0 | @{$bits[0];} == 1 and @{$bits[1];} == 1 and @{$bits[0][0];} == 1 and @{$bits[1][0];} == 1 and $bits[0][0][0] ne '*' and $bits[1][0][0] ne '*' | |
307 | 0 | 0 | 0 | @{$bits[0];} == 1 and $bits[0][0][0] == 0 |
394 | 0 | 0 | 0 | @hunks > 1 and not grep((!/^the /s), @hunks) |
459 | 0 | 0 | 0 | $bits[4][0][0] eq '*' and @{$bits[4][0];} == 1 || $bits[4][0][1] == 1 |
469 | 0 | 0 | 0 | $time_lines[-2] eq 'every day of' and $time_lines[-1] eq 'every month' |
596 | 0 | 0 | 0 | defined $_[0] and 0 + $_[0] |
line | l | !l | condition |
---|---|---|---|
624 | 0 | 0 | $_[0] || 0 |
645 | 0 | 0 | $_[0] || 0 |
653 | 0 | 0 | $_[0] || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
308 | 0 | 0 | 0 | 1 == @{$bits[0][0];} or $bits[0][0][1] == 1 |
342 | 0 | 0 | 0 | 1 == @{$bits[1][0];} or $bits[1][0][1] == 1 |
351 | 0 | 0 | 0 | $mil2ampm{$$bit[0]} || "HOUR_$$bit[0]??" |
353 | 0 | 0 | 0 | $mil2ampm{$$bit[0]} || "HOUR_$$bit[0]??" |
0 | 0 | 0 | $mil2ampm{$$bit[1]} || "HOUR_$$bit[1]??" | |
357 | 0 | 0 | 0 | $mil2ampm{$$bit[0]} || "HOUR_$$bit[0]??" |
0 | 0 | 0 | $mil2ampm{$$bit[1]} || "HOUR_$$bit[1]??" | |
372 | 0 | 0 | 0 | 1 == @{$bits[2][0];} or $bits[2][0][1] == 1 |
404 | 0 | 0 | 0 | 1 == @{$bits[3][0];} or $bits[3][0][1] == 1 |
413 | 0 | 0 | 0 | $num2month_long{$$bit[0]} || "MONTH_$$bit[0]??" |
415 | 0 | 0 | 0 | $num2month_long{$$bit[0]} || "MONTH_$$bit[0]??" |
0 | 0 | 0 | $num2month_long{$$bit[1]} || "MONTH_$$bit[1]??" | |
419 | 0 | 0 | 0 | $num2month_long{$$bit[0]} || "MONTH_$$bit[0]??" |
0 | 0 | 0 | $num2month_long{$$bit[1]} || "MONTH_$$bit[1]??" | |
459 | 0 | 0 | 0 | @{$bits[4][0];} == 1 || $bits[4][0][1] == 1 |
484 | 0 | 0 | 0 | $num2dow_long{$$bit[0]} || "DOW_$$bit[0]??" |
500 | 0 | 0 | 0 | $num2dow_long{$$bit[0]} || "DOW_$$bit[0]??" |
0 | 0 | 0 | $num2dow_long{$$bit[1]} || "DOW_$$bit[1]??" | |
505 | 0 | 0 | 0 | $num2dow_long{$$bit[0]} || "DOW_$$bit[0]??" |
0 | 0 | 0 | $num2dow_long{$$bit[1]} || "DOW_$$bit[1]??" | |
601 | 0 | 0 | 0 | $n == 11 or $n == 12 |
0 | 0 | 0 | $n == 11 or $n == 12 or $n == 13 |