Total Complexity | 74 |
Dependencies | 0 |
Dependents | 1 |
Total lines | 354 |
Lines of code | 307 |
Logical lines of code | 116 |
Comment lines | 8 |
Methods | 15 |
Properties | 4 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
restrict_single_question() | 44 | 18 | 43 | |
allow_user_view_their_draft_post() | 55 | 10 | 17 | |
__construct() | 35 | 1 | 140 | |
add_caps() | 55 | 8 | 18 | |
remove_permision_caps() | 57 | 6 | 17 | |
read_permission_apply() | 64 | 7 | 9 | |
reset_permission_default() | 57 | 5 | 16 | |
admin_menu_reset_permission_default() | 67 | 4 | 7 | |
first_update_role_functions() | 64 | 4 | 9 | |
read_comment_permission_apply() | 69 | 4 | 6 | |
reset_caps() | 61 | 3 | 12 | |
prepare_permission() | 80 | 1 | 3 | |
update_permission() | 81 | 1 | 3 | |
update_caps() | 76 | 1 | 4 | |
prepare_permission_caps() | 81 | 1 | 3 |