Condition Coverage

lib/Redis/SQLite.pm
Criterion Covered Total %
condition 24 32 75.0


and 3 conditions

line !l l&&!r l&&r condition
695 11 0 11 defined $x and $x eq $key
773 3 1 5 $count > 0 and $count <= $self->scard($key)

or 2 conditions

line l !l condition
120 0 0 $ENV{'HOME'} || $ENV{'USERPROFILE'} || (getpwuid $<)[7] || 'C:/'
185 12 9 $sql->fetchrow_array || undef
195 1 8 $sql->fetchrow_array || undef
417 2 3 $sql->fetchrow_array || undef
424 1 2 $sql->fetchrow_array || undef
460 9 3 $self->get($key) || 0
495 10 2 $self->get($key) || 0
692 11 11 $sql->fetchrow_array || undef
805 6 0 $self->{'srandommember'}->fetchrow_array || ''
974 21 5 $self->{'scard'}->fetchrow_array || 0

or 3 conditions

line l !l&&r !l&&!r condition
113 0 13 0 ref $proto || $proto
123 13 0 0 $supplied{'path'} || "$home/.predis.db"