Condition Coverage

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


or 2 conditions

line l !l condition
43 2 0 $ENV{'REDIS_CACHE_SERVER'} // 'redis://127.0.0.1'
174 0 0 $namespace //= ''
175 0 0 $key //= ''

or 3 conditions

line l !l&&r !l&&!r condition
74 0 0 1 $redis //= redis_connection()
103 0 0 0 not defined $value or ref $value
0 0 0 not defined $value or ref $value or &Encode::is_utf8($value)
113 0 0 0 $callback // ()
115 0 0 0 $callback // ()