Branch Coverage

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")
85 1 3 if ($event->{'type'} eq 'http.response.start' and @response_cookies) { }
106 1 1 unless defined $header and length $header
117 0 1 if defined $opts{'domain'}
118 0 1 if defined $opts{'expires'}
119 0 1 if defined $opts{'max_age'}
120 1 0 if $opts{'secure'}
121 1 0 if $opts{'httponly'}
122 0 1 if defined $opts{'samesite'}
131 1 0 if lc $h->[0] eq $name
165 0 0 if defined $opts{'domain'}