VTPRD_Parent_Cart_Validation D

Total Complexity 628
Dependencies 1
Dependents 0
Total lines 6,215
Lines of code 2,241
Logical lines of code 1,404
Comment lines 3,111
Methods 52
Properties 0

Methods 52

Method Rating Maintainability Complexity Lines of code
vtprd_maybe_catalog_price_html()
D
18
57 246
vtprd_do_loaded_housekeeping()
D
26
47 140
vtprd_maybe_before_mini_cart()
D
27
41 143
vtprd_maybe_before_calculate_totals()
D
29
42 119
vtprd_maybe_get_price()
D
31 39 107
vtprd_cart_updated()
D
32 33 95
vtprd_maybe_woocommerce_is_purchasable()
C
36 26 88
vtprd_maybe_cart_item_price_html()
B
36 23 75
vtprd_maybe_woocommerce_product_is_visible()
B
40 19 65
vtprd_maybe_cart_item_subtotal()
B
42 16 47
vtprd_maybe_order_formatted_line_subtotal()
A
43 16 45
vtprd_woo_maybe_load_discount_amount_to_coupon()
A
35 13 85
vtprd_woo_maybe_add_remove_discount_cart_coupon()
A
44 12 45
vtprd_post_purchase_maybe_before_thankyou()
A
43 11 48
vtprd_woo_new_load_discount_amount_to_coupon()
A
44 11 42
vtprd_show_shop_price_html()
A
46 10 42
vtprd_currPageURL()
A
52 11 25
vtprd_post_purchase_maybe_email()
A
45 10 40
vtprd_maybe_print_widget_discount()
A
49 10 30
vtprd_woo_validate_order()
A
47 9 35
vtprd_show_price_save_amount()
A
48 9 35
vtprd_show_shop_price()
A
49 9 34
vtprd_process_discount()
A
47 9 34
vtprd_get_taxation_price_cart()
A
50 9 30
vtprd_get_data_chain()
A
47 8 38
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
51 6 26
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_display_rule_error_msg_at_checkout()
S
52 5 28
vtprd_order_history_report()
S
52 5 24
vtprd_maybe_taxation_fix()
S
55 5 17
vtprd_post_purchase_maybe_save_log_info()
S
57 4 17
vtprd_show_product_discount_full_msg_line()
S
56 4 17
vtprd_maybe_show_crossouts()
S
57 4 17
vtprd_maybe_recalc_woo_totals()
S
58 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_ajax_empty_cart()
S
78 1 4
vtprd_woo_add_pricing_deal_discount_type()
S
75 1 4
vtprd_nuke_session_variables()
S
78 1 4
vtprd_maybe_woocommerce_variation_is_visible()
S
79 1 3