blib/lib/Net/Server/PSGI.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 10 | 24 | 41.6 |
line | true | false | branch |
---|---|---|---|
55 | 0 | 1 | $ENV{'HTTPS'} && $ENV{'HTTPS'} eq 'on' ? : |
69 | 0 | 1 | if (not $ok) |
83 | 0 | 0 | if @$resp == 2 |
85 | 0 | 1 | if ref $resp eq 'CODE' |
90 | 1 | 0 | unless (shift())->app |
94 | 0 | 1 | if @_ |
96 | 0 | 1 | if (not ref $app and $app) |
108 | 0 | 1 | unless $headers |
125 | 1 | 0 | if (ref $body eq 'ARRAY') { } |
0 | 0 | elsif (blessed($body) and $body->can('getline')) { } | |
146 | 1 | 0 | if (eval { do { require Data::Dumper } }) |
149 | 0 | 1 | if (eval { do { require CGI::PSGI } }) |