| blib/lib/Dancer2/Plugin/Auth/ActiveDirectory.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 10 | 12 | 83.3 |
| line | true | false | branch |
|---|---|---|---|
| 40 | 12 | 1 | if $_settings |
| 63 | 0 | 6 | unless &_load_settings()->{'rights'} |
| 98 | 10 | 5 | ref $rights->{$_} ne 'ARRAY' ? : |
| 5 | 10 | _in_list($user_groups, ref $rights->{$_} ne 'ARRAY' ? [$rights->{$_}] : $rights->{$_}) ? : | |
| 139 | 0 | 4 | if $user->{'error'} |
| 168 | 1 | 1 | $_[1]{'rights'}{$_[2]} ? : |