| line |
true |
false |
branch |
|
21
|
2 |
0 |
unless defined $param{'prefix'} |
|
22
|
2 |
0 |
unless exists $param{'expire'} |
|
24
|
2 |
0 |
unless ($param{'redis'}) |
|
33
|
0 |
0 |
unless ref $param{'encoder'} |
|
44
|
2 |
0 |
unless (eval {
do {
require Redis::Fast;
$instance = 'Redis::Fast'->new;
1
}
}) |
|
53
|
0 |
0 |
if ($inflate and $deflate) |
|
67
|
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
}) |
|
77
|
0 |
0 |
unless defined $data |
|
83
|
0 |
0 |
unless (defined $session) |
|
88
|
0 |
0 |
defined $self->expire ? : |
|
103
|
0 |
0 |
if ref $cb ne 'CODE' |
|
114
|
0 |
0 |
if (scalar @$keys > 0) |
|
118
|
0 |
0 |
unless $sessions[$i] |
|
120
|
0 |
0 |
unless $keys->[$i] =~ /^\Q$prefix\E(.+)$/ |
|
130
|
0 |
0 |
if $cursor == 0 |