Cartflows_Checkout_Markup D

Total Complexity 288
Dependencies 8
Dependents 1
Total lines 2,123
Lines of code 1,226
Logical lines of code 704
Comment lines 433
Methods 66
Properties 1

Methods 66

Method Rating Maintainability Complexity Lines of code
preconfigured_cart_data()
D
26
42 137
generate_style()
C
30 22 121
add_custom_billing_email_field()
B
32 14 115
prefill_checkout_fields()
A
53 13 20
checkout_shortcode_markup()
A
43 10 47
restore_cart_data()
A
52 8 20
calculate_discount()
A
56 8 19
place_order_button_text()
A
55 8 19
wcf_add_remove_label_and_product_image()
A
48 7 32
wcf_cart_totals_shipping_html()
S
54 7 19
wcf_woo_remove_cart_product()
S
51 6 25
get_ajax_endpoint()
S
52 6 25
compatibility_scripts()
S
56 6 19
is_modern_checkout_layout()
S
59 6 14
save_checkout_fields()
S
59 6 13
add_updated_cart_price()
S
58 5 15
change_shipping_message_html()
S
62 5 11
shortcode_scripts()
S
52 4 25
__construct()
S
45 3 39
woocommerce_user_login()
S
53 4 22
get_checkout_id()
S
64 5 10
enable_logo_in_header()
S
58 4 15
custom_price_to_cart_item()
S
63 5 10
load_google_places_library()
S
53 3 25
apply_coupon()
S
53 3 23
get_random_products()
S
50 2 33
modern_checkout_layout_actions()
S
56 3 16
prepare_required_cart_data()
S
63 4 10
display_custom_coupon_field()
S
53 2 27
remove_coupon()
S
60 3 12
check_email_exists()
S
61 3 11
update_customer_info_text()
S
64 3 10
update_billing_text()
S
64 3 10
update_shipping_text()
S
64 3 10
update_your_order_text()
S
64 3 10
update_payment_text()
S
64 3 10
woo_checkout_flag()
S
68 3 8
display_woo_notices()
S
73 3 5
change_return_cancel_url()
S
64 3 10
is_custom_coupon_field_enabled()
S
65 3 9
add_localize_vars()
S
56 1 18
after_login_redirect()
S
68 2 7
wcf_order_review()
S
71 2 6
get_instance()
S
71 2 6
checkout_shortcode_post_id()
S
63 2 10
update_woo_actions_ajax()
S
70 2 6
after_the_order_review_ajax_call()
S
72 2 5
modify_paypal_args()
S
67 2 8
shortcode_load_data()
S
63 2 10
before_checkout_shortcode_actions()
S
59 1 13
show_cartflows_copyright_message()
S
64 1 11
customer_info_parent_wrapper_start()
S
76 1 4
add_custom_collapsed_order_review_table()
S
80 1 3
checkout_fields_actions()
S
74 1 5
update_the_checkout_strings()
S
67 1 7
unset_fields_for_modern_checkout()
S
70 1 6
coupon_button_text()
S
78 1 3
set_active_checkout_cookie_data()
S
66 1 7
bb_editor_compatibility()
S
66 1 10
gutenberg_editor_compatibility()
S
66 1 10
elementor_editor_compatibility()
S
66 1 10
coupon_field_placeholder()
S
78 1 3
get_order_review_toggle_texts()
S
64 1 10
remove_coupon_text()
S
75 1 4
display_custom_payment_heading()
S
66 1 9
customer_info_parent_wrapper_close()
S
76 1 4