Total Complexity | 17 |
Dependencies | 1 |
Dependents | 0 |
Total lines | 139 |
Lines of code | 48 |
Logical lines of code | 24 |
Comment lines | 70 |
Methods | 9 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
filter_existing_capabilties() | 59 | 5 | 15 | |
get_capabilities() | 64 | 4 | 10 | |
add() | 68 | 2 | 7 | |
register() | 71 | 1 | 6 | |
get_roles() | 80 | 1 | 3 | |
remove() | 75 | 1 | 4 | |
capability_exists() | 79 | 1 | 3 | |
add_role() | 100 | 1 | 0 | |
remove_role() | 100 | 1 | 0 |