Branch Coverage

blib/lib/POE/Component/PreforkDispatch.pm
Criterion Covered Total %
branch 22 58 37.9


line true false branch
199 1 0 $$heap{'alias'} ? :
277 5 0 $$request{'method'} && !ref($$request{'method'}) ? :
283 5 0 if ($$heap{'max_forks'})
291 0 0 if $$heap{'verbose'}
343 0 5 unless (defined $result)
349 0 5 if (ref $return_to) { }
366 0 0 ref $ex && $ex->can('stringify') ? :
393 0 6 $$heap{'methods'} ? :
396 0 6 if ($method) { }
0 6 elsif ($$heap{'classes'}) { }
0 6 elsif ($$heap{'xmlrpc_server_parent'}) { }
397 0 0 if (ref $method) { }
414 0 0 if $!
429 3 7 if $#{$$heap{'request_queue'};} < 0
440 4 3 $avail_forks[0] ? :
443 3 4 unless ($use_fork)
444 0 3 if (int @{$$heap{'forks'};} == $$heap{'max_forks'})
446 0 0 if $$heap{'verbose'}
451 2 1 if ($$heap{'last_fork_created'} and time - $$heap{'last_fork_created'} < 5)
452 0 2 if $$heap{'verbose'}
465 0 5 if $$heap{'verbose'}
512 0 0 if $$heap{'fork_name'}
542 0 0 if ($request_max and $request_counter >= $request_max)
559 0 5 unless $fork
561 0 5 if ($$fork{'status'} eq 'idle')
585 0 0 unless $fork
598 0 0 unless $fork
610 0 0 unless $fork
617 0 0 if ($$fork{'active_request'}{'method_name'})