Branch Coverage

blib/lib/TheSchwartz/Moosified.pm
Criterion Covered Total %
branch 0 92 0.0


line true false branch
69 0 0 unless $self->verbose
89 0 0 if ($dbh->{'Driver'}{'Name'} and $dbh->{'Driver'}{'Name'} eq 'Pg')
118 0 0 if (ref $_[0] eq 'TheSchwartz::Moosified::Job') { }
124 0 0 if ref $job->arg
130 0 0 if $@
132 0 0 unless $job->jobid
154 0 0 unless scalar @$worker_classes
161 0 0 $client->prioritize ? :
190 0 0 if $job
216 0 0 unless my $server_time = $client->get_server_time($dbh)
223 0 0 if $new_grabbed_until == $old_grabbed_until
233 0 0 unless $rows == 1
253 0 0 unless exists $arg->{'funcname'}
260 0 0 if exists $arg->{'run_after'}
265 0 0 if exists $arg->{'grabbed_until'}
267 0 0 if ($arg->{'coalesce'})
280 0 0 $self->prioritize ? :
285 0 0 if (ref $arg->{'funcname'}) { }
307 0 0 if ($arg->{'want_handle'})
341 0 0 $client->prioritize ? :
371 0 0 if $job
399 0 0 if (not @{$client->{'current_abilities'};})
409 0 0 unless $client->work_once
416 0 0 unless $client->work_once
432 0 0 if (not $job and @{$client->{'current_abilities'};} < @{$client->{'all_abilities'};})
438 0 0 $job ? :
439 0 0 if ($job) { }
440 0 0 $job->priority ? :
447 0 0 unless $job
475 0 0 unless (exists $cache->{'funcname2id'}{$funcname})
489 0 0 if ($@)
495 0 0 unless $id
510 0 0 unless (exists $client->funcmap_cache->{$dbid})
527 0 0 unless $dir
528 0 0 if -f $dir
531 0 0 if ($dir eq '1' or $dir eq 'on')
543 0 0 unless $scoreboard
547 0 0 unless $job
551 0 0 unless open my $sb, '>', $scoreboard
569 0 0 if (ref $args) { }
570 0 0 if (ref $args eq 'HASH') { }
0 0 elsif (ref $args eq 'ARRAY') { }
589 0 0 unless $scoreboard
593 0 0 unless open my $sb, '>>', $scoreboard
606 0 0 unless $scoreboard
614 0 0 if (ref $arg and $arg->isa('TheSchwartz::Moosified'))