WPPB_Roles_Editor D

Total Complexity 198
Dependencies 2
Dependents 0
Total lines 1,308
Lines of code 965
Logical lines of code 422
Comment lines 50
Methods 44
Properties 0

Methods 44

Method Rating Maintainability Complexity Lines of code
scripts_admin()
C
30 21 114
group_capabilities()
B
33 17 101
get_hidden_capabilities()
A
49 13 29
update_role_capabilities()
A
49 11 30
modify_list_row_actions()
A
41 9 54
custom_column_content_for_roles_editor_cpt()
A
51 9 25
create_post_for_role()
A
46 8 39
roles_update_user_new_and_edit()
A
53 9 23
delete_role_permanently()
A
52 8 24
add_post_meta()
S
57 7 15
delete_capability_permanently()
S
53 6 20
get_role_capabilities()
S
57 6 16
edit_publish_meta_box()
S
50 4 36
edit_role_capabilities_meta_box_callback()
S
43 1 76
roles_field_user_new()
S
59 5 13
modify_post_title()
S
61 5 12
create_roles_editor_cpt()
S
48 3 33
roles_update_user_edit()
S
64 5 9
scripts_and_styles_actions()
S
63 5 10
get_all_capabilities()
S
62 4 12
post_type_group_capabilities()
S
57 3 16
roles_field_user_edit()
S
63 4 10
roles_update_user_new()
S
63 4 10
roles_field_display()
S
54 2 25
wp_default_scripts()
S
44 1 35
change_post_updated_messages()
S
55 2 17
remove_filter_by_month_dropdown()
S
69 3 7
redirect_to_roles_editor()
S
70 3 6
submenu_page()
S
60 2 14
__construct()
S
50 1 27
remove_old_labels()
S
66 2 7
change_title_text()
S
68 2 7
count_role_users()
S
66 2 9
wp_default_styles()
S
59 1 12
print_scripts_user_edit()
S
100 1 12
print_scripts_user_new()
S
100 1 11
actions_on_user_new()
S
72 1 5
actions_on_user_edit()
S
72 1 5
sanitize_role()
S
67 1 8
register_meta_boxes()
S
73 1 4
add_extra_column_for_roles_editor_cpt()
S
65 1 9
edit_cpt_quick_links()
S
74 1 5
enqueue_jquery()
S
82 1 3
print_styles_user_edit()
S
100 1 10