blib/lib/Authorize/Rule.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 10 | 11 | 90.9 |
line | l | !l | condition |
---|---|---|---|
95 | 51 | 59 | shift() || {} |
98 | 110 | 0 | $req_resource || '' |
109 | 60 | 49 | $$perms{$req_resource} || [] |
110 | 88 | 21 | $$perms{''} || [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
113 | 60 | 48 | 1 | @{$main_ruleset;} or @{$def_ruleset;} |