Mailchimp_User_Sync B

Total Complexity 77
Dependencies 1
Dependents 2
Total lines 892
Lines of code 611
Logical lines of code 219
Comment lines 188
Methods 26
Properties 4

Methods 26

Method Rating Maintainability Complexity Lines of code
start_user_sync()
A
43 8 49
sync_user_to_mailchimp()
S
58 6 16
sanitize_user_sync_settings()
S
64 7 8
setup_fields_sections()
S
42 2 69
cancel_user_sync()
S
54 5 22
render_user_sync_errors()
S
46 3 49
render_user_sync_start_cta()
S
47 3 46
get_users_count()
S
58 5 14
skip_user_sync_cta()
S
55 4 19
subscriber_status_field()
S
44 1 59
render_user_sync_progress()
S
47 2 43
init()
S
55 3 18
render_notices()
S
60 3 15
user_roles_field()
S
52 2 29
delete_user_sync_errors()
S
62 3 12
sync_all_users_button()
S
53 2 25
existing_contacts_only_field()
S
56 2 21
get_user_sync_settings()
S
58 2 16
set_user_sync_errors()
S
66 3 8
get_user_sync_status()
S
60 2 14
render_user_sync_status()
S
64 2 13
add_notice()
S
63 2 11
enable_user_sync_field()
S
57 1 20
delete_user_sync_error()
S
69 2 6
register_settings()
S
71 1 6
get_user_sync_errors()
S
80 1 3