Branch Coverage

blib/lib/Mojolicious/Plugin/Cron.pm
Criterion Covered Total %
branch 16 20 80.0


line true false branch
17 0 2 unless ref $cronhashes eq "HASH"
27 1 1 if (ref((values %$cronhashes)[0]) eq 'CODE') { }
50 0 7 unless ref $cronhash->{'crontab'} eq ""
52 0 7 unless ref $code eq "CODE"
61 24 4 unless ($all_proc)
66 2 19 if ($all_proc) { }
73 0 19 unless my $handle_sem = $sem->open(">")
76 15 4 if (-e $dat && $dat->slurp // "") =~ /(\d+)/u
79 18 1 if ($rtime != $time)
86 20 1 if $fire