Branch Coverage

blib/lib/Perlbal/AIO.pm
Criterion Covered Total %
branch 16 44 36.3


line true false branch
18 0 22 if $Perlbal::OPTMOD_IO_AIO
34 0 1 if ($Perlbal::AIO_MODE eq 'ioaio') { }
38 1 0 $rv ? :
50 0 39 if ($Perlbal::AIO_MODE eq 'ioaio' and defined fileno $fh) { }
63 0 72 if ($Perlbal::AIO_MODE eq 'ioaio') { }
78 0 83 if ($Perlbal::AIO_MODE eq 'ioaio') { }
83 81 2 $rv ? :
93 0 32 if ($Perlbal::AIO_MODE eq 'ioaio') { }
97 31 1 $rv ? :
106 0 85 unless $fh
111 0 85 if ($Perlbal::AIO_MODE eq 'ioaio') { }
126 0 0 unless $fh
131 0 0 if ($Perlbal::AIO_MODE eq 'ioaio') { }
190 312 0 unless ($use_aio_chans)
211 0 0 if ($chan_outstanding{$chan} < $max_out) { }
224 0 0 if $chan eq '[default]'
231 0 0 unless my $chanpend = $chan_pending{$chan}
248 0 63 if ($file_to_chan_hook) { }
259 312 0 unless $use_aio_chans
261 0 0 if $file
263 0 0 if (my $chan = $next_chan)
277 0 0 unless defined $fd and $fd >= 0