Condition Coverage

blib/lib/Cache/RedisDB.pm
Criterion Covered Total %
condition 2 21 9.5


or 2 conditions

line l !l condition
47 2 0 $ENV{'REDIS_CACHE_SERVER'} // 'redis://127.0.0.1'
178 0 0 $namespace //= ''
179 0 0 $key //= ''

or 3 conditions

line l !l&&r !l&&!r condition
78 0 0 1 $redis //= redis_connection()
107 0 0 0 not defined $value or ref $value
0 0 0 not defined $value or ref $value or &Encode::is_utf8($value)
117 0 0 0 $callback // ()
119 0 0 0 $callback // ()