Branch Coverage

blib/lib/Job/Async/Worker/Redis.pm
Criterion Covered Total %
branch 2 22 9.0


line true false branch
40 0 0 unless $self->loop
107 0 0 $self->use_multi ? :
115 0 0 if $f->is_ready
170 0 0 if (not $pending and $self->{'awaiting_job'})
184 0 0 unless ($self->{'queue_redis'})
197 0 0 unless ($self->{'redis'})
210 0 0 unless length(my $prefix = $self->prefix)
262 0 6 if exists $args{$k}
265 0 1 if (exists $args{'pending_queues'})
266 0 0 if (my $queues = $args{'pending_queues'}) { }
267 0 0 if $self->mode eq 'reliable' and @$queues > 1