Condition Coverage

blib/lib/Dancer/Session/Redis.pm
Criterion Covered Total %
condition 9 21 42.8


and 3 conditions

line !l l&&!r l&&r condition
26 0 1 1 ref $opts and ref $opts eq 'HASH'
93 0 0 0 $_redis and $_redis->ping

or 2 conditions

line l !l condition
27 0 1 $$opts{'server'} || undef
0 1 $$opts{'sock'} || undef
0 1 $$opts{'database'} || 0
0 1 $$opts{'expire'} || 900
0 1 $$opts{'debug'} || 0
0 1 $$opts{'password'} || undef

or 3 conditions

line l !l&&r !l&&!r condition
44 0 0 1 defined $options{'server'} or defined $options{'sock'}