FluidCheckout_Steps D

Total Complexity 1,011
Dependencies 5
Dependents 55
Total lines 6,957
Lines of code 3,208
Logical lines of code 2,118
Comment lines 2,391
Methods 257
Properties 4

Methods 257

Method Rating Maintainability Complexity Lines of code
get_field_display_value()
B
42 23 47
maybe_set_billing_address_same_as_shipping()
B
42 20 45
maybe_set_shipping_address_same_as_billing()
B
42 19 47
add_body_class()
B
42 19 44
get_complete_steps()
B
42 18 49
add_substep_text_lines_shipping_method()
B
41 18 44
update_checkout_substep()
A
44 16 42
get_substep_text_lines_extra_fields_address_type()
A
44 16 42
is_substep_complete_contact()
A
48 16 30
output_checkout_steps()
A
47 16 30
maybe_output_order_review_shipping_method_chosen()
A
44 14 38
is_billing_same_as_shipping_checked()
A
50 14 26
get_checkout_steps()
A
50 14 25
output_checkout_progress_bar()
A
39 11 62
is_shipping_same_as_billing_checked()
A
51 13 23
output_expansible_form_section_start_tag()
A
40 10 64
output_step_start_tag()
A
42 11 47
reset_remaining_customer_persisted_data()
A
51 12 24
set_parsed_posted_data()
A
47 11 33
get_next_step()
A
54 12 18
update_customer_persisted_data()
A
50 11 27
maybe_update_checkout_address_from_account()
A
49 11 25
get_checkout_substeps()
A
54 11 18
get_cart_shipping_methods_label()
A
49 10 28
is_checkout_page_or_fragment()
A
60 11 11
add_substep_text_lines_contact()
A
51 10 23
is_billing_address_data_same_as_shipping()
A
49 9 32
is_shipping_address_data_same_as_billing()
A
49 9 32
register_checkout_substep()
A
47 9 31
unregister_checkout_substep()
A
50 9 27
get_selected_payment_method()
A
60 10 11
is_substep_complete_shipping_address()
A
53 9 21
undo_hooks()
A
33 3 102
get_current_step()
A
54 8 19
is_substep_complete_billing_address()
A
54 8 19
is_next_step_complete()
A
56 8 16
unset_session_customer_persisted_data_order_processed()
S
50 7 29
register_default_checkout_steps()
S
37 3 85
register_checkout_step()
S
50 7 25
get_customer_session_field_keys()
S
53 7 23
get_shipping_methods_available()
S
46 6 35
unset_all_session_customer_persisted_data()
S
57 7 15
get_registered_checkout_substeps()
S
58 7 14
get_registered_checkout_substep()
S
60 7 12
get_step_id_for_registered_substep()
S
60 7 12
hooks()
S
35 2 86
output_billing_same_as_shipping_field()
S
54 6 23
output_shipping_same_as_billing_field()
S
54 6 23
locate_template()
S
55 6 21
get_substep_text_formatted_address_text_line()
S
55 6 17
get_incomplete_steps()
S
56 6 17
output_login_form_modal()
S
70 7 5
maybe_set_billing_address_same_as_shipping_on_process_checkout()
S
58 6 14
maybe_set_shipping_address_same_as_billing_on_process_checkout()
S
58 6 14
is_checkout_substep_registered()
S
60 6 13
order_attribution_hooks()
S
54 5 21
undo_order_attribution_hooks()
S
55 5 20
unregister_checkout_step()
S
56 5 17
get_substep_title()
S
56 5 17
add_substep_text_lines_payment_method()
S
56 5 17
order_notes_hooks()
S
56 5 16
is_create_account_checked()
S
63 6 9
is_cart_page_or_fragment()
S
63 6 9
output_checkout_footer()
S
70 6 5
should_render_substep_order_notes()
S
64 6 8
output_woocommerce_login_form_redirect_hidden_field()
S
68 6 5
add_place_order_button_wrapper_and_attributes()
S
57 5 15
output_substep_fields_start_tag()
S
50 4 29
add_custom_fields_formatted_address_replacements()
S
59 5 14
is_substep_complete_shipping_method()
S
58 5 14
get_checkout_field_value_from_session_or_posted_data()
S
61 5 12
output_step_end_tag()
S
52 4 23
get_substep_text_extra_fields_skip_list()
S
53 4 21
is_billing_country_allowed_for_shipping()
S
65 5 8
maybe_add_phone_localisation_address_formats()
S
71 5 5
get_field_display_value_from_field_options()
S
69 5 5
maybe_skip_adding_phone_to_formatted()
S
69 5 6
is_shipping_address_available_for_billing()
S
66 5 7
is_shipping_country_allowed_for_billing()
S
65 5 8
maybe_enqueue_assets()
S
74 5 4
maybe_set_woocommerce_constants()
S
74 5 4
maybe_fix_shipping_address_when_shipping_not_needed_on_process_checkout()
S
63 5 9
get_supported_customer_property_field_keys()
S
59 4 14
get_shipping_same_billing_fields_keys()
S
58 4 14
get_substep_review_text()
S
60 4 12
get_contact_step_fields()
S
61 4 12
is_prev_step_complete()
S
61 4 12
copy_posted_data_billing_address_to_shipping()
S
61 4 12
is_billing_same_as_shipping()
S
63 4 12
get_field_display_value_from_array()
S
62 4 11
get_order_review_html_attributes()
S
57 3 16
maybe_display_checkout_page_title()
S
70 4 6
undo_customer_address_data_hooks()
S
63 4 9
get_place_order_position()
S
64 4 10
is_billing_address_available_for_shipping()
S
67 4 7
maybe_suppress_payment_methods_fragment()
S
66 4 8
is_shipping_same_as_billing()
S
67 4 8
output_substep_state_hidden_fields_shipping_methods()
S
63 4 10
maybe_remove_progress_bar_if_cart_expired()
S
69 4 6
output_substep_start_tag()
S
58 3 14
place_order_position_hooks()
S
59 3 14
get_cart_totals_shipping_method_label()
S
59 3 14
get_billing_same_shipping_fields_keys()
S
58 3 14
output_substep_end_tag()
S
58 3 14
output_checkout_sidebar_wrapper()
S
51 2 28
customer_address_data_hooks()
S
52 2 28
add_substep_text_lines_order_notes()
S
62 3 11
get_checkout_place_order_html()
S
52 2 26
get_field_display_value_with_pattern()
S
62 3 11
is_step_complete()
S
62 3 11
output_substep_text_start_tag()
S
55 2 20
maybe_change_customer_address_field_value_from_checkout_data()
S
63 3 10
add_phone_formatted_address_replacements()
S
65 3 8
add_substep_text_lines_shipping_address()
S
64 3 9
is_country_allowed_for_billing()
S
70 3 5
add_content_section_class()
S
68 3 7
get_checkout_field_value_from_session()
S
73 3 4
set_checkout_field_value_to_session()
S
73 3 4
get_last_step()
S
67 3 7
is_checkout_step_registered()
S
67 3 8
get_checkout_step()
S
66 3 8
get_step()
S
65 3 9
get_first_step()
S
67 3 7
maybe_fix_shipping_address_when_shipping_not_needed()
S
70 3 6
is_country_allowed_for_shipping()
S
70 3 5
get_step_title()
S
62 3 10
add_phone_localisation_address_formats()
S
67 3 7
maybe_change_billing_phone_field_args_for_contact()
S
67 3 7
add_substep_text_lines_billing_address()
S
64 3 9
get_address_field_keys()
S
61 2 12
get_billing_address_substep_position_args()
S
62 2 11
get_substep_billing_address_fields()
S
54 1 23
output_checkout_place_order_section()
S
68 2 6
get_parsed_posted_data()
S
72 2 6
get_substep_title_html()
S
65 2 8
set_billing_same_as_shipping_session()
S
78 2 3
very_late_hooks()
S
64 2 9
get_cart_shipping_methods_description()
S
68 2 6
output_order_summary_cart_item_meta_data()
S
70 2 6
output_order_summary_cart_item_unit_price()
S
72 2 4
output_substep_contact_login_link_section()
S
75 2 4
set_shipping_same_as_billing_session()
S
78 2 3
get_shipping_methods_hook_priority()
S
69 2 7
get_shipping_address_hook_priority()
S
69 2 7
add_js_settings()
S
67 2 7
output_order_review_header_edit_cart_link()
S
69 2 6
change_message_registration_error_email_exists()
S
72 2 5
change_default_checkout_field_value_from_session_or_posted_data()
S
69 2 7
get_next_step_button_label()
S
64 2 9
maybe_prevent_autoselect_shipping_method()
S
73 2 4
change_payment_gateway_icon_html_remove_links()
S
70 2 6
change_payment_gateway_icon_html_fix_accessibility_attributes()
S
70 2 6
is_current_step()
S
64 2 9
get_checkout_layout()
S
66 2 8
clear_customer_meta_order_processed()
S
71 2 6
get_substep_text_lines_address_type()
S
72 2 5
checkout_step_priority_uasort_comparison()
S
70 2 6
maybe_output_checkout_place_order_section_for_substep()
S
75 2 4
maybe_output_checkout_place_order_placeholder_for_substep()
S
76 2 4
get_shipping_not_needed_shipping_field_keys()
S
61 1 14
output_order_review()
S
64 1 11
__construct()
S
82 1 3
add_billing_phone_field_to_contact_fields()
S
77 1 4
output_checkout_place_order_for_order_summary()
S
80 1 3
output_step_contact_fields()
S
75 1 4
add_checkout_footer_custom_styles()
S
75 1 4
add_checkout_header_custom_styles()
S
75 1 4
add_checkout_page_custom_styles()
S
75 1 4
output_custom_styles()
S
75 1 4
get_hide_site_header_footer_at_checkout()
S
75 1 4
output_order_summary_cart_item_quantity()
S
76 1 3
output_order_summary_cart_item_product_name()
S
78 1 3
add_place_order_fragment_for_order_summary()
S
72 1 5
add_place_order_fragment()
S
73 1 5
output_checkout_place_order()
S
79 1 3
remove_phone_address_data()
S
76 1 4
output_checkout_place_order_custom_buttons()
S
73 1 5
output_checkout_place_order_section_for_sidebar()
S
80 1 3
output_checkout_place_order_placeholder()
S
82 1 3
get_order_review_html_attributes_inner()
S
69 1 7
get_order_review_title()
S
78 1 3
run_action_woocommerce_checkout_after_customer_details()
S
81 1 3
output_substep_text_payment_method()
S
81 1 3
add_payment_method_text_fragment()
S
73 1 5
get_substep_text_payment_method()
S
80 1 3
output_substep_payment_fields()
S
69 1 8
get_billing_only_fields_keys()
S
68 1 7
get_substep_text_shipping_method()
S
80 1 3
get_shipping_only_fields_keys()
S
68 1 7
get_no_substep_review_text_notice()
S
77 1 3
output_substep_shipping_address_fields()
S
74 1 5
get_shipping_only_fields()
S
68 1 7
get_shipping_same_billing_fields()
S
68 1 7
get_shipping_fields_filtered()
S
68 1 7
get_shipping_address_ignored_shipping_field_ids()
S
77 1 4
do_order_notes_hooks()
S
76 1 4
get_contact_step_display_field_ids()
S
79 1 3
get_default_contact_step_display_field_ids()
S
81 1 3
output_form_account_creation()
S
69 1 8
output_substep_text_contact()
S
81 1 3
add_contact_text_fragment()
S
73 1 5
get_substep_text_contact()
S
80 1 3
output_substep_contact_fields()
S
65 1 10
output_expansible_form_section_end_tag()
S
79 1 7
output_substep_text_end_tag()
S
81 1 6
add_shipping_address_fields_fragment()
S
73 1 5
output_checkout_notices_wrapper_start_tag()
S
83 1 5
late_hooks()
S
63 1 10
register_assets()
S
68 1 6
enqueue_assets()
S
74 1 5
get_checkout_layout_options()
S
70 1 6
get_allowed_checkout_layouts()
S
80 1 3
is_checkout_layout_multistep()
S
78 1 3
output_checkout_notices_wrapper_end_tag()
S
83 1 5
output_substep_fields_end_tag()
S
70 1 7
output_checkout_header_cart_link()
S
65 1 8
get_checkout_header_cart_link()
S
74 1 5
add_checkout_header_cart_link_fragment()
S
73 1 5
is_shipping_phone_enabled()
S
79 1 3
is_billing_phone_enabled()
S
79 1 3
get_registered_checkout_steps()
S
82 1 3
get_substep_shipping_address_fields()
S
67 1 8
get_formatted_address_replacements_custom_field_keys()
S
80 1 3
get_billing_same_as_shipping_skip_fields()
S
80 1 3
get_billing_step_hook_priority()
S
75 1 4
get_shipping_same_as_billing_skip_fields()
S
80 1 3
get_option_label_shipping_same_as_billing()
S
78 1 3
get_option_label_billing_same_as_shipping()
S
78 1 3
output_substep_text_billing_address()
S
81 1 3
add_billing_address_text_fragment()
S
73 1 5
get_substep_text_billing_address()
S
80 1 3
add_substep_text_lines_extra_fields_billing_address()
S
79 1 3
add_checkout_billing_address_fields_fragment()
S
73 1 5
output_substep_billing_address_fields()
S
74 1 5
get_billing_address_ignored_billing_field_ids()
S
77 1 4
change_woocommerce_ship_to_destination()
S
82 1 3
output_additional_fields()
S
69 1 8
output_shipping_methods_available()
S
74 1 5
add_shipping_methods_fields_fragment()
S
73 1 5
is_billing_forced_same_as_shipping()
S
75 1 4
add_substep_text_lines_extra_fields_shipping_address()
S
79 1 3
add_shipping_methods_text_fragment()
S
73 1 5
get_substep_text_shipping_address()
S
80 1 3
add_shipping_address_text_fragment()
S
73 1 5
output_substep_text_shipping_address()
S
81 1 3
is_shipping_package_name_display_enabled()
S
79 1 3
is_shipping_package_contents_substep_text_lines_enabled()
S
79 1 3
is_shipping_package_contents_destination_text_lines_enabled()
S
79 1 3
output_substep_text_shipping_method()
S
81 1 3
is_billing_address_before_shipping_address()
S
75 1 4
get_substep_text_order_notes()
S
80 1 3
add_order_notes_text_fragment()
S
73 1 5
output_substep_text_order_notes()
S
81 1 3
is_substep_complete_order_notes()
S
72 1 5
output_ship_to_different_address_hidden_field()
S
71 1 7
set_ship_to_different_address_true()
S
82 1 3
get_substep_title_with_filters()
S
75 1 4