Total Complexity | 22 |
Dependencies | 2 |
Dependents | 5 |
Total lines | 95 |
Lines of code | 61 |
Logical lines of code | 36 |
Comment lines | 0 |
Methods | 8 |
Properties | 4 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_user_role() | 61 | 5 | 12 | |
__construct() | 62 | 4 | 11 | |
is_role() | 65 | 4 | 10 | |
init_properties() | 68 | 3 | 7 | |
is_can() | 72 | 2 | 5 | |
is_can_posts() | 66 | 2 | 8 | |
set_cap() | 80 | 1 | 3 | |
get_user_rolename() | 73 | 1 | 5 |