WFACP_Template_Common D

Total Complexity 574
Dependencies 13
Dependents 56
Total lines 2,597
Lines of code 1,824
Logical lines of code 1,034
Comment lines 164
Methods 161
Properties 35

Methods 161

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
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
get_localize_data()
A
42 11 45
enqueue_script()
A
44 9 40
add_field_wrapper()
A
51 10 25
address_i18_same_label_placeholder()
A
55 9 20
pre_populate_from_get_parameter()
A
54 9 18
remove_theme_css_and_scripts()
A
52 8 25
modern_label()
A
55 8 21
check_shipping_name()
A
55 8 18
set_priority_of_form_fields()
S
58 8 14
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
change_payment_gateway_text()
S
56 5 18
remove_woocommerce_js_css()
S
59 5 14
override_notices_templates()
S
58 5 14
get_collapsible_optional_fields()
S
61 5 12
global_css()
S
60 5 12
find_js_css_handle()
S
62 5 11
field_open()
S
67 5 7
field_close()
S
71 5 5
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_class_from_body()
S
55 3 19
get_wc_addr2_company_value()
S
56 3 19
wc_cart_totals_coupon_label()
S
58 3 16
display_order_summary_undo_message()
S
64 4 10
get_field_label_position()
S
63 4 10
add_fragment_coupon()
S
58 3 14
remove_extra_payment_gateways_in_customizer()
S
60 3 13
wc_check_matched_rate()
S
62 3 12
address_i18_country()
S
61 3 12
setup_smart_buttons()
S
61 3 12
handle_paypal_processed()
S
61 3 12
trigger_js_event_editor()
S
60 2 20
__construct()
S
49 1 34
setup_data_hooks()
S
47 1 34
woocommerce_countries_shipping_countries()
S
70 3 6
add_body_class()
S
68 3 7
add_header_script()
S
69 3 6
checkout_form_login()
S
70 3 6
checkout_form_coupon()
S
67 3 7
change_cancel_url()
S
67 3 9
display_smart_buttons()
S
70 3 6
maybe_tiktok_enabled()
S
65 3 10
reattach_necessary_hooks()
S
67 3 8
remove_add1_add2_local_field_selector()
S
66 3 9
woocommerce_countries_allowed_countries()
S
70 3 6
change_template_location_for_payment()
S
66 3 8
replace_recurring_total_shipping()
S
69 3 6
remove_unused_js()
S
66 3 9
add_internal_css()
S
62 2 12
woocommerce_field_hooks()
S
50 1 27
get_cancel_page_link()
S
62 2 11
display_hide_payment_box_heading()
S
68 2 11
display_mini_cart_undo_message()
S
72 2 6
set_wfacp_id()
S
74 2 5
wfacp_default_field()
S
69 2 7
get_mobile_mini_cart()
S
71 2 6
add_fragment_collapsible_order_summary()
S
58 1 15
wfacp_get_form()
S
66 2 8
check_cart_coupons()
S
71 2 6
add_fragment_shipping_calculator()
S
65 2 9
no_follow_no_index()
S
72 2 6
handle_copy_billing_shipping_code()
S
72 2 5
get_wfacp_version()
S
65 2 9
remove_admin_bar()
S
72 2 6
get_google_webfonts()
S
64 2 9
remove_form_billing_and_shipping_html()
S
70 2 6
change_template_location_for_cart_shipping()
S
71 2 6
css_js_hooks()
S
59 1 13
replace_names_ids()
S
78 1 3
get_step_count()
S
82 1 3
remove_admin_bar_print_hook()
S
72 1 5
get_container()
S
80 1 3
get_current_step()
S
82 1 3
get_theme_header()
S
77 1 4
get_template_fields_class()
S
82 1 3
get_theme_footer()
S
74 1 5
remove_action_at_page_found()
S
77 1 4
default_css_class()
S
72 1 6
remove_order_summary_table_add_extra_data()
S
68 1 7
use_own_template()
S
82 1 3
get_template_type()
S
82 1 3
update_custom_fields()
S
79 1 3
remove_actions()
S
72 1 5
collapsible_order_summary()
S
80 1 3
address_i18_handling()
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
enable_collapsed_coupon_field()
S
82 1 3
get_mobile_mini_cart_collapsible_title()
S
82 1 3
__clone()
S
91 1 2
element_start_before_the_form()
S
82 1 3
__sleep()
S
80 1 3
__wakeup()
S
80 1 3
checkout_fragments()
S
78 1 3
add_checkout_fragments()
S
66 1 9
update_base_country()
S
67 1 7
get_base_country()
S
81 1 3
collapsible_option_field_actions()
S
71 1 5
element_end_after_the_form()
S
82 1 3
get_customizer_data()
S
91 1 2
get_heading_class()
S
82 1 3
get_smart_buttons()
S
82 1 3
wfacp_get_footer()
S
80 1 3
payment_button_text()
S
82 1 3
get_template_slug()
S
82 1 3
add_viewport_meta()
S
80 1 3
show_account_fields()
S
80 1 3
get_payment_box()
S
73 1 5
have_billing_address()
S
82 1 3
have_shipping_address()
S
82 1 3
wfacp_get_header()
S
80 1 3
have_coupon_field()
S
82 1 3
get_fields()
S
82 1 3
get_fieldsets()
S
79 1 3
get_wfacp_id()
S
82 1 3
get_url()
S
82 1 3
get_slug()
S
82 1 3
get_template_url()
S
80 1 3
get_view()
S
69 1 7
get_checkout_fields()
S
79 1 3
add_fragment_order_summary()
S
68 1 7
have_shipping_method()
S
82 1 3
get_data()
S
82 1 3
enable_need_shipping()
S
82 1 3
get_product_switcher_mobile_style()
S
82 1 3
add_class_change_place_order()
S
82 1 3
payment_button_alignment()
S
82 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_title_class()
S
82 1 3
call_before_cart_link()
S
91 1 2
get_form_data()
S
82 1 3
set_form_data()
S
81 1 3
get_current_open_step()
S
82 1 3
set_current_open_step()
S
81 1 3
localize_locals()
S
75 1 4
get_field_css_ready()
S
82 1 3
get_selected_register_template()
S
82 1 3
set_selected_template()
S
76 1 4
add_place_order_btn_text()
S
76 1 4