Activecampaign_For_Woocommerce_Admin D

Total Complexity 181
Dependencies 16
Dependents 6
Total lines 1,719
Lines of code 1,142
Logical lines of code 429
Comment lines 382
Methods 61
Properties 6

Methods 61

Method Rating Maintainability Complexity Lines of code
connection_health_check()
B
35 21 84
check_for_existing_connection()
A
48 13 32
add_admin_page()
A
42 5 66
error_admin_notice()
A
42 5 61
check_historical_sync_status()
S
46 6 39
stop_historical_sync()
S
50 5 31
please_configure_plugin_notice()
S
59 6 15
save_active_campaign_settings()
S
50 5 28
schedule_cron_syncs()
S
51 5 28
schedule_bulk_historical_sync()
S
46 4 42
handle_api_test()
S
53 5 25
validate_request_nonce()
S
47 4 40
get_abandoned_carts()
S
46 3 48
handle_abandon_cart_force_row_sync()
S
50 4 30
handle_abandon_cart_delete()
S
50 4 30
handle_settings_post()
S
51 4 27
reset_connection_id()
S
53 4 24
clear_plugin_settings()
S
55 4 21
clear_error_logs()
S
52 3 26
get_admin_notices()
S
55 3 21
handle_reset_connection_id()
S
56 3 19
schedule_single_historical_sync()
S
49 2 34
update_options()
S
57 3 18
update_storage_from_connection()
S
59 3 15
enqueue_styles_scripts()
S
48 1 44
validate_options_update()
S
62 3 13
handle_clear_plugin_settings()
S
62 3 12
run_historical_sync_active()
S
60 3 12
fetch_last_historical_sync()
S
55 2 21
extract_post_data()
S
59 2 16
validate_rest_user()
S
64 3 9
api_url_is_changing()
S
74 3 4
add_async_processing_notification()
S
61 2 13
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
push_response_notice()
S
71 2 6
push_response_error()
S
71 2 6
response_has_errors()
S
75 2 4
update_storage()
S
67 2 8
get_options()
S
70 2 7
historical_active_load_finished()
S
66 1 11
get_ab_cart_wait_options()
S
63 1 11
output_echo()
S
73 1 5
check_product_sync_status()
S
77 1 4
__construct()
S
69 1 7
format_response_message()
S
66 1 9
get_storage()
S
80 1 3
handle_abandon_cart_sync()
S
81 1 3
get_total_abandoned_carts_unsynced()
S
75 1 4
get_total_abandoned_carts()
S
72 1 5
fetch_status_page()
S
68 1 7
reset_historical_sync()
S
70 1 7
fetch_product_sync_page()
S
66 1 8
fetch_historical_sync_page()
S
73 1 5
fetch_abandoned_cart_page()
S
73 1 5
update_dismiss_error_notice_option()
S
71 1 5
update_dismiss_plugin_notice_option()
S
71 1 5
fetch_admin_page()
S
73 1 5
run_product_sync()
S
76 1 4