| blib/lib/Trickster/Cookie.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 14 | 24 | 58.3 |
| line | true | false | branch |
|---|---|---|---|
| 19 | 1 | 0 | unless $opts{'defaults'} |
| 32 | 1 | 0 | if ($cookie_header =~ /(?:^|;\s*)$name=([^;]+)/u) { } |
| 39 | 1 | 0 | if ($self->{'secret'} and $value =~ /^(.+)\.([^.]+)$/u) |
| 43 | 0 | 1 | unless $sig eq $expected_sig |
| 56 | 2 | 0 | if ($self->{'secret'}) { } |
| 66 | 2 | 0 | if $options{'path'} |
| 67 | 0 | 2 | if $options{'domain'} |
| 68 | 1 | 1 | if defined $options{'max_age'} |
| 69 | 0 | 2 | if $options{'expires'} |
| 70 | 1 | 1 | if $options{'secure'} |
| 71 | 2 | 0 | if $options{'httponly'} |
| 72 | 2 | 0 | if $options{'samesite'} |