line |
true |
false |
branch |
21
|
2 |
0 |
unless defined $param{'prefix'} |
22
|
2 |
0 |
unless exists $param{'expire'} |
24
|
2 |
0 |
unless ($param{'redis'}) |
34
|
0 |
0 |
unless ref $param{'encoder'} |
45
|
2 |
0 |
unless (eval {
do {
require Redis::Fast;
$instance = 'Redis::Fast'->new;
1
}
}) |
54
|
0 |
0 |
if ($inflate and $deflate) |
68
|
0 |
0 |
unless (eval {
do {
require Plack::Session::Store::RedisFast::Encoder::JSONXS;
$instance = 'Plack::Session::Store::RedisFast::Encoder::JSONXS'->new;
1
}
} or do {
require Plack::Session::Store::RedisFast::Encoder::MojoJSON;
$instance = 'Plack::Session::Store::RedisFast::Encoder::MojoJSON'->new
}) |
78
|
0 |
0 |
unless defined $data |
84
|
0 |
0 |
unless (defined $session) |
89
|
0 |
0 |
defined $self->expire ? : |
104
|
0 |
0 |
if ref $cb ne 'CODE' |
115
|
0 |
0 |
if (scalar @$keys > 0) |
119
|
0 |
0 |
unless $sessions[$i] |
121
|
0 |
0 |
unless $keys->[$i] =~ /^\Q$prefix\E(.+)$/ |
131
|
0 |
0 |
if $cursor == 0 |