blib/lib/CGI/Parse/PSGI/Streaming.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 16 | 20 | 80.0 |
line | true | false | branch |
---|---|---|---|
36 | 5 | 3 | unless ($response) |
37 | 5 | 0 | if (defined $data) { } |
45 | 1 | 4 | unless $headers =~ /\x0d?\x0a\x0d?\x0a/ |
56 | 4 | 0 | unless ($headers =~ /^HTTP/) |
63 | 1 | 3 | if ($response->header('Location') and not $response->header('Status')) |
71 | 7 | 0 | if ($response) |
72 | 0 | 7 | if ($response->code == 500 and not defined $data) |
82 | 4 | 3 | unless ($writer) |
105 | 6 | 1 | if (defined $data) { } |
106 | 4 | 2 | if length $data |