lib/CGI/Application/Plugin/Throttle.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 1 | 24 | 4.1 |
line | true | false | branch |
---|---|---|---|
88 | 0 | 1 | if (UNIVERSAL::can($callpkg, 'add_callback')) |
145 | 0 | 0 | if $$cgi_app{'__throttle_obj'} |
203 | 0 | 0 | if ($ENV{$env}) |
240 | 0 | 0 | if ($$self{'redis'}) |
290 | 0 | 0 | if ($cur and $$self{'exceeded'} and $cur > $$self{'limit'}) |
296 | 0 | 0 | if ($$self{'exceeded'}) |
306 | 0 | 0 | if ($cgi_app->query->url_param($cgi_app->mode_param)) |
374 | 0 | 0 | if $args{'limit'} |
375 | 0 | 0 | if $args{'period'} |
380 | 0 | 0 | if $args{'prefix'} |
385 | 0 | 0 | if $args{'redis'} |
390 | 0 | 0 | if $args{'exceeded'} |