Branch Coverage

blib/lib/RateLimitations.pm
Criterion Covered Total %
branch 5 16 31.2


line true false branch
71 0 1 if $that_limit->[1] <= $this_limit->[1]
73 0 1 if not $improper and $this_limit->[2] < $that_limit->[2]
77 0 2 if ($improper)
91 0 0 unless ref $args eq 'HASH'
93 0 0 unless &all(sub { defined $_; } , $service, $consumer)
95 0 0 unless $limit
105 0 0 if (($redis->lindex($key, $rate->[1]) // 0) > $now - $rate->[0])
132 1 1 unless $svc_limits