Condition Coverage

lib/Beekeeper/Worker.pm
Criterion Covered Total %
condition 0 67 0.0


and 3 conditions

line !l l&&!r l&&r condition
109 0 0 0 defined $SIG{'TERM'} and $SIG{'TERM'} eq 'DEFAULT'
114 0 0 0 defined $SIG{'INT'} and $SIG{'INT'} eq 'DEFAULT'
0 0 0 defined $SIG{'INT'} and $SIG{'INT'} eq 'DEFAULT' and $args{'foreground'}
163 0 0 0 $auth_data and $auth_level
308 0 0 0 not ref $callback and $self->can($callback)
426 0 0 0 ref $request eq 'HASH' and $request->{'jsonrpc'} eq '2.0'
436 0 0 0 defined $method and $method =~ /^([\.\w-]+)\.([\w-]+)$/
481 0 0 0 ref $request eq 'HASH' and $request->{'jsonrpc'} eq '2.0'
492 0 0 0 defined $method and $method =~ /^([\.\w-]+)\.([\w-]+)$/
518 0 0 0 &blessed($result) and $result->isa('Beekeeper::JSONRPC::Error')
520 0 0 0 &blessed($@) and $@->isa('Beekeeper::JSONRPC::Error')
553 0 0 0 defined $request_id and defined $response
642 0 0 0 &blessed($result) and $result->isa('Beekeeper::JSONRPC::Error')
806 0 0 0 $worker->{'in_progress'} > 0 and --$wait_time > 0

or 2 conditions

line l !l condition
211 0 0 $_[0] || ''
448 0 0 $self->authorize_request($request) || ''
504 0 0 $self->authorize_request($request) || ''
731 0 0 $worker->{'postponed'} ||= []
826 0 0 $worker->{'postponed'} ||= []

or 3 conditions

line l !l&&r !l&&!r condition
174 0 0 0 $self->{'_WORKER'}{'debug'} or $self->{'_WORKER'}{'config'}{'debug'}
442 0 0 0 $worker->{'callbacks'}{"msg.$1.$2"} || $worker->{'callbacks'}{"msg.$1.*"}
498 0 0 0 $worker->{'callbacks'}{"req.$1.$2"} || $worker->{'callbacks'}{"req.$1.*"}
606 0 0 0 @{$worker->{'task_queue_high'};} or @{$worker->{'task_queue_low'};}
910 0 0 0 $worker->{'last_report'} || $now - 1