blib/lib/LWPx/TimedHTTP.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 1 | 56 | 1.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
216 | 0 | 0 | 0 | defined $$content_ref and length $$content_ref |
333 | 0 | 0 | 0 | defined $rbits and $rbits =~ /[^\0]/ |
349 | 0 | 0 | 0 | not $code and $buf =~ /\015?\012\015?\012/ |
366 | 0 | 0 | 0 | defined $wbits and $wbits =~ /[^\0]/ |
377 | 0 | 0 | 0 | not $eof and $woffset >= length $$wbuf |
463 | 0 | 0 | 0 | $peer_http_version eq '1.1' and not $connection{'close'} |
488 | 0 | 0 | 0 | $multi and not $addr_str =~ /^\d+(?:\.\d+){3}$/ |
line | l | !l | condition |
---|---|---|---|
119 | 1 | 0 | shift() || (return) |
140 | 0 | 0 | $size ||= 4096 |
233 | 0 | 0 | $request_headers->header('Expect') || '' |
461 | 0 | 0 | $response->header('Connection') || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
218 | 0 | 0 | 0 | not defined $clen or $clen ne $has_content |
239 | 0 | 0 | 0 | not $has_content or $write_wait |
0 | 0 | 0 | not $has_content or $write_wait or $has_content > 8192 | |
301 | 0 | 0 | 0 | $write_wait or $woffset < length $$wbuf |
317 | 0 | 0 | 0 | $!{'EINTR'} or $!{'EAGAIN'} |
338 | 0 | 0 | 0 | $!{'EINTR'} or $!{'EAGAIN'} |
369 | 0 | 0 | 0 | $!{'EINTR'} or $!{'EAGAIN'} |
434 | 0 | 0 | 0 | $!{'EINTR'} or $!{'EAGAIN'} |
463 | 0 | 0 | 0 | $peer_http_version eq '1.1' and not $connection{'close'} or $connection{'keep-alive'} |