Branch Coverage

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


line true false branch
61 0 6 unless $nr_events
63 3 3 unless ($class->can('NR_io_setup'))
177 2 6 if ($max_events > 1)
182 0 8 unless ($max_events)
205 8 0 wantarray ? :
277 0 10 unless (my $opcode = $args{'lio_opcode'})
281 0 10 unless (my $opcode_cr = $class->can("_IOCB_CMD_$opcode"))
293 0 10 if ($args{'rw_flags'})
296 0 0 unless (my $num = $class->can("_RWF_$flag_name"))
305 2 8 if (defined $args{'eventfd'})
314 4 6 if ($opts{'buffer_offset'}) { }
323 0 10 if ($opts{'nbytes'} + $buffer_offset > length $$buf_sr)