blib/lib/OAuth/Lite2/ParamMethod/FormEncodedBody.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 10 | 80.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
57 | 12 | 13 | 0 | ($method eq 'post' || $method eq 'put' || $method eq 'delete') && $req->content_type eq 'application/x-www-form-urlencoded' && ($req->body_parameters->{'oauth_token'} || $req->body_parameters->{'access_token'}) |
line | l | !l | condition |
---|---|---|---|
113 | 3 | 0 | $args{'oauth_params'} || {} |
132 | 2 | 1 | $args{'params'} || {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
108 | 1 | 1 | 3 | $method eq 'GET' or $method eq 'DELETE' |