| blib/lib/PAGI/Middleware/Cookie.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 12 | 22 | 54.5 |
| line | true | false | branch |
|---|---|---|---|
| 60 | 0 | 2 | if ($scope->{'type'} ne "http") |
| 86 | 1 | 3 | if ($event->{'type'} eq 'http.response.start' and @response_cookies) { } |
| 107 | 1 | 1 | unless defined $header and length $header |
| 118 | 0 | 1 | if defined $opts{'domain'} |
| 119 | 0 | 1 | if defined $opts{'expires'} |
| 120 | 0 | 1 | if defined $opts{'max_age'} |
| 121 | 1 | 0 | if $opts{'secure'} |
| 122 | 1 | 0 | if $opts{'httponly'} |
| 123 | 0 | 1 | if defined $opts{'samesite'} |
| 132 | 1 | 0 | if lc $h->[0] eq $name |
| 166 | 0 | 0 | if defined $opts{'domain'} |