Cartflows_Checkout_Markup D

Total Complexity 226
Dependencies 6
Dependents 1
Total lines 1,494
Lines of code 866
Logical lines of code 531
Comment lines 287
Methods 42
Properties 1

Methods 42

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