blib/lib/Disbatch.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 64 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
106 | 0 | 0 | 0 | defined $self->{'config'}{'mongohost'} && defined $self->{'config'}{'database'} |
339 | 0 | 0 | 0 | defined $node and defined $node->{'maxthreads'} |
0 | 0 | 0 | defined $node and defined $node->{'maxthreads'} and $node_running >= $node->{'maxthreads'} | |
342 | 0 | 0 | 0 | $self->{'plugins'}{$queue->{'plugin'}} and $self->is_active_queue($queue->{'_id'}) |
344 | 0 | 0 | 0 | defined $queue_running and ($queue->{'threads'} // 0) > $queue_running |
0 | 0 | 0 | defined $queue_running and ($queue->{'threads'} // 0) > $queue_running and !defined($node->{'maxthreads'}) || $node->{'maxthreads'} > $node_running |
line | l | !l | condition |
---|---|---|---|
41 | 0 | 0 | $self->{'class'} //= 'Disbatch' |
94 | 0 | 0 | $self->{'config'}{'attributes'} //= {} |
95 | 0 | 0 | $self->{'config'}{'auth'} //= {} |
96 | 0 | 0 | $self->{'config'}{'gfs'} //= 'auto' |
98 | 0 | 0 | $self->{'config'}{'task_runner'} //= '/usr/bin/task_runner' |
101 | 0 | 0 | $self->{'config'}{'activequeues'} //= [] |
102 | 0 | 0 | $self->{'config'}{'ignorequeues'} //= [] |
103 | 0 | 0 | $self->{'config'}{'plugins'} //= [] |
205 | 0 | 0 | $self->nodes->find_one({'node', $self->{'node'}}) // {} |
218 | 0 | 0 | $self->{'sort'} //= 'default' |
338 | 0 | 0 | $self->count_node_running({'$exists', 1}) // 0 |
344 | 0 | 0 | $queue->{'threads'} // 0 |
349 | 0 | 0 | $self->count_node_running({'$exists', 1}) // 0 |
364 | 0 | 0 | $filename ||= 'unknown' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
49 | 0 | 0 | 0 | $self->{'loggers'}{$logger} //= 'Log::Log4perl'->get_logger($logger) |
55 | 0 | 0 | 0 | $self->{'config'}{'log4perl'}{'appenders'}{$name}{'layout'} // $default_layout |
97 | 0 | 0 | 0 | $self->{'config'}{'quiet'} //= &false() |
99 | 0 | 0 | 0 | $self->{'config'}{'testing'} //= &false() |
100 | 0 | 0 | 0 | $self->{'config'}{'log4perl'} //= $default_log4perl |
344 | 0 | 0 | 0 | !defined($node->{'maxthreads'}) || $node->{'maxthreads'} > $node_running |