Code Analysis: Checkout Field Editor for WooCommerce 2.0.6

Function Rating Maintainability Complexity Lines of code
THWCFD_Public_Checkout::woo_form_field()
D
27
39 122
THWCFD_Admin_Settings_General::prepare_field_from_posted_data()
D
35 38 66
THWCFD_Public_Checkout::prepare_checkout_fields()
D
36 35 69
THWCFD_Public_Checkout::checkout_update_order_meta()
D
38 35 55
THWCFD_Admin_Settings_General::output_content()
C
35 27 79
THWCFD_Admin_Settings_Themehigh_Plugins::render_content()
C
37 26 73
THWCFD::thwcfd_deactivation_form()
C
25
7 347
THWCFD_Admin_Form::render_form_field_element()
B
40 23 52
THWCFD_Admin_Form::prepare_form_field_props()
B
43 22 40
THWCFD_Admin_Settings_Pro::render_content()
B
28
2 320
THWCFD_Public_Checkout::order_details_after_customer_details()
B
42 20 47
THWCFD_Admin_Settings::render_form_field_element()
B
43 19 43
THWCFD_Admin_Settings_General::save_fields()
B
41 18 50
THWCFD_Admin_Settings_Advanced::save_settings()
A
47 17 30
THWCFD_Admin_Settings_Advanced::save_plugin_settings()
A
43 16 44
THWCFD_Public_Checkout::validate_custom_field()
A
49 16 27
THWCFD_Utils::get_option_text()
A
50 16 26
THWCFD_Admin::output_review_request_link()
A
44 14 44
THWCFD_Public_Checkout::prepare_address_fields()
A
49 14 30
THWCFD_Public_Checkout::display_custom_fields_in_emails()
A
48 14 28
THWCFD_Admin::review_banner_custom_css()
A
47 1 222
THWCFD_Admin_Settings_General::save_or_update_field()
A
45 13 36
THWCFD_Public_Checkout::billing_fields()
A
49 13 30
THWCFD_Public_Checkout::shipping_fields()
A
49 13 30
THWCFD_Admin::wcfd_notice_actions()
A
50 13 26
THWCFD_Public_Checkout::prepare_country_locale()
A
52 11 24
THWCFD_Admin_Settings_Themehigh_Plugins::install_plugin_button()
A
42 9 52
THWCFD_Admin_Settings_General::display_fields_in_admin_order()
A
52 11 20
THWCFD_Autoloader::autoload()
A
50 10 27
THWCFD::thwcfd_deactivation_reason()
A
44 9 40
THWCFD_Public_Checkout::checkout_fields()
A
56 10 18
THWCFD_Admin::quick_links()
A
42 2 131
THWCFD_Admin_Settings_General::add_wpml_support()
A
52 9 24
THWCFD_Admin_Form::render_form_field_element_checkbox()
A
50 9 24
THWCFD_Admin_Settings::render_form_field_element_checkbox()
A
52 9 21
THWCFD_Utils::prepare_options_array()
A
54 9 20
THWCFD_Admin_Settings::prepare_form_field_props()
A
53 9 19
THWCFD_Admin_Settings_Themehigh_Plugins::activate_themehigh_plugins()
A
57 8 16
THWCFD_Utils::get_fields()
S
53 7 20
THWCFD_Admin_Form::render_form_field_element_multiselect_grouped()
S
53 7 20
THWCFD_Admin_Settings_Themehigh_Plugins::plugins()
S
37 1 94
THWCFD_Admin_Form::render_form_field_element_select()
S
57 6 14
THWCFD_Admin_Settings_Advanced::render_form_elm_row_cb()
S
53 5 28
THWCFD_Public_Checkout::checkout_fields_validation()
S
60 6 13
THWCFD_Public_Checkout::woo_form_field_heading()
S
58 6 13
THWCFD_Utils::get_max_priority()
S
62 6 10
THWCFD_Public_Checkout::maybe_skip_fieldset()
S
64 6 8
THWCFD_Admin_Settings_General::output_sections()
S
57 5 14
THWCFD_Admin::thwcfd_display_discount_announcement()
S
58 5 14
THWCFD_Admin_Settings_General::get_property_set_json()
S
60 5 13
THWCFD_Utils::get_checkout_fields()
S
60 5 13
THWCFD_Public_Checkout::enable_order_notes_field()
S
61 5 13
THWCFD_Utils::is_wc_handle_custom_field()
S
60 5 12
THWCFD_Public_Checkout::get_country_locale()
S
61 5 12
THWCFD_Utils::prepare_field_priority()
S
62 5 11
THWCFD_Admin::output_settings()
S
54 4 21
THWCFD_Admin::secret_discount_popup()
S
50 3 34
THWCFD_Admin_Form_Field::output_popup_form_fields()
S
47 1 61
THWCFD_Public_Checkout::enqueue_styles_and_scripts()
S
57 4 15
THWCFD_Admin::thwcfd_discount_popup_actions()
S
62 5 10
THWCFD_Admin_Settings_General::get_admin_url()
S
63 5 10
THWCFD_Admin_Settings::get_admin_url()
S
63 5 10
THWCFD_Admin_Settings::render_tabs()
S
59 4 13
THWCFD_Admin_Settings::render_form_field_element_textarea()
S
59 4 13
THWCFD_Admin_Form::render_form_field_element_textarea()
S
59 4 13
THWCFD_Admin_Settings_Advanced::render_form_elm_row_ta()
S
61 4 13
THWCFD_Admin_Settings_General::output_tabs()
S
60 4 12
THWCFD_Admin_Form::render_form_field_element_multiselect()
S
60 4 12
THWCFD_Utils::prepare_options_json()
S
61 4 12
THWCFD_Admin::render_review_request_notice()
S
45 1 57
THWCFD_Admin_Settings_General::reset_to_default()
S
61 4 11
THWCFD_Admin_Settings_Themehigh_Plugins::is_plugin_installed()
S
54 3 21
THWCFD::get_deactivation_reasons()
S
46 1 46
THWCFD_Admin_Settings_Advanced::reset_settings()
S
63 4 9
THWCFD_Admin_Settings_Advanced::render_content()
S
64 4 10
THWCFD_Utils::is_enabled()
S
67 4 7
is_woocommerce_active()
S
67 4 7
THWCFD_Utils::is_active_custom_field()
S
68 4 7
THWCFD_Utils::sort_fields_by_order()
S
68 4 6
THWCFD_Utils::woo_version_check()
S
65 4 9
THWCFD_Utils::write_log()
S
65 4 9
THWCFD_Admin_Form::render_form_fragment_h_separator()
S
58 3 15
THWCFD_Public_Checkout::woo_form_field_hidden()
S
65 4 7
THWCFD_Utils::setup_advanced_settings()
S
60 3 13
THWCFD_Utils::is_default_field_name()
S
60 3 12
THWCFD_Utils::is_reserved_field_name()
S
60 3 12
THWCFD_Utils::is_default_field()
S
62 3 11
THWCFD_Admin_Form_Field::get_field_form_props()
S
45 1 40
THWCFD_Utils::get_allowed_html()
S
50 1 36
THWCFD_Admin_Settings_Advanced::render_import_export_settings()
S
50 1 33
THWCFD_Admin_Settings_General::get_current_section()
S
66 3 8
THWCFD_Autoloader::load_file()
S
69 3 7
THWCFD_Admin_Settings_Advanced::is_json()
S
74 3 4
THWCFD::define_constants()
S
76 3 4
THWCFD_Admin_Form::init_constants()
S
51 1 30
THWCFD_Admin_Form::render_form_field_element_inputtext()
S
66 3 8
THWCFD_Utils::is_address_field()
S
63 3 10
THWCFD_Utils::wcfd_version_check()
S
70 3 6
THWCFD_Utils::get_settings()
S
68 3 7
THWCFD_Utils::prepare_field_options()
S
69 3 6
THWCFD_Admin_Form::render_form_field_element_colorpicker()
S
64 3 9
THWCFD_Admin_Form::render_form_field_element_number()
S
66 3 8
THWCFD_Admin_Form::render_form_fragment_tooltip()
S
62 2 15
THWCFD_Utils::get_setting_value()
S
70 3 6
THWCFD_Utils::t()
S
64 3 10
THWCFD_Utils::et()
S
64 3 10
THWCFD_Utils::is_custom_field()
S
68 3 7
THWCFD_Utils::get_wc_version()
S
66 3 9
THWCFD_Admin_Settings::render_form_field_element_inputtext()
S
66 3 8
THWCFD_Public_Checkout::get_locale_override_value()
S
65 3 9
THWCFD_Public_Checkout::add_validation_error()
S
66 3 9
THWCFD_Public_Checkout::woo_form_field_paragraph()
S
65 3 7
THWCFD_Admin::enqueue_styles_and_scripts()
S
66 3 8
THWCFD_Public_Checkout::define_public_hooks()
S
49 1 29
THWCFD_Admin_Form_Field::get_field_types()
S
52 1 24
THWCFD_Admin_Form_Field::output_form_fragments()
S
55 1 23
THWCFD_Admin_Form_Field::render_form_fragment_options()
S
58 1 22
THWCFD_Admin_Settings_Advanced::render_plugin_settings()
S
58 1 22
THWCFD_Admin_Settings_Advanced::get_advanced_settings_fields()
S
56 1 19
THWCFD::define_admin_hooks()
S
54 1 19
THWCFD_Admin_Form_Field::render_form_field_select()
S
58 1 19
THWCFD_Admin_Form_Field::render_form_field_textarea()
S
57 1 19
THWCFD_Admin_Form_Field::render_form_field_radio()
S
58 1 19
THWCFD_Admin_Form_Field::render_form_field_month()
S
58 1 18
THWCFD_Admin_Settings_Advanced::init_constants()
S
57 1 18
THWCFD_Admin_Form_Field::render_form_field_week()
S
58 1 18
THWCFD_Admin_Form_Field::render_form_field_date()
S
58 1 18
THWCFD_Admin_Form_Field::render_form_field_time()
S
58 1 18
THWCFD_Admin_Form_Field::render_form_field_multiselect()
S
58 1 18
THWCFD_Admin_Form_Field::render_form_field_datetime_local()
S
58 1 18
THWCFD_Admin_Form_Field::render_form_field_url()
S
59 1 17
THWCFD_Admin_Form_Field::render_form_field_email()
S
59 1 17
THWCFD_Admin_Form_Field::render_form_field_default()
S
59 1 17
THWCFD_Admin_Form_Field::render_form_field_inputtext()
S
59 1 17
THWCFD_Admin_Form_Field::render_form_field_password()
S
59 1 17
THWCFD_Admin_Form_Field::render_form_field_tel()
S
59 1 17
THWCFD_Admin_Form_Field::render_form_field_checkboxgroup()
S
59 1 17
THWCFD_Admin_Form_Field::render_form_field_checkbox()
S
60 1 16
THWCFD_Admin_Form_Field::render_form_field_number()
S
60 1 16
THWCFD_Admin_Settings_General::__construct()
S
58 1 16
THWCFD_Admin_Settings_General::get_current_tab()
S
78 2 3
THWCFD_Admin::plugin_action_links()
S
62 2 10
THWCFD_Admin_Settings_General::instance()
S
72 2 6
THWCFD_Utils::is_valid_field()
S
69 2 7
THWCFD_Public_Checkout::is_override_label()
S
71 2 5
THWCFD_Admin_Settings_General::render_actions_row()
S
60 1 15
THWCFD_Public_Checkout::is_override_required_prop()
S
71 2 5
THWCFD::load_dependencies()
S
66 2 8
THWCFD_Utils::get_order_id()
S
66 2 9
THWCFD_Autoloader::__construct()
S
68 2 7
THWCFD_Admin::plugin_row_meta()
S
67 2 7
THWCFD_Admin_Form::prepare_settings_row_class()
S
74 2 4
THWCFD_Utils::prepare_default_fields()
S
65 2 9
THWCFD_Admin_Settings::get_current_section()
S
78 2 3
THWCFD_Admin_Settings_Themehigh_Plugins::instance()
S
72 2 6
THWCFD_Utils::wcfd_capability()
S
66 2 8
THWCFD_Admin_Settings_Pro::instance()
S
72 2 6
THWCFD_Utils::is_blank()
S
78 2 3
THWCFD_Admin::get_current_tab()
S
78 2 3
THWCFD_Admin_Settings::render_form_element_tooltip()
S
69 2 8
THWCFD_Utils::get_advanced_settings()
S
71 2 5
THWCFD_Public_Checkout::is_override_class()
S
71 2 5
THWCFD_Admin_Form::render_form_fragment_h_spacing()
S
70 2 6
THWCFD_Admin_Settings_Advanced::instance()
S
72 2 6
THWCFD_Public_Checkout::is_override_placeholder()
S
71 2 5
THWCFD::__construct()
S
65 2 9
THWCFD_Public_Checkout::is_override_priority()
S
71 2 5
thwcfd_before_woocommerce_init_hpos()
S
72 2 5
THWCFD_Admin_Settings_General::render_checkout_fields_heading_row()
S
61 1 14
THWCFD_Admin_Form_Field::render_form_field_hidden()
S
62 1 14
THWCFD_Admin_Form_Field::render_form_tab_display_details()
S
62 1 14
THWCFD_Admin_Form_Field::render_form_field_paragraph()
S
63 1 13
THWCFD_Admin_Settings_Advanced::prepare_plugin_settings()
S
61 1 13
THWCFD_Admin_Form_Field::render_form_field_heading()
S
64 1 12
THWCFD_Admin_Form_Field::render_form_fragment_general()
S
66 1 11
THWCFD_Admin_Form::render_form_elm_row_cb()
S
65 1 11
THWCFD_Admin_Form_Field::render_form_tab_general_info()
S
66 1 11
THWCFD_Admin_Form::render_form_tab_main_title()
S
67 1 11
THWCFD_Admin_Settings::get_tabs()
S
82 1 3
THWCFD_Admin_Settings::render_form_element_empty_cell()
S
73 1 7
THWCFD::get_version()
S
82 1 3
THWCFD_Admin_Settings_General::render_page()
S
75 1 5
THWCFD::init()
S
70 1 7
THWCFD_Admin_Form::render_form_elm_row_ta()
S
68 1 8
THWCFD_Admin::enqueue_scripts()
S
69 1 5
THWCFD_Admin_Settings_General::order_data_after_shipping_address()
S
75 1 4
THWCFD::get_plugin_name()
S
82 1 3
THWCFD::load_plugin_textdomain()
S
70 1 5
THWCFD_Admin_Form::render_form_field_blank()
S
76 1 5
THWCFD_Admin_Settings_General::order_data_after_billing_address()
S
75 1 4
THWCFD_Admin_Form::__construct()
S
82 1 3
run_thwcfd()
S
81 1 3
THWCFD_Admin_Settings_Advanced::render_locale_override_settings()
S
66 1 8
THWCFD_Autoloader::get_file_name_from_class()
S
78 1 3
THWCFD_Admin::__construct()
S
77 1 4
THWCFD_Admin_Settings_Advanced::__construct()
S
74 1 5
THWCFD_Admin_Form::render_form_section_separator()
S
69 1 7
THWCFD_Admin::add_screen_id()
S
72 1 5
THWCFD_Admin_Settings_General::init()
S
73 1 5
THWCFD_Admin_Form_Field::output_field_forms()
S
78 1 4
THWCFD_Admin_Settings_Pro::__construct()
S
76 1 4
THWCFD_Admin::enqueue_styles()
S
74 1 4
THWCFD_Admin_Settings_Advanced::save_advanced_settings()
S
75 1 4
THWCFD_Admin_Form_Field::init_constants()
S
80 1 3
THWCFD_Admin_Settings_Pro::render_page()
S
78 1 4
THWCFD_Admin_Form_Field::__construct()
S
82 1 3
THWCFD_Admin_Settings::get_current_tab()
S
82 1 3
THWCFD_Admin_Settings::render_form_element_h_spacing()
S
75 1 5
THWCFD_Utils::__construct()
S
91 1 2
THWCFD_Admin_Settings_Themehigh_Plugins::render_page()
S
78 1 4
THWCFD_Utils::sort_fields()
S
76 1 4
THWCFD_Admin_Settings::print_notices()
S
74 1 5
THWCFD_Admin_Form::render_form_elm_row_cp()
S
72 1 7
THWCFD::set_locale()
S
79 1 3
THWCFD_Admin_Form_Field::output_field_form_pp()
S
74 1 7
THWCFD_Admin_Form::render_form_elm_row()
S
68 1 8
THWCFD_Admin::admin_menu()
S
73 1 4
THWCFD_Public_Checkout::__construct()
S
91 1 2
THWCFD_Utils::update_fields()
S
74 1 4
THWCFD_Admin_Settings::render_form_element_h_separator()
S
75 1 5
THWCFD_Admin_Settings_Themehigh_Plugins::__construct()
S
76 1 4
THWCFD::define_public_hooks()
S
71 1 5
THWCFD_Admin_Form::render_form_field_element_radio()
S
77 1 4
THWCFD_Admin_Settings_Advanced::render_page()
S
78 1 4
THWCFD_Admin_Settings_Advanced::render_form_elm_row_title()
S
72 1 7
THWCFD_Admin_Settings_General::define_admin_hooks()
S
71 1 5
THWCFD_Admin_Settings_General::order_data_after_order_details()
S
75 1 4
THWCFD_Admin_Settings::__construct()
S
66 1 8