| blib/lib/LWPx/Protocol/http_paranoid.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 2 | 44 | 4.5 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 45 | 0 | 0 | 0 | $sock and not $sock->can_read(0) |
| 61 | 0 | 0 | 0 | not $sock and @addrs |
| 115 | 0 | 0 | 0 | defined $1 and not $h->header('Authorization') |
| 197 | 0 | 0 | 0 | defined $$content_ref and length $$content_ref |
| 278 | 0 | 0 | 0 | defined $rbits and $rbits =~ /[^\0]/ |
| 305 | 0 | 0 | 0 | defined $wbits and $wbits =~ /[^\0]/ |
| 313 | 0 | 0 | 0 | not $eof and $woffset >= length $$wbuf |
| 383 | 0 | 0 | 0 | $peer_http_version eq '1.1' and not $connection{'close'} |
| line | l | !l | condition |
|---|---|---|---|
| 148 | 0 | 1 | $size ||= 4096 |
| 230 | 0 | 0 | $request_headers->header('Expect') || '' |
| 381 | 0 | 0 | $response->header('Connection') || '' |
| 411 | 0 | 0 | $_[2] || 0 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 94 | 0 | 0 | 0 | ref $self || $self |
| 144 | 1 | 0 | 0 | $$request{'_time_begin'} || time |
| 199 | 0 | 0 | 0 | not defined $clen or $clen ne length $$content_ref |
| 383 | 0 | 0 | 0 | $peer_http_version eq '1.1' and not $connection{'close'} or $connection{'keep-alive'} |