blib/lib/LWPx/Protocol/http_paranoid.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 2 | 50 | 4.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
47 | 0 | 0 | 0 | $sock and not $sock->can_read(0) |
63 | 0 | 0 | 0 | not $sock and @addrs |
119 | 0 | 0 | 0 | defined $1 and not $h->header('Authorization') |
202 | 0 | 0 | 0 | defined $$content_ref and length $$content_ref |
284 | 0 | 0 | 0 | defined $rbits and $rbits =~ /[^\0]/ |
311 | 0 | 0 | 0 | defined $wbits and $wbits =~ /[^\0]/ |
319 | 0 | 0 | 0 | not $eof and $woffset >= length $$wbuf |
379 | 0 | 0 | 0 | not defined $n and $! == 11 |
401 | 0 | 0 | 0 | $peer_http_version eq '1.1' and not $connection{'close'} |
line | l | !l | condition |
---|---|---|---|
152 | 0 | 1 | $size ||= 4096 |
236 | 0 | 0 | $request_headers->header('Expect') || '' |
399 | 0 | 0 | $response->header('Connection') || '' |
429 | 0 | 0 | $_[2] || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
98 | 0 | 0 | 0 | ref $self || $self |
148 | 1 | 0 | 0 | $request->{'_time_begin'} || time |
204 | 0 | 0 | 0 | not defined $clen or $clen ne length $$content_ref |
401 | 0 | 0 | 0 | $peer_http_version eq '1.1' and not $connection{'close'} or $connection{'keep-alive'} |
435 | 0 | 0 | 0 | $timeout ||= $LWPx::Protocol::http_paranoid::TIME_REMAIN |