Branch Coverage

blib/lib/Dancer/Session/Redis.pm
Criterion Covered Total %
branch 5 14 35.7


line true false branch
25 2 1 if (my $opts = setting('redis_session')) { }
26 1 1 if (ref $opts and ref $opts eq 'HASH') { }
44 1 0 unless (defined $options{'server'} or defined $options{'sock'})
93 0 0 unless ($_redis and $_redis->ping)
100 0 0 if (defined $options{'sock'}) { }
107 0 0 if $options{'password'}
112 0 0 if $_redis