Branch Coverage

blib/lib/IO/Lambda/Signal.pm
Criterion Covered Total %
branch 43 78 55.1


line true false branch
46 0 484782 if $DEBUG > 1
48 484342 443 unless $v->{'signal'}
51 0 443 if $DEBUG > 1
58 3 440 if ($sigs)
59 0 3 if $DEBUG > 1
70 0 32 if $DEBUG
71 0 32 unless exists $IO::Lambda::Signal::SIGDATA{$id}
74 0 32 if $IO::Lambda::LOOP->can('signal')
82 28 6 if (not exists $IO::Lambda::Signal::SIGDATA{$id}) { }
90 0 28 if $DEBUG > 1
93 0 6 if $DEBUG > 2
101 0 34 unless exists $IO::Lambda::Signal::SIGDATA{$id}
103 0 34 if $DEBUG > 2
109 6 28 if @{$IO::Lambda::Signal::SIGDATA{$id}{'lambdas'};}
111 0 28 if $DEBUG > 1
113 0 28 if (defined $IO::Lambda::Signal::SIGDATA{$id}{'save'}) { }
134 747 32 unless @ret
137 1 31 if $t
151 2 32 if $deadline
173 0 32 unless $pid =~ /^\-?\d+$/
174 0 32 if $DEBUG
178 26 6 unless (defined $IO::Lambda::Signal::SIGDATA{'CHLD'})
179 0 26 if $DEBUG > 1
183 0 0 if $DEBUG > 1
189 0 32 if (waitpid($pid, 1) != 0)
190 0 0 if (defined $early_sigchld)
191 0 0 if (defined $savesig) { }
197 0 0 if $DEBUG > 1
204 0 778 if $DEBUG > 1
205 747 31 if $wp == 0
209 0 32 if $DEBUG > 1
212 26 6 if defined $early_sigchld
215 0 32 if ($early_sigchld)
219 0 0 if waitpid($pid, 1) == 0
226 0 0 if $DEBUG > 1
240 1 1 unless $pid
249 0 1 if (defined $error)
255 1 0 if (waitpid($pid, 1) != 0)
273 0 0 $? ? :