Condition Coverage

blib/lib/RateLimitations.pm
Criterion Covered Total %
condition 5 17 29.4


and 3 conditions

line !l l&&!r l&&r condition
67 0 2 1 not $improper and $index > -1
72 0 1 0 not $improper and $this_limit->[2] < $that_limit->[2]

or 2 conditions

line l !l condition
104 0 0 $redis->lindex($key, $rate->[1]) // 0
124 0 0 $redis->keys(_make_key('*', '*')) // []
129 1 1 shift() // 'undef'
141 0 0 $consumers{$pair->[0]} //= []

or 3 conditions

line l !l&&r !l&&!r condition
124 0 0 0 shift() // 'Cache::RedisDB'->redis