Branch Coverage

blib/lib/Job/Async/Worker/Redis.pm
Criterion Covered Total %
branch 2 26 7.6


line true false branch
40 0 0 unless $self->loop
121 0 0 $self->use_multi ? :
129 0 0 if $f->is_ready
183 0 0 if (not $pending and $self->{'awaiting_job'})
198 0 0 unless ($self->{'queue_redis'})
211 0 0 unless ($self->{'redis'})
224 0 0 unless length(my $prefix = $self->prefix)
256 0 0 unless $self->stopping_future->is_ready
260 0 0 unless $self->stopping_future->is_ready
296 0 7 if exists $args{$k}
299 0 1 if (exists $args{'pending_queues'})
300 0 0 if (my $queues = $args{'pending_queues'}) { }
301 0 0 if $self->mode eq 'reliable' and @$queues > 1