acf_user_role_field_setting S

Total Complexity 41
Dependencies 0
Dependents 0
Total lines 155
Lines of code 126
Logical lines of code 66
Comment lines 20
Methods 10
Properties 3

Methods 10

Method Rating Maintainability Complexity Lines of code
add_actions()
A
50 10 26
user_can_edit()
A
54 8 20
prepare_field()
S
59 5 14
current_user_roles()
S
65 5 9
get_roles()
S
59 4 14
after_setup_theme()
S
64 3 9
output_hidden_fields()
S
65 3 9
render_field_settings()
S
58 1 16
__construct()
S
72 1 5
init()
S
78 1 4