Activecampaign_For_Woocommerce_Admin D

Total Complexity 182
Dependencies 21
Dependents 6
Total lines 1,455
Lines of code 947
Logical lines of code 382
Comment lines 301
Methods 49
Properties 8

Methods 49

Method Rating Maintainability Complexity Lines of code
connection_health_check()
D
29 34 125
check_for_existing_connection()
A
42 15 51
update_settings()
A
44 10 46
add_admin_entitlements()
A
48 7 40
enqueue_styles_scripts()
S
43 4 61
error_admin_notice()
S
45 4 47
please_configure_plugin_notice()
S
59 6 15
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
55 5 20
clear_plugin_settings()
S
50 4 31
handle_settings_post()
S
51 4 28
api_url_is_changing()
S
62 5 12
clear_error_logs()
S
52 3 26
get_admin_notices()
S
55 3 21
add_standard_urls_to_ac_whitelist()
S
55 3 20
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_sync_ready_order_count()
S
55 2 22
get_ac_error_count()
S
57 2 17
activecampaign_fetch_accountid()
S
59 2 16
load_connection_block()
S
71 3 6
load_status_mapping_block()
S
71 3 6
validate_rest_user()
S
64 3 9
add_admin_page()
S
53 1 28
active_campaign_register_settings_api()
S
60 1 17
add_plugin_settings_link()
S
59 1 16
get_local_settings()
S
70 2 7
get_response()
S
71 2 6
response_has_errors()
S
78 2 3
push_response_notice()
S
71 2 6
push_response_error()
S
71 2 6
add_async_processing_notification()
S
65 2 9
update_connection_storage()
S
64 2 10
clear_entitlements_cache()
S
77 1 4
output_err_mark()
S
72 1 6
fetch_admin_page()
S
69 1 7
update_dismiss_plugin_notice_option()
S
71 1 5
output_yes_mark()
S
71 1 7
output_echo()
S
73 1 5
cron_add_ten_minute()
S
68 1 7
get_connection_storage()
S
80 1 3
update_dismiss_error_notice_option()
S
71 1 5
__construct()
S
65 1 9