Code Analysis: Highways Sync for Intercom 1.1.6

Function Rating Maintainability Complexity Lines of code
Intercom_WP\WooCommerce_Shipment_Tracking::iwp_track_order()
A
42 16 44
Intercom_WP\Chat_Bubble::setUp()
A
51 11 24
Intercom_WP\Plugin::intercom_wp_settings_init()
A
39 8 68
Intercom_WP\Intercom::schedule_intercom_call()
A
52 11 22
Intercom_WP\Webhooks::intercom_wp_webhook_process()
A
50 9 27
Intercom_WP\Chat_Bubble::generate_snippet()
A
48 8 31
Intercom_WP\WooCommerce_Subscriptions::iwp_woocommerce_subscription_status_updated()
A
52 8 23
Intercom_WP\WooCommerce::iwp_woocommerce_checkout_complete()
S
47 6 38
Intercom_WP\WordPress::iwp_the_content()
S
53 7 21
Intercom_WP\Plugin::includes()
S
50 6 30
Intercom_WP\WooCommerce_Deposits::iwp_woocommerce_new_order()
S
53 6 22
Intercom_WP\WooCommerce_Subscriptions::iwp_woocommerce_scheduled_subscription_trial_end()
S
56 6 17
Intercom_WP\WooCommerce_Subscriptions::iwp_woocommerce_subscription_status_paused()
S
57 6 16
Intercom_WP\Intercom::add_tag()
S
54 5 22
Intercom_WP\WooCommerce::iwp_woocommerce_cart_item_removed()
S
53 5 22
Intercom_WP\WooCommerce_Bookings::iwp_woocommerce_booking_created()
S
54 5 20
Intercom_WP\Intercom::create_event()
S
55 5 19
Intercom_WP\Intercom::iwp_send_to_intercom()
S
55 5 18
Intercom_WP\WooCommerce_Shipment_Tracking::iwp_submit()
S
56 5 18
Intercom_WP\WooCommerce_Bookings::iwp_woocommerce_booking_complete()
S
57 5 16
Intercom_WP\Intercom::intercom_client()
S
57 5 15
Intercom_WP\WooCommerce::iwp_woocommerce_order_status_changed()
S
54 4 20
Intercom_WP\WordPress::iwp_register_new_user()
S
57 4 17
Intercom_WP\Intercom::create_user()
S
56 4 17
Intercom_WP\Intercom::create_lead()
S
56 4 17
Intercom_WP\WooCommerce_Bookings::iwp_woocommerce_booking_cancelled()
S
57 4 16
Intercom_WP\WooCommerce_Subscriptions::iwp_woocommerce_checkout_subscription_created()
S
55 3 19
Intercom_WP\WooCommerce::iwp_woocommerce_add_to_cart()
S
56 3 17
Intercom_WP\WooCommerce::iwp_woocommerce_before_checkout_form()
S
57 3 16
Intercom_WP\WooCommerce::iwp_woocommerce_before_cart()
S
57 3 16
Intercom_WP\WooCommerce_Subscriptions::iwp_woocommerce_subscription_renewal_payment_complete()
S
58 3 15
Intercom_WP\WooCommerce::iwp_woocommerce_applied_coupon()
S
59 3 14
Intercom_WP\Intercom::update_user()
S
59 3 13
Intercom_WP\WordPress::iwp_delete_user()
S
61 3 12
Intercom_WP\WordPress::iwp_clear_auth_cookie()
S
61 3 12
Intercom_WP\WordPress::iwp_set_user_role()
S
61 3 12
Intercom_WP\WooCommerce::iwp_woocommerce_cart_emptied()
S
61 3 12
Intercom_WP\Webhooks::connect_url()
S
55 2 19
Intercom_WP\Plugin::intercom_wp_checkbox()
S
64 3 9
Intercom_WP\Intercom::logMe()
S
67 3 7
Intercom_WP\Plugin::intercom_wp_render_field()
S
64 3 10
Intercom_WP\WooCommerce::iwp_wc_permitted_events()
S
59 2 15
Intercom_WP\WooCommerce::getCartTotal()
S
65 3 9
Intercom_WP\WooCommerce_Shipment_Tracking::iwp_track_order_form()
S
57 2 14
Intercom_WP\Chat_Bubble::html()
S
68 2 7
Intercom_WP\Intercom::is_event_permitted()
S
68 2 7
Intercom_WP\WooCommerce_Shipment_Tracking::__construct()
S
69 2 6
Intercom_WP\Chat_Bubble::is_chat_enabled()
S
78 2 3
Intercom_WP\Intercom::__construct()
S
64 2 10
Intercom_WP\WordPress::iwp_user_login()
S
66 2 8
Intercom_WP\Plugin::intercom_wp_options_page()
S
65 1 14
Intercom_WP\WordPress::iwp_permitted_events()
S
61 1 14
Intercom_WP\Intercom::create_contact()
S
61 1 12
Intercom_WP\WordPress::__construct()
S
60 1 12
Intercom_WP\WooCommerce::__construct()
S
61 1 11
Intercom_WP\WooCommerce_Subscriptions::iwp_wcs_permitted_events()
S
64 1 11
Intercom_WP\Chat_Bubble::add_admin_notice()
S
70 1 6
Intercom_WP\WooCommerce_Bookings::__construct()
S
66 1 7
Intercom_WP\WooCommerce_Bookings::iwp_wcb_permitted_events()
S
68 1 8
Intercom_WP\WooCommerce_Shipment_Tracking::iwp_initialize()
S
68 1 6
Intercom_WP\Webhooks::intercom_wp_webhook()
S
68 1 7
Intercom_WP\WordPress::iwp_profile_update()
S
76 1 4
Intercom_WP\WooCommerce_Deposits::iwp_wcd_permitted_events()
S
70 1 7
Intercom_WP\Plugin::__construct()
S
72 1 5
Intercom_WP\Intercom::includes()
S
80 1 3
Intercom_WP\Plugin::intercom_wp_settings_page()
S
78 1 3
Intercom_WP\WooCommerce_Shipment_Tracking::iwp_woocommerce_shipment_rest()
S
64 1 10
Intercom_WP\Plugin::iwp_is_plugin_active()
S
73 1 5
Intercom_WP\WooCommerce_Subscriptions::__construct()
S
65 1 8
Intercom_WP\WooCommerce::format_order_status()
S
78 1 3
Intercom_WP\Webhooks::__construct()
S
79 1 3
Intercom_WP\WordPress::iwp_password_reset()
S
76 1 4
Intercom_WP\Intercom::create_transient_id()
S
79 1 3
Intercom_WP\Plugin::intercom_wp_settings_section_callback()
S
79 1 3
Intercom_WP\WooCommerce_Deposits::__construct()
S
74 1 4
Intercom_WP\Intercom::add_user_data()
S
67 1 7
Intercom_WP\Chat_Bubble::__construct()
S
65 1 9
Intercom_WP\WooCommerce_Shipment_Tracking::iwp_canvas_payload()
S
74 1 4