Branch Coverage

blib/lib/CGI/Parse/PSGI/Streaming.pm
Criterion Covered Total %
branch 16 20 80.0


line true false branch
36 6 3 unless ($response)
37 6 0 if (defined $data) { }
45 1 5 unless $headers =~ /\x0d?\x0a\x0d?\x0a/
56 5 0 unless ($headers =~ /^HTTP/)
63 1 4 if ($response->header('Location') and not $response->header('Status'))
71 8 0 if ($response)
72 0 8 if ($response->code == 500 and not defined $data)
82 5 3 unless ($writer)
105 7 1 if (defined $data) { }
106 5 2 if length $data