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