Condition Coverage

blib/lib/Cache/RedisDB.pm
Criterion Covered Total %
condition 2 24 8.3


and 3 conditions

line !l l&&!r l&&r condition
117 0 0 0 $_ && looks_like_sereal($_)

or 2 conditions

line l !l condition
46 2 0 $ENV{'REDIS_CACHE_SERVER'} // "redis://127.0.0.1"
205 0 0 $namespace //= ""
206 0 0 $key //= ""

or 3 conditions

line l !l&&r !l&&!r condition
77 0 0 1 $redis //= redis_connection()
134 0 0 0 not defined $value or ref $value
0 0 0 not defined $value or ref $value or &Encode::is_utf8($value)
144 0 0 0 $callback // ()
146 0 0 0 $callback // ()