WFACP_Template_Common D

Total Complexity 620
Dependencies 14
Dependents 57
Total lines 2,811
Lines of code 1,972
Logical lines of code 1,116
Comment lines 182
Methods 169
Properties 37

Methods 169

Method Rating Maintainability Complexity Lines of code
set_checkout_posted_data()
D
27
53 118
merge_builder_data()
D
32 31 92
handling_checkout_post_data()
C
36 26 72
print_billing_fields()
B
40 21 58
process_phone_field()
B
44 22 37
get_localize_data()
B
37 17 67
process_fields()
B
46 17 36
create_optional_fields()
A
44 14 41
correct_country_state_locals()
A
46 14 41
display_top_notices()
A
44 13 48
add_default_wfacp_styling()
A
52 13 22
set_priority_of_form_fields()
A
51 12 24
enqueue_script()
A
44 9 40
add_field_wrapper()
A
51 10 25
pre_populate_from_get_parameter()
A
53 10 21
address_i18_same_label_placeholder()
A
55 9 20
remove_theme_css_and_scripts()
A
52 8 25
modern_label()
A
55 8 21
check_shipping_name()
A
55 8 18
set_address_data()
S
51 7 27
get_analytics_data()
S
53 7 21
woocommerce_checkout_fields()
S
55 7 21
get_template_type_px()
S
59 7 14
add_footer_script()
S
60 6 12
find_js_css_handle()
S
62 6 11
check_force_add_payment_gateway_fragments()
S
54 5 21
change_payment_gateway_text()
S
56 5 18
override_notices_templates()
S
58 5 14
remove_woocommerce_js_css()
S
59 5 14
setup_smart_buttons()
S
60 5 12
get_collapsible_optional_fields()
S
61 5 12
global_css()
S
61 5 12
field_close()
S
71 5 5
field_open()
S
67 5 7
get_theme_css_path()
S
47 2 43
unset_open_graph_description_Presenter()
S
61 4 12
get_shipping_billing_index()
S
62 4 12
set_data()
S
61 4 11
add_styling_class_to_country_field()
S
62 4 11
get_wc_addr2_company_value()
S
56 3 19
get_class_from_body()
S
55 3 19
wc_cart_totals_coupon_label()
S
57 3 17
get_field_label_position()
S
63 4 10
exclude_place_order_text_update_order_review()
S
69 4 6
display_order_summary_undo_message()
S
64 4 10
add_fragment_coupon()
S
58 3 14
remove_extra_payment_gateways_in_customizer()
S
60 3 13
address_i18_country()
S
61 3 12
wc_check_matched_rate()
S
62 3 12
handle_paypal_processed()
S
61 3 12
__construct()
S
47 1 38
setup_data_hooks()
S
47 1 35
trigger_js_event_editor()
S
60 2 20
change_template_location_for_payment()
S
66 3 8
display_smart_buttons()
S
70 3 6
woocommerce_countries_shipping_countries()
S
70 3 6
woocommerce_countries_allowed_countries()
S
70 3 6
remove_add1_add2_local_field_selector()
S
66 3 9
reattach_necessary_hooks()
S
67 3 8
add_body_class()
S
68 3 7
change_cancel_url()
S
67 3 9
maybe_tiktok_enabled()
S
65 3 10
add_header_script()
S
69 3 6
checkout_form_login()
S
70 3 6
checkout_form_coupon()
S
67 3 7
remove_unused_js()
S
66 3 9
replace_recurring_total_shipping()
S
69 3 6
woocommerce_field_hooks()
S
49 1 29
add_internal_css()
S
62 2 12
get_cancel_page_link()
S
62 2 11
display_hide_payment_box_heading()
S
68 2 11
smart_button_wrappers()
S
54 1 24
remove_form_billing_and_shipping_html()
S
70 2 6
check_cart_coupons()
S
74 2 5
disabled_wp_custom_css()
S
78 2 3
handle_copy_billing_shipping_code()
S
72 2 5
no_follow_no_index()
S
72 2 6
wfacp_default_field()
S
69 2 7
add_fragment_collapsible_order_summary()
S
58 1 15
add_fragment_shipping_calculator()
S
65 2 9
get_mobile_mini_cart()
S
71 2 6
change_template_location_for_cart_shipping()
S
71 2 6
get_google_webfonts()
S
64 2 9
get_wfacp_version()
S
65 2 9
display_mini_cart_undo_message()
S
72 2 6
set_wfacp_id()
S
74 2 5
remove_admin_bar()
S
72 2 6
wfacp_get_form()
S
66 2 8
css_js_hooks()
S
60 1 12
display_form_login()
S
65 1 11
get_template_fields_class()
S
82 1 3
get_template_type()
S
82 1 3
get_step_count()
S
82 1 3
collapsible_option_field_actions()
S
71 1 5
element_end_after_the_form()
S
82 1 3
element_start_before_the_form()
S
82 1 3
get_current_step()
S
82 1 3
remove_order_summary_table_add_extra_data()
S
68 1 7
default_css_class()
S
72 1 6
replace_names_ids()
S
78 1 3
remove_actions()
S
72 1 5
show_account_fields()
S
80 1 3
localize_locals()
S
75 1 4
have_billing_address()
S
82 1 3
add_fragment_order_summary()
S
68 1 7
remove_action_at_page_found()
S
77 1 4
update_base_country()
S
67 1 7
get_base_country()
S
81 1 3
enable_collapsed_coupon_field()
S
82 1 3
add_place_order_btn_text()
S
75 1 4
address_i18_handling()
S
74 1 4
checkout_fragments()
S
74 1 4
get_coupon_button_text()
S
79 1 3
get_mobile_mini_cart_expand_title()
S
82 1 3
enable_coupon_right_side_coupon()
S
82 1 3
collapse_enable_coupon_collapsible()
S
82 1 3
get_mobile_mini_cart_collapsible_title()
S
82 1 3
use_own_template()
S
82 1 3
collapsible_order_summary()
S
80 1 3
add_checkout_fragments()
S
68 1 8
get_order_pay_summary_heading()
S
78 1 3
get_order_pay_summary()
S
80 1 3
__clone()
S
91 1 2
__sleep()
S
80 1 3
__wakeup()
S
80 1 3
remove_admin_bar_print_hook()
S
72 1 5
have_shipping_address()
S
82 1 3
payment_button_text()
S
82 1 3
get_view()
S
69 1 7
set_current_open_step()
S
81 1 3
enable_need_shipping()
S
82 1 3
get_field_css_ready()
S
82 1 3
get_selected_register_template()
S
82 1 3
set_selected_template()
S
76 1 4
update_custom_fields()
S
79 1 3
get_fields()
S
82 1 3
get_template_url()
S
80 1 3
set_form_data()
S
81 1 3
get_fieldsets()
S
79 1 3
call_before_cart_link()
S
91 1 2
get_template_slug()
S
82 1 3
get_slug()
S
82 1 3
have_shipping_method()
S
82 1 3
have_coupon_field()
S
82 1 3
get_url()
S
82 1 3
get_wfacp_id()
S
82 1 3
get_current_open_step()
S
82 1 3
get_form_data()
S
82 1 3
get_theme_footer()
S
74 1 5
wfacp_get_header()
S
80 1 3
get_theme_header()
S
77 1 4
get_container()
S
80 1 3
get_customizer_data()
S
91 1 2
add_viewport_meta()
S
80 1 3
get_smart_buttons()
S
82 1 3
get_payment_box()
S
73 1 5
wfacp_get_footer()
S
80 1 3
get_product_switcher_mobile_style()
S
82 1 3
add_class_change_place_order()
S
82 1 3
get_heading_title_class()
S
82 1 3
payment_button_alignment()
S
82 1 3
get_checkout_fields()
S
79 1 3
change_place_order_button_text()
S
82 1 3
payment_sub_heading()
S
79 1 3
payment_heading()
S
82 1 3
get_payment_desc()
S
82 1 3
get_sub_heading_class()
S
82 1 3
get_heading_class()
S
82 1 3
get_data()
S
82 1 3