Code Analysis: Instantio - Instant Checkout for WooCommerce 3.2.3

Function Rating Maintainability Complexity Lines of code
INS_icon::remix_icon()
D
0
1 2,276
INS_icon::fontawesome_six_icons()
D
0
1 1,883
INS_icon::fontawesome_five_icons()
D
0
1 1,616
INS\Controller\Assets::enqueue_custom_css_scripts()
D
18
71 182
INS_Repeater::render()
D
25
43 169
INS_icon::fontawesome_four_icons()
D
11
1 680
Ins_TF_Settings::ins_get_dashboard_callback()
D
17
7 579
ins_over_checkout_billing_fields()
D
29 37 128
ins_over_checkout_shipping_fields()
D
30 36 125
TF_Setup_Wizard::setup_step_two()
D
30 31 139
TF_Setup_Wizard::tf_setup_step_one()
C
30 28 132
Ins_TF_Options::field()
C
32 30 98
TF_Setup_Wizard::tf_setup_step_three()
C
30 26 145
TF_Setup_Wizard::tf_setup_wizard_submit_ajax()
C
39 32 50
INS\Controller\App::ins_layout_three()
C
35 28 77
INS\Controller\Assets::enqueue_custom_js_scripts()
B
45 25 31
Ins_TF_Settings::save_options()
B
40 23 52
INS_tab::render()
B
42 21 50
Ins_TF_Settings::ins_admin_options_page()
B
36 18 92
INS_select2::render()
B
42 21 42
INS_Metabox::save_metabox()
B
43 20 43
INS\Controller\App::ins_cart_toggle()
B
41 16 52
ins_billing_unrequire_fields()
A
46 16 35
TF_Taxonomy_Metabox::save_taxonomy()
A
48 16 30
ins_over_checkout_billing_address()
A
44 15 43
INS_select::render()
A
46 15 34
ins_shipping_unrequire_fields()
A
47 15 33
Appsero\Insights::get_tracking_data()
A
39 13 63
Appsero\License::menu_output()
A
42 13 57
INS\Controller\App::ins_cart_buttons()
A
50 15 23
instantio_get_svg_icon()
A
46 13 44
INS_map::render()
A
38 11 73
Appsero\Insights::deactivate_scripts()
A
35 6 145
INS_Metabox::tf_meta_box_content()
A
44 12 45
save_custom_field_to_order_meta()
A
47 11 42
INS_PROMO_NOTICE::__construct()
A
50 12 24
Appsero\Insights::deactivation_modal_styles()
A
48 1 186
INS_icon::INS_icon_modal()
A
43 8 66
TF_Setup_Wizard::tf_setup_wizard_steps_header()
A
46 9 49
INS_imageselect::render()
A
48 10 28
INS_PROMO_NOTICE::tf_black_friday_2023_admin_notice()
A
44 8 56
Appsero\Updater::check_plugin_update()
A
52 10 24
Appsero\Updater::check_theme_update()
A
52 10 23
INS_checkbox::render()
A
52 10 20
ins_over_checkout_shiping_address()
A
48 9 33
INS_heading::render()
A
51 9 32
TF_Taxonomy_Metabox::tf_taxonomy_content()
A
49 9 30
INS\Controller\Admin::__construct()
A
49 9 28
Appsero\License::license_form_submit()
A
51 9 26
ins_custom_checkout_field_display_order_meta()
A
52 9 23
ins_custom_checkout_field_display_order_meta_shipping()
A
52 9 23
Appsero\Insights::get_all_plugins()
A
48 8 34
INS\Controller\App::ins_ajax_update_cart()
A
43 7 47
tf_black_friday_2023_admin_notice()
A
43 6 61
Appsero\Updater::get_project_latest_version()
A
49 8 29
Appsero\License::licenses_style()
A
51 1 132
INS\Controller\Admin::ins_is_woo()
A
47 7 39
INS_date::render()
A
44 6 51
ins_defualt_shipping_checkout_from()
A
53 8 20
Appsero\Insights::handle_optin_optout()
A
56 8 18
INS_PROMO_NOTICE::tf_black_friday_2023_callback_woo_product()
S
46 5 60
INS_notice::render()
S
53 7 25
INS\Controller\App::ins_ajax_cart_reload()
S
46 6 38
Appsero\Updater::get_cached_version_info()
S
56 7 20
ins_defualt_billing_checkout_from()
S
54 7 19
Appsero\Insights::get_server_info()
S
55 7 17
INS_color::render()
S
54 7 17
Appsero\License::send_request()
S
51 6 28
Ins_TF_Options::Ins_tf_options_admin_enqueue_scripts()
S
45 5 41
Appsero\Insights::uninstall_reason_submission()
S
54 6 20
INS\Controller\App::ins_ajax_cart_single()
S
53 6 20
Appsero\Insights::admin_notice()
S
48 5 34
Ins_TF_Settings::pre_tabs()
S
57 6 17
Ins_TF_Settings::__construct()
S
56 6 16
Ins_TF_Options::Ins_load_options()
S
58 6 15
INS_radio::render()
S
57 6 13
Appsero\Insights::is_local_server()
S
58 6 13
Appsero\License::show_active_license_info()
S
52 5 27
INS_fieldset::render()
S
59 6 12
INS_imageselect::output()
S
60 6 11
INS_gallery::render()
S
51 5 22
Appsero\License::check_license_status()
S
55 5 19
INS\Controller\Admin::ins_review_notice()
S
44 2 63
INS\Controller\App::ins_layout_set_data()
S
56 5 17
INS\Controller\App::ins_cart_modern_header()
S
49 3 47
Appsero\Insights::__construct()
S
65 6 8
Appsero\License::is_valid_by()
S
64 6 9
Ins_TF_Settings::pre_sections()
S
59 5 15
INS_codeeditor::enqueue()
S
59 5 13
Appsero\Insights::send_tracking_data()
S
61 5 12
Appsero\License::is_valid()
S
61 5 12
INS_switch::render()
S
52 4 25
Appsero\License::active_client_license()
S
53 4 23
INS_PROMO_NOTICE::ins_get_api_response()
S
53 4 22
INS_icon::render()
S
55 4 20
Appsero\License::deactive_client_license()
S
56 4 18
INS_Fields::field_name()
S
64 5 9
Appsero\Insights::get_wp_info()
S
57 4 15
INSTANTIO::init()
S
59 4 14
Ins_TF_Settings::ins_admin_top_header()
S
49 1 59
Appsero\License::get_input_license_value()
S
59 4 14
INS\Controller\App::ins_ajax_cart_item_remove()
S
60 4 13
Appsero\License::admin_menu()
S
62 4 13
TF_Taxonomy_Metabox::load_fields()
S
61 4 12
INS_Metabox::load_fields()
S
61 4 12
INSTANTIO::ins_ajax_quickview_variable_products()
S
52 3 26
INS_Fields::field_attributes()
S
61 4 11
Ins_TF_Settings::pre_fields()
S
63 4 11
tf_black_friday_2023_callback_woo_product()
S
51 1 54
Appsero\License::show_license_page_card_header()
S
57 3 23
Ins_TF_Settings::instantio_tf_options()
S
49 2 37
Appsero\License::show_license_page_notices()
S
61 3 17
Appsero\Insights::get_uninstall_reasons()
S
46 1 47
INS_PROMO_NOTICE::tf_black_friday_notice_dismiss_callback()
S
62 4 10
Appsero\Updater::plugins_api_filter()
S
65 4 9
Appsero\License::refresh_client_license()
S
64 4 9
INS_PROMO_NOTICE::ins_black_friday_notice_ins_dismiss_callback()
S
66 4 7
Ins_TF_Settings::tf_ajax_save_options()
S
58 3 15
Ins_TF_Options::load_metaboxes()
S
64 4 10
TF_Setup_Wizard::tf_setup_finish_step()
S
52 2 29
INS_time::render()
S
59 3 14
INSTANTIO::includes()
S
62 3 12
Appsero\Insights::get_user_counts()
S
62 3 12
Appsero\Insights::activate_plugin()
S
61 3 12
INS_editor::render()
S
61 3 12
Appsero\License::run_schedule()
S
62 3 12
Appsero\Insights::get_site_name()
S
63 3 11
Appsero\Insights::get_user_ip_address()
S
63 3 11
TF_Setup_Wizard::tf_setup_welcome_step()
S
55 2 25
INS\Controller\Admin::ins_wooinstantio_updated()
S
58 2 21
INS_codeeditor::render()
S
55 2 19
INSTANTIO::define_constants()
S
61 2 17
Appsero\Client::set_basename_and_slug()
S
56 2 17
Appsero\Client::updater()
S
64 3 10
is_ins_pro_active()
S
71 3 6
Ins_TF_Settings::get_current_page_url()
S
72 3 4
INS_number::render()
S
68 3 5
INS_select2::sanitize()
S
65 3 9
Ins_TF_Options::is_ins_pro_active()
S
71 3 6
INS_callback::render()
S
72 3 5
INS_text::render()
S
68 3 5
Appsero\Updater::__construct()
S
65 3 9
INS\Controller\Admin::ins_update_option()
S
67 3 7
INS_PROMO_NOTICE::tf_black_friday_2023_woo_product()
S
68 3 6
TF_Setup_Wizard::remove_notice()
S
70 3 6
INS\Controller\App::ins_ajax_remove_coupon()
S
58 2 15
INS_file::render()
S
68 3 5
Appsero\Client::insights()
S
64 3 10
Appsero\Client::license()
S
64 3 10
Appsero\Insights::init()
S
69 3 7
Appsero\Insights::get_extra_data()
S
67 3 9
ins_override_ordernote_fields()
S
67 3 7
Appsero\Insights::data_we_collect()
S
60 2 14
INS\Controller\App::ins_ajax_empty_cart()
S
59 2 14
INS\Controller\Admin::instantio_plugin_action_links()
S
60 2 13
Appsero\Insights::send_tracking_skipped_request()
S
60 2 13
TF_Setup_Wizard::tf_wizard_menu()
S
62 2 13
TF_Setup_Wizard::tf_wizard_page()
S
54 1 27
INS_image::render()
S
61 2 11
INS_icon::get_icon_list()
S
53 1 26
Appsero\Client::send_request()
S
54 1 21
INS\Controller\App::__construct()
S
54 1 21
TF_Taxonomy_Metabox::__construct()
S
56 1 17
Ins_TF_Options::instance()
S
71 2 6
tf_black_friday_2023_woo_product()
S
71 2 5
ins_del_shipping_fields()
S
69 2 7
ins_before_woocommerce_init()
S
72 2 5
insopt()
S
74 2 4
TF_Setup_Wizard::tf_activation_redirect()
S
69 2 7
INS_Metabox::tf_meta_box()
S
65 2 9
INSTANTIO::ins_appsero_init_tracker_instantio()
S
64 2 9
INS\Controller\Assets::enqueue_scripts()
S
57 1 15
Appsero\Insights::init_common()
S
64 2 9
Appsero\Insights::schedule_event()
S
69 2 6
INS\Controller\Admin::ins_activate()
S
71 2 6
Appsero\Insights::deactivation_cleanup()
S
67 2 8
INS\Controller\Admin::ins_deactivate()
S
72 2 6
Appsero\Insights::theme_deactivated()
S
73 2 5
INS\Controller\App::ins_options_init()
S
66 2 8
Appsero\Updater::get_version_info()
S
68 2 8
INS_textarea::render()
S
71 2 4
TF_Setup_Wizard::instance()
S
71 2 6
Appsero\Client::is_local_server()
S
73 2 4
Appsero\Insights::notice_dismissed()
S
68 2 7
INS_icon::__construct()
S
66 2 8
Appsero\Insights::plugin_action_links()
S
69 2 6
TF_Setup_Wizard::__construct()
S
64 2 8
Appsero\License::schedule_cron_event()
S
70 2 6
Ins_TF_Options::tf_options_define()
S
75 2 5
Appsero\Updater::set_cached_version_info()
S
70 2 6
INS_checkbox::sanitize()
S
74 2 4
INSTANTIO::tf_plugin_loaded_action()
S
73 2 5
ins_del_billing_fields()
S
69 2 7
Appsero\License::add_settings_page()
S
59 1 14
INS\Controller\App::ins_cart_content_modern()
S
62 1 13
Appsero\License::create_menu_page()
S
63 1 12
ins_reset_shipping_fields_button()
S
63 1 12
ins_reset_blliling_fields_button()
S
63 1 12
Appsero\License::create_submenu_page()
S
63 1 12
INS\Controller\App::ins_modern_cart_only()
S
64 1 11
INS_PROMO_NOTICE::metabox_order()
S
65 1 11
metabox_order()
S
66 1 11
Appsero\License::create_options_page()
S
64 1 11
Appsero\Insights::add_extra()
S
77 1 4
Appsero\Client::set_textdomain()
S
81 1 3
Ins_TF_Options::Ins_tf_options_file_path()
S
79 1 3
Appsero\License::check()
S
74 1 4
INS_PROMO_NOTICE::ins_promo__schudle_callback()
S
82 1 3
INS_number::__construct()
S
78 1 3
Appsero\License::set_option_key()
S
77 1 4
INS_heading::__construct()
S
78 1 3
INS_select2::__construct()
S
78 1 3
Appsero\Insights::clear_schedule_event()
S
80 1 3
INS_select::__construct()
S
78 1 3
Appsero\License::__construct()
S
65 1 8
Appsero\Insights::hide_notice()
S
77 1 4
Appsero\Insights::get_post_count()
S
66 1 9
Appsero\License::activate()
S
74 1 4
INS\Controller\Admin::ins_load_textdomain()
S
79 1 3
Appsero\Insights::add_weekly_schedule()
S
68 1 7
INSTANTIO::ins_public_hooks()
S
79 1 3
INS_textarea::__construct()
S
78 1 3
Appsero\License::deactivate()
S
74 1 4
Appsero\Insights::notice()
S
77 1 4
Ins_TF_Options::__construct()
S
67 1 8
Appsero\Updater::run_plugin_hooks()
S
74 1 4
Ins_TF_Options::Ins_tf_options_version()
S
82 1 3
INS_time::__construct()
S
78 1 3
Appsero\Client::endpoint()
S
75 1 4
INS\Controller\Admin::version_warning()
S
69 1 8
INS_fieldset::sanitize()
S
82 1 3
INS_radio::__construct()
S
78 1 3
INS_date::__construct()
S
78 1 3
INS_text::__construct()
S
78 1 3
INS_editor::__construct()
S
78 1 3
INS_color::__construct()
S
78 1 3
Appsero\Client::__trans()
S
79 1 3
INS_Fields::sanitize()
S
80 1 3
INS\Controller\Assets::admin_enqueue_scripts()
S
63 1 10
INSTANTIO::init_hooks()
S
78 1 3
Appsero\Client::__construct()
S
71 1 6
instantio_svg_icon()
S
81 1 3
ins_admin_enqueue_scripts()
S
63 1 10
INSTANTIO::__construct()
S
73 1 6
Appsero\Insights::tracking_allowed()
S
74 1 4
INS_tab::sanitize()
S
82 1 3
INS_Metabox::__construct()
S
64 1 9
INS_callback::__construct()
S
78 1 3
INS_imageselect::__construct()
S
78 1 3
INS_color::sanitize()
S
82 1 3
INS_checkbox::__construct()
S
78 1 3
Ins_TF_Settings::option()
S
79 1 3
Appsero\License::get_license()
S
79 1 3
Appsero\Insights::init_theme()
S
72 1 5
Appsero\Insights::init_plugin()
S
67 1 7
Ins_TF_Options::Ins_tf_options_wp_enqueue_scripts()
S
69 1 6
INS_Metabox::metabox()
S
79 1 3
Appsero\License::clear_scheduler()
S
81 1 3
INS_Repeater::__construct()
S
78 1 3
Appsero\Client::_etrans()
S
79 1 3
INS_switch::__construct()
S
78 1 3
TF_Taxonomy_Metabox::taxonomy()
S
79 1 3
tf_black_friday_notice_dismiss_callback()
S
68 1 7
Ins_TF_Options::Ins_tf_options_file_url()
S
79 1 3
INS_notice::__construct()
S
78 1 3
Appsero\Insights::optin()
S
66 1 8
Appsero\Updater::run_theme_hooks()
S
79 1 3
Appsero\Insights::optout()
S
68 1 7
Ins_TF_Options::Ins_classes_load_files()
S
74 1 5
INS_codeeditor::sanitize()
S
80 1 3
Appsero\Insights::add_plugin_data()
S
77 1 4
INS_PROMO_NOTICE::ins_promo_notice_deactivation_hook()
S
72 1 6
Ins_TF_Settings::get_query_string()
S
72 1 5
INS_PROMO_NOTICE::ins_custom_cron_interval()
S
69 1 7
INS\Controller\Assets::__construct()
S
68 1 7
INS_Repeater::sanitize()
S
82 1 3
INS_file::__construct()
S
78 1 3
Appsero\License::refresh_license_api()
S
67 1 9
INS_image::sanitize()
S
80 1 3
Appsero\Insights::get_last_send()
S
78 1 3
INS_Fields::__construct()
S
71 1 6
INS_fieldset::__construct()
S
78 1 3
INSTANTIO::ins_check_editor()
S
67 1 7
INS_editor::sanitize()
S
80 1 3
INS_map::__construct()
S
78 1 3
INS_tab::__construct()
S
78 1 3
INS_gallery::__construct()
S
78 1 3
INS_image::__construct()
S
78 1 3
INS_codeeditor::__construct()
S
75 1 4