Condition Coverage

blib/lib/Job/Async/Worker/Redis.pm
Criterion Covered Total %
condition 0 22 0.0


and 3 conditions

line !l l&&!r l&&r condition
183 0 0 0 not $pending and $self->{'awaiting_job'}
301 0 0 0 $self->mode eq 'reliable' and @$queues > 1

or 2 conditions

line l !l condition
143 0 0 +(shift())->{'prefix'} //= 'jobs'
153 0 0 +(shift())->{'pending_queues'} ||= ['pending']
159 0 0 +(shift())->{'processing_queue'} //= 'processing'
279 0 0 +(shift())->{'max_concurrent_jobs'} //= 1
289 0 0 +(shift())->{'job_poll_interval'} //= 3

or 3 conditions

line l !l&&r !l&&!r condition
39 0 0 0 $self->{'incoming_job'} //= do { die 'needs to be part of a loop' unless $self->loop; my $src = $self->ryu->source; $src->map($self->curry::weak::on_job_received)->map('retain')->retain; $src }
193 0 0 0 $self->{'stopping_future'} ||= $self->loop->new_future->set_label('Job::Async::Worker::Redis shutdown')