Branch Coverage

blib/lib/AnyEvent/DateTime/Cron.pm
Criterion Covered Total %
branch 0 48 0.0


line true false branch
17 0 0 unless $key =~ /^(time_zone|quartz)$/
20 0 0 if $params{'time_zone'}
23 0 0 unless defined $params{'quartz'}
39 0 0 ref $_[0] eq 'ARRAY' ? :
45 0 0 if (ref $key eq 'CODE')
49 0 0 unless $key =~ /^(name|single)$/
53 0 0 unless $cb
57 0 0 if ($$self{'_quartz'}) { }
74 0 0 if $$self{'_running'}
84 0 0 ref $_[0] eq 'ARRAY' ? :
87 0 0 if $$self{'_debug'}
90 0 0 if (my $job = delete $$self{'_jobs'}{$_}) { }
0 0 elsif ($$self{'_debug'}) { }
111 0 0 if $$self{'_debug'}
147 0 0 if $time_zone
153 0 0 if ($$self{'_quartz'}) { }
160 0 0 if $time_zone
165 0 0 if $debug
169 0 0 if $debug
177 0 0 if ($$job{'single'} and $$job{'running'}++) { }
178 0 0 if $debug
182 0 0 unless eval { do { $$job{'cb'}($$self{'_cv'}, $job); 1 } }
185 0 0 if $debug
203 0 0 if @_