Condition Coverage

blib/lib/LWP/Protocol/http/SocksChain10.pm
Criterion Covered Total %
condition 0 51 0.0


and 3 conditions

line !l l&&!r l&&r condition
96 0 0 0 defined $1 and not $h->header('Authorization')
151 0 0 0 defined $$cont_ref and length $$cont_ref
167 0 0 0 $timeout and not $sel->can_write($timeout)
173 0 0 0 defined $$cont_ref and length $$cont_ref
174 0 0 0 defined $buf && length $buf
179 0 0 0 $timeout and not $sel->can_write($timeout)
190 0 0 0 $timeout and not $sel->can_write($timeout)
205 0 0 0 $timeout and not $sel->can_read($timeout)
210 0 0 0 length $buf >= 5 and not $buf =~ m[^HTTP/]
221 0 0 0 $timeout and not $sel->can_read($timeout)
242 0 0 0 $line =~ /^\s+(.*)/ and $key
280 0 0 0 $timeout and not $sel->can_read($timeout)

or 2 conditions

line l !l condition
38 0 0 'Net::SC'->new('TimeOut', $timeout, $self->_extra_sock_opts($host, $port)) || die($!)
46 0 0 $sc->sh || die($!)
108 0 0 $size ||= 4096

or 3 conditions

line l !l&&r !l&&!r condition
146 0 0 0 defined $h->header('Content-Length') or $h->content_type =~ m[^multipart/]
210 0 0 0 length $buf >= 5 and not $buf =~ m[^HTTP/] or $buf =~ /\012/
219 0 0 0 $buf =~ /^\015?\012/ or $buf =~ /\015?\012\015?\012/