line |
true |
false |
branch |
31
|
0 |
2 |
unless blessed $store and $store->can('get') and $store->can('set') and $store->can('remove') |
37
|
0 |
2 |
unless $self->cookie_name |
38
|
2 |
0 |
unless defined $self->path |
39
|
1 |
1 |
unless defined $self->keep_empty |
41
|
2 |
0 |
unless ($self->sid_generator) |
46
|
2 |
0 |
if (not $self->sid_validator) |
60
|
0 |
0 |
if ($id and $session) { } |
90
|
0 |
0 |
unless defined $cookie |
91
|
0 |
0 |
unless $cookie =~ /$$self{'sid_validator'}/ |
93
|
0 |
0 |
unless my $session = $$self{'store'}->get($cookie) |
94
|
0 |
0 |
if $$self{'serializer'} |
104
|
0 |
0 |
if ($new_session and $$self{'keep_empty'} and not $session->has_key or $$session[1] or $$options{'expire'} or $$options{'change_id'}) |
108
|
0 |
0 |
if $$options{'no_store'} |
111
|
0 |
0 |
if ($new_session and $$self{'keep_empty'} and not $session->has_key or $new_session and $$session[1] or $$options{'expire'} or $$options{'change_id'}) |
117
|
0 |
0 |
if ($need_store) |
118
|
0 |
0 |
if ($$options{'expire'}) { } |
|
0 |
0 |
elsif ($$options{'change_id'}) { } |
124
|
0 |
0 |
if $$self{'serializer'} |
128
|
0 |
0 |
if $$self{'serializer'} |
133
|
0 |
0 |
if ($set_cookie) |
134
|
0 |
0 |
if ($$options{'expire'}) { } |
149
|
0 |
0 |
unless exists $options{'path'} |
150
|
0 |
0 |
if not exists $options{'domain'} and defined $$self{'domain'} |
151
|
0 |
0 |
if not exists $options{'secure'} and defined $$self{'secure'} |
152
|
0 |
0 |
if not exists $options{'httponly'} and defined $$self{'httponly'} |
154
|
0 |
0 |
if (not exists $options{'expires'} and defined $$self{'expires'}) |