Branch Coverage

blib/lib/Catalyst/Engine/PSGI.pm
Criterion Covered Total %
branch 0 38 0.0


line true false branch
15 0 0 if @_
28 0 0 $reserved{lc $1} ? :
40 0 0 if exists $$env{'REMOTE_HOST'}
55 0 0 unless $header =~ /^(HTTP|CONTENT|COOKIE)/i
67 0 0 $c->request->secure ? :
76 0 0 if ($path eq $base_path)
87 0 0 unless ($port =~ /^(?:80|443)$/ or $host =~ /:/)
95 0 0 $$env{'QUERY_STRING'} ? :
102 0 0 unless $base_path =~ m[/$]
121 0 0 if ($args{'env'})
130 0 0 if defined $buffer
148 0 0 if (defined $res and not ref $res eq 'ARRAY' && $$res[0] == 404)
165 0 0 if (my $error = $@)
170 0 0 if (my $coderef = $class->log->can('_flush'))
174 0 0 unless $c
178 0 0 unless defined $body
179 0 0 if (not ref $body and $body eq '' and $$self{'buffer'}) { }
0 0 elsif (ref $body eq 'GLOB' or &Scalar::Util::blessed($body) and $body->can('getline')) { }
0 0 elsif (ref $body eq 'CODE') { }