Condition Coverage

blib/lib/HealthCheck/Diagnostic/Redis.pm
Criterion Covered Total %
condition 5 12 41.6


and 3 conditions

line !l l&&!r l&&r condition
20 2 0 0 @params == 1 && (ref $params[0] || '') eq 'HASH'

or 3 conditions

line l !l&&r !l&&!r condition
100 2 0 0 $params{'key_name'} || $redis->randomkey
111 2 0 0 $key or $params{'key_name'}
125 1 3 0 $params{'key_name'} || sprintf('_health_check_%s', 'String::Random'->new->randregex('[A-Z0-9]{24}'))