VTPRD_Parent_Cart_Validation D

Total Complexity 631
Dependencies 1
Dependents 0
Total lines 6,422
Lines of code 2,306
Logical lines of code 1,463
Comment lines 3,357
Methods 53
Properties 0

Methods 53

Method Rating Maintainability Complexity Lines of code
vtprd_maybe_catalog_price_html()
D
18
57 251
vtprd_do_loaded_housekeeping()
D
25
47 144
vtprd_maybe_before_mini_cart()
D
27
41 144
vtprd_maybe_before_calculate_totals()
D
29
42 121
vtprd_maybe_get_price()
D
30 39 110
vtprd_cart_updated()
D
32 33 100
vtprd_maybe_woocommerce_is_purchasable()
C
36 26 88
vtprd_maybe_cart_item_price_html()
C
35 23 80
vtprd_maybe_woocommerce_product_is_visible()
B
40 19 65
vtprd_maybe_cart_item_subtotal()
B
40 16 56
vtprd_woo_maybe_load_discount_amount_to_coupon()
A
35 13 88
vtprd_maybe_order_formatted_line_subtotal()
A
43 15 45
vtprd_woo_maybe_add_remove_discount_cart_coupon()
A
43 12 47
vtprd_woo_new_load_discount_amount_to_coupon()
A
43 12 46
vtprd_post_purchase_maybe_before_thankyou()
A
42 11 51
vtprd_post_purchase_maybe_email()
A
45 10 42
vtprd_show_shop_price_html()
A
46 10 42
vtprd_currPageURL()
A
52 11 25
vtprd_maybe_print_widget_discount()
A
49 10 31
vtprd_woo_validate_order()
A
47 9 36
vtprd_show_price_save_amount()
A
48 9 35
vtprd_process_discount()
A
47 9 35
vtprd_show_shop_price()
A
49 9 34
vtprd_get_taxation_price_cart()
A
50 9 30
vtprd_get_data_chain()
A
47 8 40
vtprd_update_on_login()
A
48 8 34
vtprd_compute_tax_values()
A
49 8 30
vtprd_woo_maybe_remove_coupon_from_cart()
A
51 8 26
vtprd_choose_mini_cart_price()
A
53 8 23
vtprd_maybe_show_pricing_suffix()
A
49 7 32
vtprd_post_purchase_maybe_purchase_log()
S
47 6 35
vtprd_pro_lifetime_log_roll_out()
S
56 7 18
vtprd_maybe_clear_auto_add_session_vars()
S
52 6 25
vtprd_ajax_add_to_cart_hook()
S
54 6 22
vtprd_maybe_print_checkout_discount()
S
54 6 20
vtprd_get_product_catalog_price_do_convert()
S
56 6 19
vtprd_maybe_taxation_fix()
S
55 6 18
vtprd_display_rule_error_msg_at_checkout()
S
52 5 28
vtprd_order_history_report()
S
51 5 26
vtprd_post_purchase_maybe_save_log_info()
S
57 4 17
vtprd_maybe_show_crossouts()
S
57 4 17
vtprd_show_product_discount_full_msg_line()
S
56 4 17
vtprd_maybe_recalc_woo_totals()
S
59 4 16
vtprd_update_on_logout()
S
60 4 15
__construct()
S
49 3 27
vtprd_pro_lifetime_bulk_log_roll_out()
S
64 4 9
vtprd_test_for_html_crossout_use()
S
62 3 12
vtprd_get_currPageURL()
S
64 3 9
vtprd_store_session_transient_with_ip_key()
S
64 2 10
vtprd_nuke_session_variables()
S
78 1 4
vtprd_ajax_empty_cart()
S
78 1 4
vtprd_woo_add_pricing_deal_discount_type()
S
75 1 4
vtprd_maybe_woocommerce_variation_is_visible()
S
79 1 3