line |
!l |
l&&!r |
l&&r |
condition |
84
|
85 |
96 |
0 |
$self->{'pipeline'} && $self->{'can_pipeline'} && (!$self->{'max_in_flight'} || $self->{'requests_in_flight'} < $self->{'max_in_flight'}) |
110
|
8 |
0 |
97 |
@$queue and $self->is_idle |
112
|
76 |
1 |
18 |
@$queue and $self->should_pipeline |
169
|
11 |
99 |
2 |
not $closed and length $$buffref |
204
|
0 |
0 |
127 |
ref $req and $req->isa('HTTP::Request') |
301
|
40 |
85 |
2 |
defined $authority and my($user, $pass, $host) = $authority =~ /^(.*?):(.*)@(.*)$/ |
330
|
123 |
1 |
3 |
$write_request_body and not $expect_continue |
364
|
1 |
117 |
1 |
length $$buffref >= 4 and not $$buffref =~ /^HTTP/ |
398
|
0 |
7 |
109 |
$protocol =~ m[^HTTP/1\.(\d+)$] and $1 >= 1 |
420
|
113 |
0 |
2 |
$content_encoding and $decoder = 'Net::Async::HTTP'->can_decode($content_encoding) |
434
|
94 |
0 |
0 |
$max and $max < $self->{'max_in_flight'} |
440
|
79 |
2 |
0 |
$decoder and not eval {
do {
$chunk = &$decoder($chunk);
1
}
} |
462
|
111 |
2 |
0 |
$decoder and not eval {
do {
$final = &$decoder();
1
}
} |
469
|
111 |
2 |
0 |
defined $final and length $final |
499
|
108 |
0 |
4 |
defined $transfer_encoding and $transfer_encoding eq 'chunked' |
538
|
6 |
0 |
10 |
not defined $chunk_length and $$buffref =~ s/^(.*?)$CRLF// |
556
|
0 |
0 |
6 |
defined $chunk_length and length $$buffref >= $chunk_length + 2 |
line |
l |
!l&&r |
!l&&!r |
condition |
174
|
28 |
0 |
1 |
$closed or not length $$buffref |
192
|
21 |
7 |
6 |
$head->is_done or $head->f->is_ready |
213
|
4 |
7 |
116 |
$method eq 'POST' or $method eq 'PUT' |
|
11 |
0 |
116 |
$method eq 'POST' or $method eq 'PUT' or length $req->content |
266
|
4 |
1 |
122 |
$stall_timer or $args{'on_body_write'} |
426
|
61 |
54 |
0 |
$header->header('Connection') || ($self->{'can_pipeline'} ? 'keep-alive' : 'close') |
491
|
2 |
0 |
113 |
$req->method eq 'HEAD' or $code =~ /^1..$/ |
|
2 |
0 |
113 |
$req->method eq 'HEAD' or $code =~ /^1..$/ or $code eq '204' |
|
0 |
1 |
112 |
$req->method eq 'HEAD' or $code =~ /^1..$/ or $code eq '204' or $code eq '304' |