Activecampaign_For_Woocommerce_Admin D

Total Complexity 153
Dependencies 13
Dependents 6
Total lines 1,585
Lines of code 1,035
Logical lines of code 386
Comment lines 371
Methods 56
Properties 6

Methods 56

Method Rating Maintainability Complexity Lines of code
connection_health_check()
B
38 15 72
error_admin_notice()
A
42 5 61
check_historical_sync_status()
S
46 6 39
add_admin_page()
S
44 4 56
stop_historical_sync()
S
49 5 31
please_configure_plugin_notice()
S
59 6 15
save_active_campaign_settings()
S
50 5 27
schedule_bulk_historical_sync()
S
46 4 41
schedule_cron_syncs()
S
52 5 26
handle_api_test()
S
53 5 25
validate_request_nonce()
S
47 4 40
get_abandoned_carts()
S
46 3 48
handle_abandon_cart_delete()
S
50 4 30
handle_abandon_cart_force_row_sync()
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
get_admin_notices()
S
55 3 21
schedule_single_historical_sync()
S
49 2 34
update_options()
S
57 3 18
handle_reset_connection_id()
S
57 3 18
validate_options_update()
S
62 3 13
run_historical_sync_active()
S
60 3 12
handle_clear_plugin_settings()
S
62 3 12
enqueue_styles_scripts()
S
50 1 37
fetch_last_historical_sync()
S
55 2 21
api_url_is_changing()
S
74 3 4
extract_post_data()
S
60 2 15
validate_rest_user()
S
64 3 9
add_async_processing_notification()
S
61 2 13
get_sync_ready_order_count()
S
63 2 11
clear_error_logs()
S
58 1 17
active_campaign_register_settings_api()
S
60 1 17
add_plugin_settings_link()
S
59 1 16
get_options()
S
70 2 7
update_storage()
S
67 2 8
response_has_errors()
S
75 2 4
push_response_error()
S
71 2 6
push_response_notice()
S
71 2 6
get_response()
S
71 2 6
get_ab_cart_wait_options()
S
63 1 11
historical_active_load_finished()
S
66 1 11
__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_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
output_echo()
S
73 1 5