Total Complexity | 39 |
Dependencies | 1 |
Dependents | 5 |
Total lines | 464 |
Lines of code | 327 |
Logical lines of code | 69 |
Comment lines | 82 |
Methods | 11 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_capabilities() | 35 | 1 | 126 | |
get_canonical_role_from_role_and_user() | 53 | 8 | 21 | |
get_user_role() | 56 | 7 | 18 | |
get_unique_capabilities() | 40 | 1 | 75 | |
is_canonical_role_at_least() | 56 | 4 | 18 | |
get_role_from_caps() | 60 | 4 | 13 | |
get_users_with_canonical_role() | 60 | 4 | 13 | |
is_user_at_least() | 55 | 3 | 19 | |
get_canonical_roles_of_at_least() | 64 | 3 | 10 | |
get_canonical_roles() | 67 | 2 | 8 | |
get_canonical_role_from_role() | 70 | 2 | 6 |