Condition Coverage

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


and 3 conditions

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

or 2 conditions

line l !l condition
105 0 0 $redis->lindex($key, $rate->[1]) // 0
125 0 0 $redis->keys(_make_key('*', '*')) // []
130 1 1 shift() // 'undef'
142 0 0 $consumers{$pair->[0]} //= []

or 3 conditions

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