blib/lib/Parallel/Fork/BossWorkerAsync.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 30 | 46 | 65.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
118 | 28 | 5 | 0 | $$self{'pending'} == 0 and $$self{'shutting_down'} |
171 | 1 | 51 | 44 | $blocking and not $makeblocking |
51 | 0 | 1 | not $blocking and $makeblocking | |
304 | 59 | 0 | 5 | $$self{'shutting_down'} and not @{$$self{'job_queue'};} |
59 | 0 | 5 | $$self{'shutting_down'} and not @{$$self{'job_queue'};} and not @{$$self{'result_queue'};} | |
606 | 0 | 39 | 52 | $rcount and $iam ne 'boss' |
line | l | !l | condition |
---|---|---|---|
20 | 0 | 23 | $attrs{'init_handler'} || undef |
23 | 0 | $attrs{'result_handler'} || undef | |
3 | 20 | $attrs{'worker_count'} || 3 | |
3 | 20 | $attrs{'global_timeout'} || 0 | |
5 | 18 | $attrs{'msg_delimiter'} || "\000\000\000" | |
0 | 23 | $attrs{'read_size'} || 1048576 | |
0 | 23 | $attrs{'verbose'} || 0 | |
147 | 0 | 5 | $args{'force'} ||= 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
36 | 0 | 23 | 0 | ref $class || $class |
110 | 19 | 0 | 1 | $args{'blocking'} or @{$$self{'result_queue'};} |
318 | 0 | 0 | 5 | $busy or $partials |
348 | 37 | 0 | 46 | @{$$self{'job_queue'};} or exists $$workers{$s}{'partial_job'} |