blib/lib/Redis/Fast.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 16 | 32 | 50.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
142 | 70 | 0 | 0 | $ENV{'REDIS_SERVER'} and not $args{'sock'} |
70 | 0 | 0 | $ENV{'REDIS_SERVER'} and not $args{'sock'} and not $args{'server'} | |
266 | 45 | 0 | 9 | wantarray && ref $ret eq 'ARRAY' |
408 | 0 | 0 | 0 | $subs->{$key} and @{$subs->{$key};} |
line | l | !l | condition |
---|---|---|---|
194 | 0 | 0 | $status ||= "Sentinels don't know this service" |
229 | 4 | 0 | $args{'server'} || '127.0.0.1:6379' |
235 | 66 | 4 | $args{'reconnect'} || 0 |
236 | 1 | 69 | $args{'every'} || 1000 |
238 | 1 | 69 | $args{'cnx_timeout'} || -1 |
239 | 3 | 67 | $args{'read_timeout'} || -1 |
240 | 1 | 69 | $args{'write_timeout'} || -1 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
23 | 0 | 0 | 0 | $host =~ /:/ or $host =~ /%/ |
237 | 0 | 0 | 70 | $args{'debug'} || $ENV{'REDIS_DEBUG'} |