Condition Coverage

blib/lib/IO/Handle/Record.pm
Criterion Covered Total %
condition 33 53 62.2


and 3 conditions

line !l l&&!r l&&r condition
63 1 0 0 $have_inet6 and $obj->sockdomain == &Socket6::AF_INET6
92 14 49 5 defined $len and $len == 0
49 0 14 not defined $len and $! == 11
49 0 0 not defined $len and $! == 4
107 18 16 1 $I->record_opts && $I->record_opts->{'local_encoding'}
121 35 0 78 defined $len and $len > 0
137 18 14 3 $I->can('expect_fds') and $I->expect_fds > 0
32 0 3 $I->can('expect_fds') and $I->expect_fds > 0 and defined $I->_received_fds
169 17 16 0 $I->record_opts && $I->record_opts->{'local_encoding'}
203 4 16 17 $I->written == 0 and $can_fds_to_send
20 13 4 $I->written == 0 and $can_fds_to_send and defined $I->fds_to_send
29 1 3 $I->written == 0 and $can_fds_to_send and defined $I->fds_to_send and @{$I->fds_to_send;}
219 33 41 0 $I->written < length $I->write_buffer and defined($written = &$writer($I, $I->write_buffer, length($I->write_buffer) - $I->written, $I->written)) || $! == 4

or 2 conditions

line l !l condition
244 0 0 $I->record_opts->{'record_delimiter'} || "\n"
245 0 0 $I->record_opts->{'field_delimiter'} || "\000"
263 0 0 $I->record_opts->{'record_delimiter'} || "\n"
264 0 0 $I->record_opts->{'field_delimiter'} || "\000"

or 3 conditions

line l !l&&r !l&&!r condition
63 0 0 1 $obj->sockdomain == 2 or $have_inet6 and $obj->sockdomain == &Socket6::AF_INET6
219 37 0 4 defined($written = &$writer($I, $I->write_buffer, length($I->write_buffer) - $I->written, $I->written)) || $! == 4