blib/lib/Sub/Throttler/Limit.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 10 | 80.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
85 | 340 | 52 | 5 | $$self{'acquired'}{$id} and exists $$self{'acquired'}{$id}{$key} |
line | l | !l | condition |
---|---|---|---|
18 | 35 | 68 | delete $opt{'limit'} // 1 |
89 | 127 | 249 | $$self{'used'}{$key} || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
18 | 0 | 103 | 0 | ref $class || $class |