WPPB_Roles_Editor D

Total Complexity 181
Dependencies 1
Dependents 0
Total lines 1,263
Lines of code 930
Logical lines of code 405
Comment lines 41
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
modify_list_row_actions()
A
41 9 54
update_role_capabilities()
A
50 9 30
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
edit_publish_meta_box()
S
50 4 36
delete_capability_permanently()
S
55 5 18
get_role_capabilities()
S
57 5 16
edit_role_capabilities_meta_box_callback()
S
44 1 76
add_post_meta()
S
60 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
get_all_capabilities()
S
62 4 12
roles_field_user_new()
S
61 4 11
post_type_group_capabilities()
S
57 3 16
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
roles_field_user_edit()
S
66 3 8
remove_filter_by_month_dropdown()
S
69 3 7
scripts_and_styles_actions()
S
64 3 10
__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