Condition Coverage

blib/lib/LWP/Protocol/https/SocksChain.pm
Criterion Covered Total %
condition 0 51 0.0


and 3 conditions

line !l l&&!r l&&r condition
32 0 0 0 $sock and not $sock->can_read(0)
121 0 0 0 defined $$content_ref and length $$content_ref
196 0 0 0 defined $rbits and $rbits =~ /[^\0]/
220 0 0 0 defined $wbits and $wbits =~ /[^\0]/
228 0 0 0 not $eof and $woffset >= length $$wbuf
294 0 0 0 $peer_http_version eq '1.1' and not $connection{'close'}
356 0 0 0 defined $ENV{'HTTPS_KEY_FILE'} and not exists $cfg{'SSL_key_file'}
360 0 0 0 defined $ENV{'HTTPS_CA_DIR'} and not exists $cfg{'SSL_ca_path'}
364 0 0 0 defined $ENV{'HTTPS_CA_FILE'} and not exists $cfg{'SSL_ca_file'}
368 0 0 0 defined $ENV{'HTTPS_CERT_FILE'} and not exists $cfg{'SSL_cert_file'}
372 0 0 0 not exists $cfg{'SSL_use_cert'} and exists $cfg{'SSL_cert_file'}

or 2 conditions

line l !l condition
72 0 0 $size ||= 4096
137 0 0 $socket->format_request($method, $fullpath, @h) || die($!)
154 0 0 $request_headers->header('Expect') || ''
292 0 0 $response->header('Connection') || ''
310 0 0 $sock->get_peer_certificate || die('Missing SSL certificate')
376 0 0 'Net::SC'->new(%cfg) || die($!)

or 3 conditions

line l !l&&r !l&&!r condition
123 0 0 0 not defined $clen or $clen ne length $$content_ref
294 0 0 0 $peer_http_version eq '1.1' and not $connection{'close'} or $connection{'keep-alive'}