Condition Coverage

blib/lib/Net/Server/Proto/SSLEAY.pm
Criterion Covered Total %
condition 20 61 32.7


and 3 conditions

line !l l&&!r l&&r condition
68 0 5 0 $ISA[0] eq 'IO::Socket::INET' and 'Net::Server::Proto'->requires_ipv6($server)
114 2 0 0 $port eq '0' and $port = $sock->sockport
2 0 0 $port =~ /\D/ and $port = $sock->sockport
258 1 0 0 defined $bytes and length $content >= $bytes
0 0 1 defined $end_qr and $content =~ /$end_qr/g
280 861 0 0 $non_greedy and $bytes - length($content) < $n
288 0 0 0 not length $buf and $n_empty++
292 1 0 0 $non_greedy and length $content == $bytes
380 2 0 0 $write == -1 and not $!{'EAGAIN'}
2 0 0 $write == -1 and not $!{'EAGAIN'} and not $!{'EINTR'}
0 0 0 $write == -1 and not $!{'EAGAIN'} and not $!{'EINTR'} and not $!{'ENOBUFS'}

or 2 conditions

line l !l condition
159 2 0 $sock->SSL_key_file || die('SSLeay missing SSL_key_file on ' . $sock->hup_string . ".\n")
160 2 0 $sock->SSL_cert_file || die('SSLeay missing SSL_cert_file on ' . $sock->hup_string > ".\n")
210 2 0 fcntl($client, 3, 0) || die("SSLeay - fcntl get: $!\n")
305 0 0 $offset || 0
402 0 0 $_[1] || 0

or 3 conditions

line l !l&&r !l&&!r condition
61 1 4 0 $server->{'server'}{'ssl_args'} ||= do { my(%temp) = map({$_, undef;} @ssl_args); $server->configure({map({$_, \$temp{$_};} @ssl_args)}); \%temp }
285 1 860 0 defined $buf or $!{'EAGAIN'}
860 0 0 defined $buf or $!{'EAGAIN'} or $!{'EINTR'}
0 0 0 defined $buf or $!{'EAGAIN'} or $!{'EINTR'} or $!{'ENOBUFS'}
316 1 0 1 $!{'EAGAIN'} or $!{'EINTR'}
343 0 0 1 $!{'EAGAIN'} or $!{'EINTR'}