| line |
true |
false |
branch |
|
67
|
0 |
14 |
unless exists $args{'job'}
|
|
69
|
0 |
14 |
unless $job->isa("TheSchwartz::JobScheduler::Job")
|
|
73
|
13 |
1 |
if ref $job->arg
|
|
80
|
3 |
11 |
exists $args{'dbh_callback'} ? :
|
|
96
|
2 |
12 |
if ($job->uniqkey and $self->opts->{'handle_uniqkey'} eq "acknowledge")
|
|
123
|
2 |
0 |
if @job_ids
|
|
140
|
11 |
0 |
if defined $jobid
|
|
153
|
20 |
7 |
unless (exists $self->_funcmap->{$dbid})
|
|
164
|
12 |
15 |
unless (exists $self->_funcmap->{$dbid}{$funcname})
|
|
169
|
1 |
11 |
unless ($r)
|
|
177
|
1 |
11 |
if ($TheSchwartz::JobScheduler::EVAL_ERROR)
|
|
180
|
0 |
1 |
unless $id = $sth->fetchrow_arrayref->[0]
|
|
197
|
0 |
23 |
if ($driver eq 'mysql') { }
|
|
|
0 |
23 |
elsif ($driver eq 'Pg') { }
|
|
|
23 |
0 |
elsif ($driver eq 'SQLite') { }
|
|
214
|
0 |
6 |
unless exists $args{'search_params'}
|
|
217
|
0 |
6 |
unless exists $search_params->{'funcname'}
|
|
225
|
0 |
6 |
if exists $search_params->{'run_after'}
|
|
232
|
0 |
6 |
if exists $search_params->{'grabbed_until'}
|
|
234
|
0 |
6 |
if ($search_params->{'coalesce'})
|
|
247
|
4 |
6 |
exists $args{'dbh_callback'} ? :
|
|
276
|
0 |
10 |
unless ($r)
|
|
291
|
59 |
12 |
if $col ne "arg"
|
|
294
|
0 |
12 |
if ($driver eq 'Pg') { }
|
|
|
12 |
0 |
elsif ($driver eq 'SQLite') { }
|
|
309
|
8 |
1 |
if ($magic and $magic->{'major'} and $magic->{'major'} >= 2 and $magic->{'major'} <= 5) { }
|
|
315
|
0 |
8 |
if ($@)
|
|
332
|
19 |
12 |
if (ref $dbh_callback eq 'CODE') { }
|
|
340
|
1 |
11 |
if ($TheSchwartz::JobScheduler::EVAL_ERROR)
|
|
346
|
1 |
10 |
if ($TheSchwartz::JobScheduler::EVAL_ERROR)
|
|
351
|
1 |
9 |
if ($TheSchwartz::JobScheduler::EVAL_ERROR)
|