Cartflows_Checkout_Markup D

Total Complexity 265
Dependencies 8
Dependents 1
Total lines 1,969
Lines of code 1,155
Logical lines of code 661
Comment lines 387
Methods 58
Properties 1

Methods 58

Method Rating Maintainability Complexity Lines of code
preconfigured_cart_data()
D
26
41 141
generate_style()
C
30 22 121
add_custom_billing_email_field()
B
33 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
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
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
remove_coupon()
S
60 3 12
display_custom_coupon_field()
S
53 2 27
check_email_exists()
S
61 3 11
is_custom_coupon_field_enabled()
S
65 3 9
change_return_cancel_url()
S
64 3 10
display_woo_notices()
S
73 3 5
woo_checkout_flag()
S
68 3 8
add_localize_vars()
S
56 1 18
checkout_shortcode_post_id()
S
63 2 10
wcf_order_review()
S
71 2 6
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
get_instance()
S
71 2 6
after_login_redirect()
S
68 2 7
before_checkout_shortcode_actions()
S
60 1 12
show_cartflows_copyright_message()
S
64 1 11
checkout_fields_actions()
S
74 1 5
coupon_button_text()
S
78 1 3
unset_fields_for_modern_checkout()
S
70 1 6
coupon_field_placeholder()
S
78 1 3
remove_coupon_text()
S
75 1 4
display_custom_payment_heading()
S
68 1 9
add_custom_collapsed_order_review_table()
S
80 1 3
bb_editor_compatibility()
S
66 1 10
gutenberg_editor_compatibility()
S
66 1 10
elementor_editor_compatibility()
S
66 1 10
get_order_review_toggle_texts()
S
64 1 10
customer_info_parent_wrapper_start()
S
76 1 4
customer_info_parent_wrapper_close()
S
76 1 4