blib/lib/Net/Server/PSGI.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 4 | 18 | 22.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
56 | 1 | 0 | 0 | $ENV{'HTTPS'} && $ENV{'HTTPS'} eq 'on' |
97 | 0 | 1 | 0 | not ref $app and $app |
117 | 0 | 0 | 0 | &blessed($body) and $body->can("getline") |
137 | 0 | 1 | 0 | $env->{'PATH_INFO'} and $env->{'PATH_INFO'} eq "/simple" |
line | l | !l | condition |
---|---|---|---|
71 | 0 | 0 | "$@" || 'Something happened' |
98 | 0 | 0 | eval { do { require CGI::Compile; 'CGI::Compile'->compile($app) } } || die('Failed to compile app with CGI::Compile') |
106 | 1 | 0 | $headers ||= [] |