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 |
25 |
unless defined $val |
35
|
24 |
1 |
ref $val ? : |
36
|
0 |
25 |
if $name =~ /[^a-zA-Z\-\._~]/ |
38
|
0 |
25 |
if $args{'domain'} |
39
|
3 |
22 |
if $args{'path'} |
40
|
13 |
12 |
if exists $args{'expires'} and defined $args{'expires'} |
41
|
2 |
23 |
if exists $args{'max-age'} |
42
|
2 |
23 |
if (exists $args{'samesite'} and $args{'samesite'} =~ /^(?:lax|strict)/i) |
45
|
1 |
24 |
if $args{'secure'} |
46
|
1 |
24 |
if $args{'httponly'} |
67
|
2 |
11 |
if ($expires =~ /^\d+$/) { } |
|
9 |
2 |
elsif ($expires =~ /^([-+]?(?:\d+|\d*\.\d*))([smhdMy]?)/) { } |
|
1 |
1 |
elsif ($expires eq 'now') { } |
91
|
4 |
40 |
unless $cookie_string |
103
|
0 |
114 |
unless defined $value |
108
|
106 |
8 |
unless exists $results{$key} |