Branch Coverage

lib/Schedule/Chronic.pm
Criterion Covered Total %
branch 0 60 0.0


line true false branch
28 0 0 unless (exists $self{'debug'})
42 0 0 unless (exists $$task{'_sched_constraints_loaded'})
75 0 0 if ($@)
77 0 0 if ($error =~ /Can't locate (\S+)/)
88 0 0 unless $$task{'constraints'}{$constraint}{'_object'} = eval $constructor
96 0 0 unless ($init)
129 0 0 unless (scalar @{$schedule;})
145 0 0 if ($$task{'_task_wait'}->get < $sw)
150 0 0 if $sw > $$self{'max_sw'}
152 0 0 if ($sw > 0)
167 0 0 if ($scheduler_wait->get > 0)
193 0 0 if ($last_ran > 0 and $only_once == 1)
205 0 0 if ($task_wait->get > 0)
233 0 0 if (not $met) { }
242 0 0 if ($wait != 0 and $wait > $task_wait->get)
263 0 0 if ($all_cns_met)
287 0 0 if ($$task{'notify'})
292 0 0 if ($$self{'pending_hup'})
337 0 0 $$task{'_last_rv'} == 0 ? :
340 0 0 unless (-e $sendmail_path)
344 0 0 unless ($sendmail_path)
357 0 0 if $success
358 0 0 unless $success
362 0 0 if $success
363 0 0 unless $success
369 0 0 if exists $$task{'_previous_run'} and $$task{'only_once'} == 0
371 0 0 if $$task{'only_once'}
389 0 0 if ($seconds > 3600) { }
0 0 elsif ($seconds > 60) { }
391 0 0 if ($hours > 24) { }