line |
true |
false |
branch |
23
|
0 |
2 |
if (@_ == 1 and ref $_[0] eq 'HASH') { } |
29
|
2 |
0 |
unless (defined $self->{'invoke_mode'}) |
41
|
0 |
0 |
if scalar @_ == 1 |
42
|
0 |
0 |
scalar @_ == 2 ? : |
58
|
0 |
0 |
if (ref $self) { } |
73
|
0 |
0 |
if ($self->{'invoke_mode'} eq 'RESPONSE_STREAM') { } |
87
|
14 |
0 |
if (my $context = $payload->{'requestContext'}) |
88
|
3 |
11 |
if ($context->{'elb'}) |
93
|
6 |
5 |
if (my $version = $payload->{'version'}) |
94
|
0 |
6 |
if ($version =~ /^1[.]/u) |
98
|
6 |
0 |
if ($version =~ /^2[.]/u) |
117
|
4 |
0 |
if (ref $value eq 'ARRAY') { } |
135
|
60 |
6 |
unless ($key =~ /^(?:CONTENT_LENGTH|CONTENT_TYPE)$/u) |
138
|
48 |
18 |
if (ref $value eq "ARRAY") |
155
|
1 |
7 |
if ($ctx) |
161
|
3 |
5 |
if ($payload->{'isBase64Encoded'}) |
169
|
4 |
4 |
if ($env->{'QUERY_STRING'}) |
176
|
8 |
0 |
if ($requestContext) |
179
|
5 |
0 |
if ($stage and $path and $path ne $payload->{'path'}) |
197
|
46 |
7 |
unless ($key =~ /^(?:CONTENT_LENGTH|CONTENT_TYPE)$/u) |
214
|
0 |
6 |
if ($ctx) |
220
|
2 |
4 |
if ($payload->{'isBase64Encoded'}) |
229
|
2 |
4 |
if ($env->{'QUERY_STRING'}) |
250
|
3 |
1 |
if (&reftype($body) eq 'ARRAY') { } |
262
|
1 |
3 |
if ($isBase64Encoded) { } |
286
|
2 |
1 |
if (&reftype($response) ne "CODE") |
304
|
0 |
3 |
unless $writer->write($prelude) |
307
|
1 |
2 |
unless (defined $body) |
311
|
1 |
1 |
if (&reftype($body) eq 'ARRAY') { } |
314
|
0 |
1 |
unless $writer->write($chunk) |
320
|
0 |
1 |
unless $writer->write($chunk) |
323
|
0 |
2 |
unless $writer->close |
338
|
0 |
3 |
if ($k eq 'set-cookie') { } |
|
0 |
3 |
elsif (exists $headers_hash->{$k}) { } |