Branch Coverage

blib/lib/IO/Async/Loop/POE.pm
Criterion Covered Total %
branch 28 36 77.7


line true false branch
117 5 4 $_[10] eq 'CHLD' ? :
153 1 121 if (defined $timeout and $timeout == 0)
159 107 14 if (defined $timeout)
173 0 10 unless my $handle = $params{'handle'}
175 7 3 if (my $on_read_ready = $params{'on_read_ready'})
179 5 5 if (my $on_write_ready = $params{'on_write_ready'})
189 0 9 unless my $handle = $params{'handle'}
191 6 3 if (my $on_read_ready = $params{'on_read_ready'})
195 5 4 if (my $on_write_ready = $params{'on_write_ready'})
205 0 31 unless my $code = $params{'code'}
207 1 30 if (defined $params{'at'}) { }
30 0 elsif (defined $params{'after'}) { }
231 1 4 unless exists $SIG{$signal}
249 0 6 unless my $when = delete $params{'when'}
251 0 6 unless my $code = delete $params{'code'}
253 0 6 unless $when eq 'later'
271 12 5 if ($pid) { }
284 1 0 if ($pid) { }