Condition Coverage

blib/lib/Redis/DistLock.pm
Criterion Covered Total %
condition 11 31 35.4


and 3 conditions

line !l l&&!r l&&r condition
47 12 0 0 @_ == 1 && ref $_[0]
79 0 0 15 $info and $$info{'redis_version'}
0 0 15 $info and $$info{'redis_version'} and $$info{'redis_version'} =~ /\A ([0-9]+) \. ([0-9]+) \. ([0-9]+) \z/x
0 15 0 $info and $$info{'redis_version'} and $$info{'redis_version'} =~ /\A ([0-9]+) \. ([0-9]+) \. ([0-9]+) \z/x and $1 > 2 || $1 == 2 && $2 > 6 || $1 == 2 && $2 == 6 && $3 >= 12
153 6 0 0 $ok >= $$self{'quorum'} and $validity > 0
176 0 0 0 @_ == 1 && ref $_[0]

or 2 conditions

line l !l condition
117 0 11 $args{'retry_count'} || 3
0 11 $args{'retry_delay'} || 0.2
10 1 $logger || sub { }
0 11 $args{'auto_release'} || 0
181 0 0 defined $_ or $_ = ''

or 3 conditions

line l !l&&r !l&&!r condition
79 0 0 14 $1 > 2 || $1 == 2 && $2 > 6 || $1 == 2 && $2 == 6 && $3 >= 12