blib/lib/Data/Throttler.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 9 | 15 | 60.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
50 | 0 | 3 | 0 | $$self{'data'}{'chain'} and $$self{'data'}{'chain'}{'max_items'} != $options{'max_items'} || $$self{'data'}{'chain'}{'interval'} != $options{'interval'} |
212 | 18 | 122 | 44 | $time >= $$self{'start'} && $time <= $$self{'stop'} |
233 | 0 | 6 | 0 | $$self{'max_items'} and $$self{'interval'} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
50 | 2 | 0 | 1 | $$self{'data'}{'chain'}{'max_items'} != $options{'max_items'} || $$self{'data'}{'chain'}{'interval'} != $options{'interval'} |
57 | 1 | 0 | 2 | $options{'reset'} or not $$self{'db'}->backend_store_ok |