| blib/lib/PAGI/Middleware/Cookie.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 10 | 16 | 62.5 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 86 | 2 | 1 | 1 | $event->{'type'} eq "http.response.start" and @response_cookies |
| 107 | 0 | 1 | 1 | defined $header and length $header |
| line | l | !l | condition |
|---|---|---|---|
| 66 | 1 | 1 | $self->_get_header($scope, "cookie") // "" |
| 87 | 1 | 0 | $event->{'headers'} // [] |
| 116 | 0 | 1 | $opts{'path'} // "/" |
| 131 | 2 | 0 | $scope->{'headers'} // [] |
| 164 | 0 | 0 | $opts{'path'} // "/" |