blib/lib/Mojolicious/Plugin/Cron.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 14 | 19 | 73.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
75 | 4 | 0 | 15 | -e $dat && $dat->slurp |
line | l | !l | condition |
---|---|---|---|
24 | 2 | 0 | eval { do { scalar getpwuid $< } } || getlogin || 'nobody' |
42 | 2 | 5 | delete $cronhash->{'all_proc'} // '' |
47 | 6 | 1 | $cronhash->{'base'} //= 'local' |
75 | 15 | 4 | -e $dat && $dat->slurp // '' |
77 | 15 | 4 | $rtime //= '0' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
24 | 0 | 2 | 0 | $app->config->{'cron'}{'dir'} // 'File::Spec'->tmpdir |
45 | 2 | 5 | 0 | $test_key // $sckey |