| blib/lib/Authen/HTTP/Signature/Parser.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 27 | 30 | 90.0 |
| line | true | false | branch |
|---|---|---|---|
| 129 | 0 | 15 | unless $request |
| 132 | 1 | 14 | unless $sig_str |
| 137 | 1 | 12 | unless $sig_text |
| 140 | 1 | 11 | unless $b64_str |
| 149 | 1 | 10 | if $ext |
| 151 | 1 | 10 | unless $key_id |
| 152 | 1 | 9 | unless $algo |
| 155 | 7 | 2 | if ($hdrs) |
| 160 | 2 | 7 | unless @headers |
| 165 | 1 | 25 | if (exists $h{$hdr}) |
| 175 | 22 | 1 | if ($self->get_header->($request, $_)) { } |
| 195 | 12 | 2 | if ($self->skew) |
| 197 | 0 | 12 | unless $request |
| 199 | 0 | 12 | unless $header_time |
| 202 | 1 | 11 | if ($diff >= $self->skew) |