blib/lib/Mojolicious/Plugin/Authorization.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 5 | 10 | 50.0 |
line | true | false | branch |
---|---|---|---|
11 | 0 | 4 | unless $$args{$sub_ref} and ref $$args{$sub_ref} eq 'CODE' |
21 | 1 | 0 | $priv && &$has_priv_cb($c, $priv) ? : |
22 | 0 | 1 | if $fail_render and not $res |
28 | 2 | 0 | $role && &$is_role_cb($c, $role) ? : |
29 | 0 | 2 | if $fail_render and not $res |