| blib/lib/PAGI/Middleware/Session/State/Cookie.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 12 | 16 | 75.0 |
| line | true | false | branch |
|---|---|---|---|
| 81 | 10 | 10 | unless defined $cookie_header |
| 115 | 4 | 1 | if $self->{'cookie_options'}{'httponly'} |
| 124 | 10 | 1 | if lc $h->[0] eq $name |
| 135 | 0 | 13 | unless defined $name and $name ne "" |
| 153 | 16 | 0 | if $opts->{'httponly'} |
| 154 | 1 | 15 | if $opts->{'secure'} |
| 155 | 16 | 0 | if $opts->{'samesite'} |
| 156 | 16 | 0 | if $self->{'expire'} |