Cartflows_Checkout_Markup D

Total Complexity 246
Dependencies 7
Dependents 2
Total lines 1,720
Lines of code 957
Logical lines of code 584
Comment lines 360
Methods 52
Properties 1

Methods 52

Method Rating Maintainability Complexity Lines of code
preconfigured_cart_data()
D
26
42 138
generate_style()
C
30 22 123
prefill_checkout_fields()
A
54 13 19
checkout_shortcode_markup()
A
43 10 47
place_order_button_text()
A
53 10 22
modify_order_review_item_summary()
A
47 9 34
save_checkout_fields()
A
54 9 21
restore_cart_data()
A
52 8 20
calculate_discount()
A
56 8 19
wcf_cart_totals_shipping_html()
S
54 7 19
compatibility_scripts()
S
56 6 19
add_updated_cart_price()
S
58 5 15
wcf_order_review()
S
60 5 12
change_shipping_message_html()
S
62 5 11
shortcode_scripts()
S
52 4 25
enable_logo_in_header()
S
58 4 15
get_checkout_id()
S
64 5 10
custom_price_to_cart_item()
S
63 5 10
__construct()
S
49 3 29
load_google_places_library()
S
53 3 25
get_random_products()
S
50 2 33
prepare_required_cart_data()
S
63 4 10
display_custom_coupon_field()
S
53 2 27
add_localize_vars()
S
51 2 27
is_custom_coupon_field_enabled()
S
65 3 9
update_customer_info_text()
S
64 3 10
update_billing_text()
S
64 3 10
woo_checkout_flag()
S
68 3 8
update_your_order_text()
S
64 3 10
update_payment_text()
S
64 3 10
change_return_cancel_url()
S
64 3 10
display_woo_notices()
S
73 3 5
update_shipping_text()
S
64 3 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
get_instance()
S
71 2 6
after_login_redirect()
S
68 2 7
shortcode_load_data()
S
63 2 10
checkout_shortcode_post_id()
S
63 2 10
before_checkout_shortcode_actions()
S
59 1 13
show_cartflows_copyright_message()
S
64 1 11
set_active_checkout_cookie_data()
S
66 1 7
coupon_field_placeholder()
S
78 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
update_the_checkout_strings()
S
67 1 7
get_order_review_toggle_texts()
S
64 1 10
checkout_fields_actions()
S
74 1 5
remove_coupon_text()
S
75 1 4