blib/lib/MVC/Neaf/Request/PSGI.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 6 | 12 | 50.0 |
line | l | !l | condition |
---|---|---|---|
70 | 160 | 0 | $self->{'env'} || \%default_env |
76 | 143 | 17 | $env->{'REQUEST_METHOD'} or "GET" |
100 | 0 | 1 | $self->{'driver'}->protocol || '1.0' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
76 | 0 | 160 | 0 | $self->{'driver'} ||= "Plack::Request"->new({"REQUEST_METHOD", "GET", %$env, $MVC::Neaf::Request::query_allowed{$env->{'REQUEST_METHOD'} or "GET"} ? () : ("QUERY_STRING", "")}) |
204 | 0 | 1 | 0 | $self->{'driver_upload'} ||= $self->{'driver'}->uploads |