blib/lib/Mojolicious/Plugin/Authorization.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 6 | 17 | 35.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
12 | 0 | 0 | 4 | $args->{$sub_ref} and ref $args->{$sub_ref} eq 'CODE' |
21 | 0 | 0 | 1 | $priv && &$has_priv_cb($c, $priv) |
22 | 1 | 0 | 0 | $fail_render and not $res |
28 | 0 | 0 | 2 | $role && &$is_role_cb($c, $role) |
29 | 2 | 0 | 0 | $fail_render and not $res |
line | l | !l | condition |
---|---|---|---|
9 | 1 | 0 | $args ||= {} |