Cartflows_Checkout_Markup D

Total Complexity 258
Dependencies 7
Dependents 1
Total lines 1,934
Lines of code 1,136
Logical lines of code 649
Comment lines 379
Methods 57
Properties 1

Methods 57

Method Rating Maintainability Complexity Lines of code
preconfigured_cart_data()
D
26
40 141
generate_style()
C
30 22 121
add_custom_billing_email_field()
A
34 10 109
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
get_ajax_endpoint()
S
52 6 25
wcf_woo_remove_cart_product()
S
51 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
enable_logo_in_header()
S
58 4 15
custom_price_to_cart_item()
S
63 5 10
display_custom_coupon_field()
S
52 3 29
load_google_places_library()
S
53 3 25
get_random_products()
S
50 2 33
modern_checkout_layout_actions()
S
57 3 15
prepare_required_cart_data()
S
63 4 10
remove_coupon()
S
60 3 12
check_email_exists()
S
61 3 11
woo_checkout_flag()
S
68 3 8
apply_coupon()
S
58 2 15
display_woo_notices()
S
73 3 5
change_return_cancel_url()
S
64 3 10
add_localize_vars()
S
56 1 18
get_instance()
S
71 2 6
checkout_shortcode_post_id()
S
63 2 10
after_login_redirect()
S
68 2 7
shortcode_load_data()
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
wcf_order_review()
S
71 2 6
unset_fields_for_modern_checkout()
S
67 2 8
before_checkout_shortcode_actions()
S
60 1 12
show_cartflows_copyright_message()
S
64 1 11
customer_info_parent_wrapper_close()
S
76 1 4
customer_info_parent_wrapper_start()
S
76 1 4
add_custom_collapsed_order_review_table()
S
80 1 3
coupon_button_text()
S
78 1 3
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
remove_coupon_text()
S
75 1 4
get_order_review_toggle_texts()
S
64 1 10
display_custom_payment_heading()
S
68 1 9
checkout_fields_actions()
S
71 1 6