Branch Coverage

lib/DR/TarantoolQueue/Worker.pm
Criterion Covered Total %
branch 0 44 0.0


line true false branch
208 0 0 unless 'CODE' eq ref $cb
210 0 0 unless defined $debugf
211 0 0 unless 'CODE' eq ref $debugf
213 0 0 if $self->is_run
237 0 0 if $self->restart and $no >= $self->restart_limit
238 0 0 if $self->restart and $self->restart_check->()
239 0 0 defined $self->space ? :
0 0 defined $self->tube ? :
244 0 0 unless $task
251 0 0 if ($@)
260 0 0 if ($@)
263 0 0 if (&any(sub { $_ eq $task->status; } , 'work', 'taken'))
265 0 0 if ($@)
272 0 0 if (&any(sub { $_ eq $task->status; } , 'work', 'taken'))
274 0 0 if ($@)
286 0 0 unless $self->is_run
287 0 0 if $self->is_stopping
288 0 0 unless $self->restart
289 0 0 unless $no >= $self->restart_limit
311 0 0 unless $self->mailto
312 0 0 unless $self->mailfrom
359 0 0 unless $self->is_run