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 |
26 |
unless defined $val |
35
|
25 |
1 |
ref $val ? : |
36
|
0 |
26 |
if $name =~ /[^a-zA-Z\-\._~]/ |
38
|
0 |
26 |
if $args{'domain'} |
39
|
3 |
23 |
if $args{'path'} |
40
|
13 |
13 |
if exists $args{'expires'} and defined $args{'expires'} |
41
|
2 |
24 |
if exists $args{'max-age'} |
42
|
3 |
23 |
if (exists $args{'samesite'} and $args{'samesite'} =~ /^(?:lax|strict|none)/i) |
45
|
1 |
25 |
if $args{'secure'} |
46
|
1 |
25 |
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} |