| blib/lib/Mojolicious/Plugin/AccessControl.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 10 | 14 | 71.4 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 30 | 21 | 3 | 0 | $$opt{'on_deny'} and ref $$opt{'on_deny'} ne 'CODE' |
| 43 | 0 | 3 | 21 | defined $result and $result |
| 46 | 6 | 12 | 3 | not $allow and $$opt{'on_deny'} |
| line | l | !l | condition |
|---|---|---|---|
| 18 | 24 | 0 | $args ||= [] |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 35 | 16 | 8 | 0 | $$r{'Mojolicious::Plugin::AccessControl._rules'} ||= $self->_rules(@rule_list) |