Condition Coverage

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


and 3 conditions

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

or 2 conditions

line l !l condition
129 0 0 +(shift())->{'prefix'} //= 'jobs'
139 0 0 +(shift())->{'pending_queues'} ||= ['pending']
145 0 0 +(shift())->{'processing_queue'} //= 'processing'
255 0 0 +(shift())->{'max_concurrent_jobs'} //= 1

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 }
168 0 0 0 $self->{'stopping_future'} ||= $self->loop->new_future