Branch Coverage

blib/lib/Linux/Perl/aio.pm
Criterion Covered Total %
branch 15 24 62.5


line true false branch
76 0 6 unless $nr_events
78 3 3 unless ($class->can('NR_io_setup'))
187 2 8 if ($max_events > 1)
192 0 10 unless ($max_events)
215 10 0 wantarray ? :
333 0 12 unless (my $opcode = $args{'lio_opcode'})
337 0 12 unless (my $opcode_cr = $class->can("_IOCB_CMD_$opcode"))
349 0 12 if ($args{'rw_flags'})
352 0 0 unless (my $num = $class->can("_RWF_$flag_name"))
361 4 8 if (defined $args{'eventfd'})
370 4 8 if ($opts{'buffer_offset'}) { }
379 0 12 if ($opts{'nbytes'} + $buffer_offset > length $$buf_sr)