Branch Coverage

blib/lib/Parallel/Fork/BossWorker.pm
Criterion Covered Total %
branch 16 26 61.5


line true false branch
35 0 6 unless (defined $$self{'work_handler'})
57 0 5 if (defined $$self{'workers'}{$pid})
70 0 13 unless ($result)
77 8 5 if ($$result{'data'} and defined $$self{'result_handler'})
82 8 5 if ($#{$$self{'work_queue'};} > -1) { }
102 0 1 if ($@)
122 15 5 if ($pid > 0) { }
5 0 elsif ($pid == 0) { }
181 8 0 if (defined $$self{'work_handler'})
190 0 8 if ($@)
210 21 1666 if (substr($value, -$$self{'msg_delimiter_length'}) eq $$self{'msg_delimiter'})
221 0 26 if ($@)
222 0 0 if $ENV{'PFBW_DEBUG'}