Condition Coverage

inc/IO/Socket.pm
Criterion Covered Total %
condition 1 52 1.9


and 3 conditions

line !l l&&!r l&&r condition
32 15 0 0 @_ and $_[0] eq 'sockatmark'
115 0 0 0 defined $timeout and $!{'EINPROGRESS'}
161 0 0 0 @_ >= 1 and @_ <= 2
163 0 0 0 $queue and $queue > 0
215 0 0 0 @_ >= 2 and @_ <= 4
228 0 0 0 @_ == 4 and defined $r
262 0 0 0 defined $r and length $r == $intsize

or 2 conditions

line l !l condition
217 0 0 $_[2] || 0
238 0 0 $_[3] || 0

or 3 conditions

line l !l&&r !l&&!r condition
115 0 0 0 $blocking or not $!{'EINPROGRESS'}
120 0 0 0 CORE::connect($sock, $addr) || $!{'EISCONN'}
121 0 0 0 $! || (exists &Errno::ETIMEDOUT ? &Errno::ETIMEDOUT : 1)
171 0 0 0 @_ == 1 or @_ == 2
173 0 0 0 shift() || $sock
205 0 0 0 do { *$sock }->{'io_socket_peername'} ||= getpeername $sock
218 0 0 0 $_[3] || $sock->peername
235 0 0 0 @_ == 3 or @_ == 4
280 0 0 0 @_ == 1 or @_ == 2