Activecampaign_For_Woocommerce_Admin D

Total Complexity 163
Dependencies 15
Dependents 6
Total lines 1,336
Lines of code 871
Logical lines of code 361
Comment lines 279
Methods 45
Properties 7

Methods 45

Method Rating Maintainability Complexity Lines of code
connection_health_check()
D
29 34 125
check_for_existing_connection()
A
42 15 51
add_admin_page()
S
43 4 61
error_admin_notice()
S
45 4 47
please_configure_plugin_notice()
S
59 6 15
update_settings()
S
50 5 30
save_active_campaign_settings()
S
51 5 27
handle_api_test()
S
53 5 25
handle_status_mapping_actions()
S
52 5 24
schedule_cron_syncs()
S
53 5 24
clear_plugin_settings()
S
48 4 37
enqueue_styles_scripts()
S
44 2 61
handle_settings_post()
S
51 4 27
clear_error_logs()
S
52 3 26
get_admin_notices()
S
55 3 21
handle_reset_connection_id()
S
56 3 19
update_storage_from_connection()
S
56 3 18
validate_options_update()
S
62 3 13
remove_deleted_order()
S
61 3 12
handle_clear_plugin_settings()
S
62 3 12
restore_product()
S
61 3 12
get_ac_error_count()
S
57 2 17
load_status_mapping_block()
S
71 3 6
load_connection_block()
S
71 3 6
validate_rest_user()
S
64 3 9
api_url_is_changing()
S
74 3 4
get_sync_ready_order_count()
S
63 2 11
active_campaign_register_settings_api()
S
60 1 17
add_plugin_settings_link()
S
59 1 16
get_response()
S
71 2 6
response_has_errors()
S
78 2 3
push_response_error()
S
71 2 6
get_local_settings()
S
70 2 7
add_async_processing_notification()
S
65 2 9
update_connection_storage()
S
64 2 10
push_response_notice()
S
71 2 6
output_yes_mark()
S
71 1 7
output_err_mark()
S
72 1 6
fetch_admin_page()
S
69 1 7
output_echo()
S
73 1 5
clear_cron_syncs()
S
74 1 5
update_dismiss_plugin_notice_option()
S
71 1 5
get_connection_storage()
S
80 1 3
update_dismiss_error_notice_option()
S
71 1 5
__construct()
S
67 1 8