| line |
true |
false |
branch |
|
13
|
3 |
0 |
unless ($use_pp) |
|
16
|
0 |
0 |
if ($Cookie::Baker::XS::VERSION < $VERSION) |
|
23
|
3 |
0 |
if ($use_pp) { } |
|
34
|
0 |
30 |
unless defined $val |
|
35
|
29 |
1 |
ref $val ? : |
|
36
|
2 |
28 |
if ($args{'partitioned'}) |
|
41
|
0 |
30 |
if $name =~ /[^a-zA-Z\-\._~]/ |
|
43
|
0 |
30 |
if $args{'domain'} |
|
44
|
5 |
25 |
if $args{'path'} |
|
45
|
13 |
17 |
if exists $args{'expires'} and defined $args{'expires'} |
|
46
|
2 |
28 |
if exists $args{'max-age'} |
|
47
|
6 |
24 |
if (exists $args{'samesite'} and $args{'samesite'} =~ /^(?:lax|strict|none)/i) |
|
50
|
4 |
2 |
if $cookie =~ /SameSite=None; / |
|
52
|
5 |
25 |
if $args{'secure'} |
|
53
|
1 |
29 |
if $args{'httponly'} |
|
54
|
2 |
28 |
if $args{'partitioned'} |
|
76
|
2 |
11 |
if ($expires =~ /^\d+$/) { } |
|
|
9 |
2 |
elsif ($expires =~ /^([-+]?(?:\d+|\d*\.\d*))([smhdMy]?)/) { } |
|
|
1 |
1 |
elsif ($expires eq 'now') { } |
|
100
|
4 |
40 |
unless $cookie_string |
|
112
|
0 |
114 |
unless defined $value |
|
117
|
106 |
8 |
unless exists $results{$key} |