Branch Coverage

blib/lib/PAGI/App/WrapPSGI.pm
Criterion Covered Total %
branch 0 38 0.0


line true false branch
48 0 0 if $scope->{'type'} ne "http"
56 0 0 if $event->{'type'} ne "http.request"
58 0 0 unless $event->{'more'}
62 0 0 unless open my $input, "<", \$body
69 0 0 if (ref $response eq 'CODE') { }
102 0 0 if ($key eq 'CONTENT_TYPE') { }
0 0 elsif ($key eq 'CONTENT_LENGTH') { }
112 0 0 if ($scope->{'server'})
116 0 0 if ($scope->{'client'})
135 0 0 if (ref $body eq 'ARRAY') { }
0 0 elsif (ref $body eq 'CODE') { }
147 0 0 unless defined $chunk
197 0 0 if (@$response == 3) { }
0 0 elsif (@$response == 2) { }
226 0 0 if (@body_chunks)
229 0 0 if (ref $first eq "HASH")
240 0 0 if (defined $body) { }
265 0 0 if (ref $body eq 'ARRAY') { }
0 0 elsif (ref $body eq 'GLOB' or ref $body and $body->can('getline')) { }