DfxWooRoleChanger B

Total Complexity 76
Dependencies 3
Dependents 1
Total lines 472
Lines of code 384
Logical lines of code 163
Comment lines 45
Methods 20
Properties 2

Methods 20

Method Rating Maintainability Complexity Lines of code
role_assignment()
A
47 13 36
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
48 6 36
is_subscription_product()
S
58 5 16
get_settings()
S
44 2 51
save_role_assignment_option()
S
55 4 20
add_role_assignment_option()
S
51 3 25
get_plugin_path_with_symlinks()
S
61 3 12
subscriptions_enabled()
S
78 3 3
render_settings_tab()
S
68 3 7
__construct()
S
64 2 9
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