Condition Coverage

blib/lib/LWPx/Protocol/http_paranoid.pm
Criterion Covered Total %
condition 8 44 18.1


and 3 conditions

line !l l&&!r l&&r condition
37 0 0 0 $sock and not $sock->can_read(0)
53 7 0 7 not $sock and @addrs
105 0 0 0 defined $1 and not $h->header('Authorization')
187 0 7 0 defined $$content_ref and length $$content_ref
268 0 0 0 defined $rbits and $rbits =~ /[^\0]/
295 0 0 0 defined $wbits and $wbits =~ /[^\0]/
303 0 0 0 not $eof and $woffset >= length $$wbuf
373 0 0 0 $peer_http_version eq '1.1' and not $connection{'close'}

or 2 conditions

line l !l condition
138 0 9 $size ||= 4096
220 0 0 $request_headers->header('Expect') || ''
371 0 0 $response->header('Connection') || ''
401 12 7 $_[2] || 0

or 3 conditions

line l !l&&r !l&&!r condition
84 7 0 0 ref $self || $self
134 9 0 0 $request->{'_time_begin'} || time
189 0 0 0 not defined $clen or $clen ne length $$content_ref
373 0 0 0 $peer_http_version eq '1.1' and not $connection{'close'} or $connection{'keep-alive'}