Branch Coverage

blib/lib/Net/Server/PSGI.pm
Criterion Covered Total %
branch 10 24 41.6


line true false branch
56 0 1 $ENV{'HTTPS'} && $ENV{'HTTPS'} eq 'on' ? :
70 0 1 if (not $ok)
84 0 0 if @$resp == 2
86 0 1 if ref $resp eq "CODE"
91 1 0 unless (shift())->app
95 0 1 if @_
97 0 1 if (not ref $app and $app)
117 1 0 if (ref $body eq 'ARRAY') { }
0 0 elsif (&blessed($body) and $body->can('getline')) { }
137 0 1 if ($env->{'PATH_INFO'} and $env->{'PATH_INFO'} eq "/simple")
141 1 0 if (eval { do { require Data::Dumper } })
144 0 1 if (eval { do { require CGI::PSGI } })