line |
true |
false |
branch |
40
|
0 |
1 |
if (ref $$self{'listen'} eq 'ARRAY') |
44
|
1 |
0 |
if ($$self{'host'} and $$self{'port'}) |
45
|
1 |
0 |
unless ($$self{'host'} =~ /^http/) |
51
|
0 |
1 |
if ($listen =~ /^:(\d+)/) |
79
|
0 |
1 |
$url->scheme eq 'https' ? : |
95
|
0 |
1 |
if $$self{'server_ready'} |
114
|
0 |
2 |
unless $sock |
117
|
2 |
0 |
if ($$self{'no_delay'}) |
118
|
0 |
2 |
unless setsockopt $sock, 6, 1, 1 |
123
|
0 |
2 |
if ($ssl) |
134
|
1 |
0 |
if ($handle) |
145
|
0 |
1 |
$ssl ? : |
164
|
0 |
1 |
if ($reqlen < 0) |
168
|
1 |
0 |
unless (eval {
do {
$self->_run_app($app, $env, $handle);
1
}
}) |
183
|
1 |
0 |
unless ($$env{'psgi.input'}) |
184
|
0 |
1 |
if ($$env{'CONTENT_LENGTH'}) { } |
189
|
0 |
0 |
if ($$env{'CONTENT_LENGTH'} <= length $body) |
203
|
0 |
1 |
if (ref $res eq 'ARRAY') { } |
|
1 |
0 |
elsif (ref $res eq 'CODE') { } |
224
|
0 |
1 |
if $disconnected |
252
|
1 |
0 |
if (ref $res eq 'ARRAY') { } |
253
|
0 |
1 |
if (scalar @$res == 0) |
283
|
0 |
1 |
unless $self->write_all($handle, join('', @lines), $$self{'timeout'}) |
286
|
1 |
0 |
if (defined $$res[2]) { } |
303
|
1 |
0 |
if (ref $body) { } |
307
|
0 |
0 |
unless $self->write_all($handle, $_[0], $$self{'timeout'}) |
312
|
0 |
0 |
unless $self->write_all($handle, $body, $$self{'timeout'}) |
320
|
0 |
1 |
unless ($done) |
322
|
0 |
0 |
if ($err =~ /^failed to send all data\n/) { } |
332
|
0 |
1 |
unless defined $buf |