Branch Coverage

blib/lib/IO/Async/Loop/IO/Async.pm
Criterion Covered Total %
branch 21 32 65.6


line true false branch
112 0 56 if $loop
136 0 3 unless my $handle = $params{'handle'}
144 2 1 if (my $on_read_ready = $params{'on_read_ready'})
152 1 2 if (my $on_write_ready = $params{'on_write_ready'})
166 0 3 unless my $handle = $params{'handle'}
168 0 3 unless my $ioa_handle = $$self{'handles'}{$handle}
170 2 1 if ($params{'on_read_ready'})
178 1 2 if ($params{'on_write_ready'})
186 2 1 if (not $ioa_handle->want_readready || $ioa_handle->want_writeready)
198 0 25 unless my $code = $params{'code'}
215 14 0 if $timer->get_loop
259 0 6 unless my $code = $params{'code'}
261 0 6 unless my $when = $params{'when'}
263 0 6 unless $when eq 'later'
286 4 8 if ($pid == 0)
314 0 0 if ($pid == 0)