WPPB_Roles_Editor D

Total Complexity 191
Dependencies 1
Dependents 0
Total lines 1,272
Lines of code 938
Logical lines of code 411
Comment lines 48
Methods 42
Properties 0

Methods 42

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
delete_role_permanently()
A
52 8 24
roles_update_user_new_and_edit()
S
55 7 20
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
__construct()
S
52 1 23
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