blib/lib/Plack/Session/Store/Redis.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 25 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
104 | 0 | 0 | 0 | $self->expires and $command eq 'get' || $command eq 'set' |
line | l | !l | condition |
---|---|---|---|
65 | 0 | 0 | $params{'redis_factory'} || sub { 'Redis'->new('server', $server); } |
74 | 0 | 0 | $params{'prefix'} || 'session' |
0 | 0 | $params{'expires'} || undef | |
0 | 0 | $params{'serializer'} || sub { encode_json($_[0]); } | |
0 | 0 | $params{'deserializer'} || sub { decode_json($_[0]); } |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
61 | 0 | 0 | 0 | $ENV{'REDIS_SERVER'} || ($params{'host'} || '127.0.0.1') . ':' . ($params{'port'} || 6379) |
74 | 0 | 0 | 0 | $params{'redis'} || &$redis_factory() |
0 | 0 | 0 | $params{'server'} || $server | |
104 | 0 | 0 | 0 | $command eq 'get' || $command eq 'set' |