Branch Coverage

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


line true false branch
115 4 3 $_[10] eq 'CHLD' ? :
151 1 111 if (defined $timeout and $timeout == 0)
157 94 17 if (defined $timeout)
171 0 8 unless my $handle = $params{'handle'}
173 7 1 if (my $on_read_ready = $params{'on_read_ready'})
177 3 5 if (my $on_write_ready = $params{'on_write_ready'})
187 0 7 unless my $handle = $params{'handle'}
189 6 1 if (my $on_read_ready = $params{'on_read_ready'})
193 3 4 if (my $on_write_ready = $params{'on_write_ready'})
203 0 27 unless my $code = $params{'code'}
205 1 26 if (defined $params{'at'}) { }
26 0 elsif (defined $params{'after'}) { }
229 1 3 unless exists $SIG{$signal}
247 0 6 unless my $when = delete $params{'when'}
249 0 6 unless my $code = delete $params{'code'}
251 0 6 unless $when eq 'later'
269 9 4 if ($pid) { }
282 1 0 if ($pid) { }