Activecampaign_For_Woocommerce_Admin D

Total Complexity 139
Dependencies 12
Dependents 6
Total lines 1,487
Lines of code 965
Logical lines of code 345
Comment lines 354
Methods 53
Properties 6

Methods 53

Method Rating Maintainability Complexity Lines of code
connection_health_check()
A
40 12 61
error_admin_notice()
A
42 5 61
check_historical_sync_status()
S
48 6 34
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
51 5 25
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
52 4 25
reset_connection_id()
S
53 4 24
clear_plugin_settings()
S
56 4 19
schedule_bulk_historical_sync()
S
49 2 36
get_admin_notices()
S
55 3 21
schedule_single_historical_sync()
S
49 2 34
handle_reset_connection_id()
S
57 3 18
update_options()
S
57 3 18
validate_options_update()
S
62 3 13
handle_clear_plugin_settings()
S
62 3 12
enqueue_styles_scripts()
S
50 1 37
fetch_last_historical_sync()
S
55 2 21
extract_post_data()
S
60 2 15
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
clear_error_logs()
S
58 1 17
active_campaign_register_settings_api()
S
60 1 17
add_plugin_settings_link()
S
59 1 16
response_has_errors()
S
75 2 4
get_options()
S
70 2 7
push_response_error()
S
71 2 6
update_storage()
S
67 2 8
get_response()
S
71 2 6
push_response_notice()
S
71 2 6
fetch_recent_log_errors()
S
63 1 13
get_ab_cart_wait_options()
S
63 1 11
get_storage()
S
80 1 3
format_response_message()
S
66 1 9
fetch_admin_page()
S
73 1 5
update_dismiss_plugin_notice_option()
S
71 1 5
update_dismiss_error_notice_option()
S
71 1 5
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_abandoned_cart_page()
S
73 1 5
fetch_status_page()
S
73 1 5
reset_historical_sync()
S
70 1 7
fetch_historical_sync_page()
S
73 1 5
__construct()
S
69 1 7