Cartflows_Checkout_Markup D

Total Complexity 210
Dependencies 6
Dependents 1
Total lines 1,396
Lines of code 814
Logical lines of code 491
Comment lines 275
Methods 40
Properties 1

Methods 40

Method Rating Maintainability Complexity Lines of code
preconfigured_cart_data()
D
27
39 129
add_three_column_layout_fields()
C
40 31 59
generate_style()
A
35 9 94
prefill_checkout_fields()
A
53 13 20
global_checkout_template_redirect()
A
49 12 29
checkout_shortcode_markup()
A
43 10 47
calculate_discount()
A
56 8 19
wcf_woo_remove_cart_product()
S
51 6 25
get_ajax_endpoint()
S
53 6 22
wcf_add_remove_label()
S
53 6 22
compatibility_scripts()
S
56 6 19
place_order_button_text()
S
60 5 13
__construct()
S
48 3 32
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
get_random_products()
S
50 2 32
woo_checkout_flag()
S
67 4 8
remove_coupon()
S
60 3 12
shortcode_scripts()
S
58 2 16
display_woo_notices()
S
73 3 5
save_checkout_fields()
S
64 3 10
change_return_cancel_url()
S
64 3 10
apply_coupon()
S
58 2 15
checkout_shortcode_post_id()
S
63 2 10
before_checkout_shortcode_actions()
S
58 1 15
after_the_order_review_ajax_call()
S
72 2 5
modify_paypal_args()
S
67 2 8
get_instance()
S
71 2 6
shortcode_load_data()
S
63 2 10
after_login_redirect()
S
68 2 7
show_cartflows_copyright_message()
S
64 1 11
remove_coupon_text()
S
75 1 4
bb_editor_compatibility()
S
66 1 10
coupon_button_text()
S
78 1 3
add_localize_vars()
S
67 1 7
gutenberg_editor_compatibility()
S
66 1 10
elementor_editor_compatibility()
S
66 1 10
update_woo_actions_ajax()
S
79 1 3
coupon_field_placeholder()
S
78 1 3