Code Analysis: WooCommerce Checkout Manager 6.4.0

Function Rating Maintainability Complexity Lines of code
WOOCCM_Fields_Filter::custom_field()
D
28
38 115
WOOCCM_Fields_Handler::add_field_classes()
B
40 23 57
WOOCCM_Fields_Display::disable_by_category()
B
44 19 44
WOOCCM_Fields_Display::disable_by_product()
B
46 17 39
WOOCCM_Field_Controller_Additional::add_order_data()
A
35 12 99
WOOCCM_Fields_i18n::register_wpml_fields()
A
49 16 28
WOOCCM_Notices::add_notices()
A
35 10 117
WOOCCM_Fields_i18n::register_polylang_fields()
A
50 15 28
WOOCCM_Field_Admin::ajax_select_search_products()
A
45 14 33
WOOCCM_Fields_Handler::add_field_filter()
A
44 13 46
WOOCCM_Field::sanitize_field()
A
47 12 33
WOOCCM_Upload::ajax_delete_attachment()
A
49 12 27
WOOCCM_Fields_Conditional::remove_required()
A
48 11 35
WOOCCM_Field_Controller::get_modal_field()
A
49 10 29
WOOCCM_Order_Controller::ajax_order_attachment_upload()
A
51 10 25
WOOCCM_Upload::update_attachment_ids()
A
51 9 26
WOOCCM_Field_Controller::ajax_change_field_attribute()
A
53 9 22
WOOCCM_Field_Controller_Billing::add_admin_billing_fields()
A
51 8 27
WOOCCM_Notices::get_cross_sell()
A
51 8 27
WOOCCM_Field_Controller_Shipping::add_admin_shipping_fields()
A
51 8 27
WOOCCM_Field_Controller::save_field_order()
A
53 8 22
WOOCCM_Field_Controller::ajax_toggle_field_attribute()
A
54 8 21
QL_Widget::display_dashboard_widget()
A
43 6 50
WOOCCM_Suggestions_List_Table::prepare_items()
A
47 7 34
WOOCCM_Fields_Handler::posted_data()
S
56 7 17
WOOCCM_Fields_Handler::remove_checkout_fields()
S
57 7 17
WOOCCM_Field_Helpers::get_form_action()
S
62 7 11
QL_Widget::get_feed()
S
52 6 24
WOOCCM_Field_Helpers::get_attachment_icon()
S
55 6 20
WOOCCM_Upload::process_uploads()
S
48 5 34
WOOCCM_Field_Controller_Additional::save_order_data()
S
56 6 17
WOOCCM_Field_Controller::ajax_load_parent()
S
57 6 16
WOOCCM_Field_Controller::ajax_save_field()
S
57 6 15
WOOCCM_Fields_i18n::translate()
S
59 6 15
WOOCCM_Field::duplicated_name()
S
61 6 12
WOOCCM_Fields_Additional::add_required_notice()
S
60 6 11
WOOCCM_Field::get_args()
S
38 1 83
WOOCCM_Fields_Display::disable_by_role()
S
56 5 19
WOOCCM_Fields_Additional::__construct()
S
56 5 18
WOOCCM_Order_Email_Controller::get_settings()
S
40 1 76
WOOCCM_Checkout_Controller::get_settings()
S
40 1 76
WOOCCM_Checkout_Suggestions_Controller::network_admin_url()
S
62 6 10
WOOCCM_Field::update_fields()
S
60 5 14
WOOCCM_Upload::ajax_checkout_attachment_upload()
S
59 5 14
WOOCCM_Field_Controller::ajax_reset_fields()
S
60 5 14
WOOCCM_Field_Controller::ajax_load_field()
S
59 5 14
WOOCCM_Fields_Filter::heading_field()
S
57 5 14
WOOCCM_Field_Controller::ajax_delete_field()
S
60 5 13
WOOCCM_Order_Controller::add_upload_files()
S
52 4 26
WOOCCM_Order_Controller::get_settings()
S
42 1 68
WOOCCM_Fields_Handler::fix_address_fields_classes()
S
55 4 22
WOOCCM_Checkout_Controller::add_inline_scripts()
S
54 3 36
WOOCCM_Field_Admin::enqueue_scripts()
S
53 4 19
WOOCCM_Field::get_default_fields()
S
56 4 17
WOOCCM_Fields_Additional::add_additional_fields()
S
58 4 17
WOOCCM_Field::order_fields()
S
64 5 9
WOOCCM_Fields_Additional::position()
S
59 4 15
WOOCCM_Fields_Conditional::add_field_attributes()
S
65 5 8
WOOCCM_Fields_Conditional::is_valid_conditional_field()
S
60 4 14
WOOCCM_Checkout_Controller::order_notes()
S
60 4 13
WOOCCM_Model::get_items()
S
62 4 12
WOOCCM_Fields_i18n::translate_field()
S
62 4 12
WOOCCM_Model::save_items()
S
62 4 11
WOOCCM_Field_Controller::enqueue_scripts()
S
55 3 20
WOOCCM_Suggestions_List_Table::get_plugins()
S
56 3 17
WOOCCM_Fields_Register::add_billing_fields_beta()
S
58 3 17
WOOCCM_Fields_Register::add_shipping_fields_beta()
S
58 3 17
WOOCCM_Checkout_Suggestions_Controller::add_redirect()
S
67 4 7
WOOCCM_Field::get_field_id()
S
64 4 10
WOOCCM_Order_Controller::admin_scripts()
S
66 4 8
WOOCCM_Fields_Handler::remove_address_fields()
S
60 3 15
WOOCCM_Order_Controller::add_custom_fields()
S
63 4 9
WOOCCM::is_min()
S
72 4 5
WOOCCM_Fields_Filter::country_field()
S
60 3 14
WOOCCM_Fields_Filter::state_field()
S
60 3 14
WOOCCM_Checkout_Controller::enqueue_scripts()
S
60 3 13
WOOCCM_Field_Controller::save_modal_field()
S
60 3 13
WOOCCM_Model::update_item()
S
62 3 12
WOOCCM::register_scripts()
S
45 1 41
WOOCCM_Field_Controller::__construct()
S
53 2 23
WOOCCM_Checkout_Advanced_Controller::get_settings()
S
50 1 32
WOOCCM_Field_Controller_Additional::add_section()
S
57 2 16
WOOCCM_Field::get_fields()
S
62 3 10
WOOCCM_Field_Controller_Billing::add_section()
S
58 2 15
WOOCCM_Model::delete_item()
S
66 3 9
WOOCCM_Suggestions_List_Table::remove_plugins()
S
64 3 9
WOOCCM_Model::get()
S
64 3 10
WOOCCM_Field_Controller_Shipping::add_section()
S
58 2 15
WOOCCM_Notices::ajax_dismiss_notice()
S
64 3 9
WOOCCM_Checkout_Controller::add_checkout_form_before_message()
S
60 2 15
WOOCCM_Fields_Display::fix_country()
S
66 3 8
WOOCCM_Fields_Display::fix_email()
S
68 3 7
WOOCCM_Checkout_Controller::add_checkout_form_after_message()
S
60 2 15
WOOCCM_Field_Controller::add_modal_field()
S
66 3 8
WOOCCM_Field_Controller::delete_field()
S
66 3 8
WOOCCM_Checkout_Controller::additional_info()
S
64 3 10
WOOCCM_Order_Controller::frontend_scripts()
S
66 3 8
WOOCCM_Fields_i18n::i18n()
S
66 3 8
WOOCCM_Fields_Register::add_keys()
S
65 3 9
WOOCCM::init_session()
S
66 3 9
WOOCCM_Field_Helpers::get_file_extension_icon()
S
59 2 14
WOOCCM_Order_Controller::add_metabox_content()
S
59 2 14
WOOCCM_Fields_i18n::init_wpml()
S
60 2 13
WOOCCM_Fields_i18n::init_polylang()
S
60 2 13
WOOCCM_Field::get_types()
S
51 1 27
WOOCCM_Fields_Handler::__construct()
S
61 2 12
WOOCCM_Fields_Register::add_account_billing_fields_beta()
S
62 2 12
WOOCCM_Fields_Register::add_account_shipping_fields_beta()
S
62 2 12
WOOCCM_Checkout_Controller::__construct()
S
53 1 22
WOOCCM_Order_Controller::__construct()
S
56 1 17
WOOCCM_Field_Controller_Additional::get_settings()
S
59 1 16
WOOCCM_Checkout_Controller::checkout_force_shipping_address()
S
68 2 7
WOOCCM_Model::get_next_id()
S
68 2 7
WOOCCM_Fields_Filter::hidden_field()
S
63 2 9
WOOCCM_Order_Email_Controller::save_settings()
S
71 2 6
WOOCCM_Checkout_Advanced_Controller::add_header()
S
69 2 6
WOOCCM_Checkout_Advanced_Controller::add_section()
S
68 2 7
WOOCCM_Fields_Display::instance()
S
72 2 6
WOOCCM_Fields_i18n::instance()
S
72 2 6
WOOCCM_Checkout_Controller::add_section()
S
68 2 7
WOOCCM::instance()
S
72 2 6
WOOCCM_Checkout_Advanced_Controller::add_inline_scripts()
S
67 2 9
WOOCCM_Order_Controller::upload_os()
S
67 2 7
WOOCCM_Checkout_Controller::text1()
S
68 2 7
WOOCCM_Fields_Conditional::instance()
S
72 2 6
WOOCCM_Admin_Links::instance()
S
72 2 6
WOOCCM_Fields_Filter::instance()
S
72 2 6
WOOCCM_Checkout_Suggestions_Controller::instance()
S
72 2 6
WOOCCM_Checkout_Controller::notesplaceholder()
S
68 2 7
WOOCCM_Checkout_Controller::text2()
S
68 2 7
WOOCCM_Order_Controller::add_section()
S
68 2 7
WOOCCM_Order_Controller::upload_title()
S
68 2 7
WOOCCM_Field_Controller_Shipping::instance()
S
72 2 6
WOOCCM_Checkout_Advanced_Controller::save_settings()
S
71 2 6
WOOCCM_Checkout_Controller::notesenable()
S
68 2 7
WOOCCM_Checkout_Controller::add_header()
S
69 2 6
WOOCCM_Fields_Handler::instance()
S
72 2 6
WOOCCM_Field_Shipping::instance()
S
72 2 6
WOOCCM_Fields_Register::instance()
S
72 2 6
WOOCCM_Order_Email_Controller::add_section()
S
68 2 7
WOOCCM_Field_Controller_Additional::instance()
S
72 2 6
WOOCCM_Field_Controller_Additional::save_settings()
S
72 2 6
WOOCCM_Checkout_Controller::auto_create_wccm_account()
S
68 2 7
WOOCCM_Checkout_Controller::save_settings()
S
71 2 6
WOOCCM_Field_Controller::instance()
S
72 2 6
WOOCCM_Suggestions_List_Table::self_admin_url()
S
70 2 6
QL_Widget::instance()
S
71 2 6
QL_Widget::__construct()
S
70 2 6
WOOCCM_Checkout_Controller::force_shipping_address()
S
70 2 6
WOOCCM_Field_Additional::instance()
S
72 2 6
WOOCCM_Field_Controller_Billing::instance()
S
72 2 6
WOOCCM_Field_Billing::instance()
S
72 2 6
WOOCCM_Fields_Additional::instance()
S
72 2 6
WOOCCM_Field_Controller_Additional::add_header()
S
69 2 6
WOOCCM_Order_Email_Controller::instance()
S
72 2 6
WOOCCM_Order_Controller::save_settings()
S
71 2 6
WOOCCM_Field_Controller_Billing::add_header()
S
69 2 6
WOOCCM_Fields_Handler::remove_fields_priority()
S
64 2 10
WOOCCM_Order_Controller::enable_file_upload()
S
68 2 7
WOOCCM_Checkout_Controller::noteslabel()
S
68 2 7
WOOCCM_Checkout_Premium_Controller::instance()
S
72 2 6
WOOCCM_Model::save()
S
67 2 8
WOOCCM_Checkout_Advanced_Controller::instance()
S
72 2 6
WOOCCM_Model::get_item()
S
71 2 6
WOOCCM_Order_Email_Controller::add_header()
S
69 2 6
WOOCCM_Field_Admin::instance()
S
72 2 6
WOOCCM_Checkout_Controller::instance()
S
72 2 6
WOOCCM_Checkout_Advanced_Controller::custom_css_w()
S
68 2 7
WOOCCM_Field_Controller_Shipping::add_header()
S
69 2 6
WOOCCM_Checkout_Controller::remove_order_notes()
S
70 2 6
WOOCCM_Upload::instance()
S
72 2 6
WOOCCM_Order_Controller::add_header()
S
69 2 6
WOOCCM_Suggestions_List_Table::network_admin_url()
S
70 2 6
WOOCCM_Field_Helpers::get_attachment_thumbail_src()
S
68 2 7
WOOCCM_Notices::instance()
S
72 2 6
WOOCCM_Order_Controller::instance()
S
72 2 6
WOOCCM::includes()
S
63 1 12
WOOCCM_Fields_Filter::init()
S
61 1 12
WOOCCM_Order_Email_Controller::__construct()
S
71 1 5
WOOCCM_Checkout_Suggestions_Controller::add_page()
S
77 1 4
WOOCCM_Field::get_option_types()
S
69 1 8
WOOCCM_Field::get_disabled_types()
S
68 1 9
WOOCCM_Fields_Register::add_additional_fields()
S
65 1 10
WOOCCM_Admin_Links::__construct()
S
79 1 3
WOOCCM_Upload::__construct()
S
68 1 7
WOOCCM_Field::delete_field()
S
80 1 3
WOOCCM_Model::delete()
S
81 1 3
WOOCCM_Fields_i18n::__construct()
S
72 1 5
WOOCCM_Controller::error_access_denied()
S
79 1 3
WOOCCM::clear_session()
S
81 1 3
WOOCCM_Checkout_Premium_Controller::add_menu()
S
74 1 4
WOOCCM_Field::update_field()
S
80 1 3
WOOCCM_Field::get_defaults()
S
81 1 3
WOOCCM_Field_Controller_Shipping::__construct()
S
69 1 6
WOOCCM_Checkout_Suggestions_Controller::__construct()
S
69 1 6
WOOCCM_Fields_Filter::colorpicker_field()
S
65 1 9
WOOCCM_Checkout_Suggestions_Controller::add_header()
S
75 1 4
WOOCCM_Field::get_multiple_types()
S
73 1 6
WOOCCM_Field::delete_fields()
S
77 1 4
WOOCCM::field()
S
73 1 5
WOOCCM_Fields_Display::__construct()
S
68 1 7
WOOCCM_Field_Admin::__construct()
S
69 1 6
WOOCCM()
S
82 1 3
WOOCCM_Notices::is_installed()
S
76 1 4
WOOCCM_Field_Controller_Additional::__construct()
S
65 1 8
WOOCCM_Field::get_key()
S
79 1 3
WOOCCM_Fields_Filter::__construct()
S
82 1 3
WOOCCM_Field::add_field()
S
80 1 3
WOOCCM_Checkout_Premium_Controller::remove_menu()
S
100 1 8
WOOCCM_Checkout_Advanced_Controller::__construct()
S
67 1 7
WOOCCM_Controller::success_ajax()
S
81 1 3
WOOCCM_Notices::add_transient()
S
80 1 3
WOOCCM_Checkout_Suggestions_Controller::add_menu()
S
76 1 3
WOOCCM_Fields_Register::__construct()
S
63 1 10
WOOCCM_Notices::__construct()
S
72 1 5
WOOCCM_Checkout_Premium_Controller::__construct()
S
72 1 5
WOOCCM_Field_Admin::add_menu_page()
S
76 1 3
WOOCCM_Admin_Links::add_action_links()
S
68 1 6
WOOCCM_Field::get_template_types()
S
69 1 8
WOOCCM_Suggestions_List_Table::is_connected()
S
66 1 8
WOOCCM_Field_Controller_Billing::__construct()
S
69 1 6
WOOCCM_Field::get_conditional_types()
S
70 1 6
WOOCCM_Field::get_name()
S
80 1 3
WOOCCM_Checkout_Premium_Controller::add_header()
S
73 1 5
WOOCCM_Field_Admin::add_tab()
S
75 1 4
QL_Widget::add_dashboard_widget()
S
70 1 7
WOOCCM_Order_Controller::add_metabox()
S
77 1 3
WOOCCM_Checkout_Premium_Controller::add_page()
S
81 1 3
WOOCCM_Suggestions_List_Table::display_rows()
S
72 1 5
WOOCCM_Field::get_field()
S
80 1 3
WOOCCM_Fields_Conditional::__construct()
S
70 1 6
WOOCCM_Field_Controller::get_product_categories()
S
64 1 10
WOOCCM_Model::get_args()
S
82 1 3
WOOCCM_Controller::error_reload_page()
S
79 1 3
WOOCCM_Controller::error_ajax()
S
81 1 3
WOOCCM_Model::add_item()
S
69 1 7
WOOCCM::__construct()
S
67 1 7