Branch Coverage

lib/Catalyst/Plugin/Session/Store/RedisFast.pm
Criterion Covered Total %
branch 11 18 61.1


line true false branch
24 2 1 if (my($sid) = $key =~ /^expires:(.*)/)
33 0 1 unless my $data = $c->_redis_op('get', $key)
41 3 4 if (my($sid) = $key =~ /^expires:(.*)/)
46 1 2 if ($c->_redis_op('exists', "session:$sid")) { }
58 2 2 if $ttl < 0
61 4 0 if ($ttl > 0)
95 0 0 unless $cfg->{'redis_config'}
99 0 0 if (not $c->_session_redis_storage && $c->_session_redis_storage->ping)
114 0 18 if ($@) { }