Branch Coverage

blib/lib/Parallel/Async/Task.pm
Criterion Covered Total %
branch 19 34 55.8


line true false branch
41 16 31 $WANTARRAY ? :
58 0 0 $WANTARRAY ? :
65 8 226 if $$self{'already_run_fg'}
68 0 226 unless defined $pid
71 37 189 if ($pid == 0) { }
87 0 2 unless defined $pid
89 1 1 if ($pid == 0) { }
116 21 16 if ($WANTARRAY) { }
12 4 elsif (defined $WANTARRAY) { }
129 0 0 unless $EXIT_CODE
130 0 0 if $? >> 8
131 0 0 if $!
152 0 345 if $pid == -1
166 0 34 unless Storable::store($data, $storable_tempfile)
179 128 0 if (-e $storable_tempfile)
181 0 128 unless $data = Storable::retrieve($storable_tempfile)
198 0 128 if ($$data[0]) { }