blib/lib/Mojolicious/Plugin/SimpleAuthorization.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 5 | 8 | 62.5 |
line | l | !l | condition |
---|---|---|---|
10 | 0 | 1 | $conf->{'roles'} //= 'roles' |
11 | 0 | 1 | $conf->{'user'} //= 'user' |
39 | 4 | 12 | $self->stash->{$conf->{'roles'}} // {} |
40 | 16 | 0 | $self->stash->{$conf->{'user'}} // {} |