| blib/lib/PAGI/Middleware/MethodOverride.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 10 | 16 | 62.5 |
| line | true | false | branch |
|---|---|---|---|
| 77 | 0 | 4 | if ($scope->{'type'} ne "http") |
| 83 | 1 | 3 | if (uc($scope->{'method'} // "") ne "POST") |
| 90 | 3 | 0 | if ($override_method) |
| 93 | 2 | 1 | if ($self->{'allowed_lookup'}{$upper_method}) |
| 113 | 3 | 0 | if ($self->{'check_header'}) |
| 116 | 2 | 0 | if (lc $h->[0] eq $header_name) |
| 123 | 1 | 0 | if ($self->{'check_param'}) |
| 139 | 1 | 0 | if ($key eq $param_name) |