| blib/lib/OAuth/Lite2/ParamMethod/AuthHeader.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 13 | 14 | 92.8 |
| line | true | false | branch |
|---|---|---|---|
| 71 | 1 | 14 | if ($header) |
| 119 | 2 | 6 | if (defined $headers) { } |
| 120 | 2 | 0 | if (ref $headers eq 'ARRAY') { } |
| 129 | 1 | 7 | if @pairs > 0 |
| 132 | 4 | 4 | if ($method eq 'GET' or $method eq 'DELETE') { } |
| 138 | 2 | 2 | unless ($headers->header('Content-Type')) |
| 145 | 2 | 2 | $content_type eq 'application/x-www-form-urlencoded' ? : |