Mailchimp_User_Sync A

Total Complexity 75
Dependencies 1
Dependents 2
Total lines 871
Lines of code 590
Logical lines of code 223
Comment lines 187
Methods 26
Properties 4

Methods 26

Method Rating Maintainability Complexity Lines of code
start_user_sync()
A
42 8 52
sync_user_to_mailchimp()
S
58 6 16
sanitize_user_sync_settings()
S
64 7 8
render_user_sync_errors()
S
44 3 58
cancel_user_sync()
S
52 5 25
render_user_sync_start_cta()
S
47 3 46
get_users_count()
S
58 5 14
skip_user_sync_cta()
S
54 4 22
setup_fields_sections()
S
43 1 63
subscriber_status_field()
S
44 1 59
render_user_sync_progress()
S
47 2 43
init()
S
54 3 20
render_notices()
S
60 3 15
delete_user_sync_errors()
S
62 3 12
user_roles_field()
S
53 2 24
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
existing_contacts_only_field()
S
63 2 10
enable_user_sync_field()
S
60 1 15
delete_user_sync_error()
S
69 2 6
sync_all_users_button()
S
63 1 11
register_settings()
S
71 1 6
get_user_sync_errors()
S
80 1 3