DfxWooRoleChanger A

Total Complexity 68
Dependencies 3
Dependents 1
Total lines 416
Lines of code 336
Logical lines of code 145
Comment lines 48
Methods 18
Properties 1

Methods 18

Method Rating Maintainability Complexity Lines of code
role_assignment()
A
48 13 31
registerHooks()
A
37 9 89
role_unassignment()
A
53 8 22
maybe_remove_role_from_user()
S
51 7 27
maybe_add_role_to_user()
S
55 5 21
add_role_assignment_option()
S
52 4 23
get_settings()
S
44 2 51
save_role_assignment_option()
S
59 4 14
get_plugin_path_with_symlinks()
S
61 3 12
render_settings_tab()
S
68 3 7
__construct()
S
66 2 8
get_instance()
S
69 2 7
load_i18n()
S
74 1 4
add_settings_tab()
S
76 1 4
add_settings_link()
S
72 1 5
update_settings()
S
81 1 3
get_current_mode()
S
75 1 4
get_current_grant_moment()
S
75 1 4