VTPRD_Parent_Cart_Validation D

Total Complexity 652
Dependencies 1
Dependents 0
Total lines 6,020
Lines of code 2,367
Logical lines of code 1,513
Comment lines 2,977
Methods 51
Properties 0

Methods 51

Method Rating Maintainability Complexity Lines of code
vtprd_maybe_catalog_price_html()
D
17
59 255
vtprd_do_loaded_housekeeping()
D
25
47 145
vtprd_maybe_before_calculate_totals()
D
28
44 124
vtprd_maybe_before_mini_cart()
D
26
42 148
vtprd_maybe_get_price()
D
30 39 111
vtprd_cart_updated()
D
31 34 103
vtprd_maybe_woocommerce_is_purchasable()
C
36 26 88
vtprd_maybe_cart_item_price_html()
C
34 24 84
vtprd_maybe_cart_item_subtotal()
B
37 23 71
vtprd_maybe_woocommerce_product_is_visible()
B
40 19 65
vtprd_post_purchase_maybe_before_thankyou()
B
37 18 69
vtprd_maybe_order_formatted_line_subtotal()
B
39 16 59
vtprd_woo_new_load_discount_amount_to_coupon()
B
41 16 55
vtprd_woo_maybe_load_discount_amount_to_coupon()
A
35 13 89
vtprd_woo_maybe_add_remove_discount_cart_coupon()
A
43 13 49
vtprd_post_purchase_maybe_email()
A
44 10 45
vtprd_show_shop_price_html()
A
46 10 42
vtprd_currPageURL()
A
52 11 25
vtprd_process_discount()
A
46 10 37
vtprd_maybe_print_widget_discount()
A
48 10 31
vtprd_woo_validate_order()
A
46 9 36
vtprd_update_on_login()
A
47 9 36
vtprd_show_price_save_amount()
A
48 9 35
vtprd_show_shop_price()
A
49 9 34
vtprd_update_on_logout()
A
48 9 34
vtprd_compute_tax_values()
A
49 9 30
vtprd_get_data_chain()
A
47 8 40
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
55 7 19
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_order_history_report()
S
50 5 30
vtprd_show_product_discount_full_msg_line()
S
56 4 18
vtprd_maybe_show_crossouts()
S
57 4 17
vtprd_maybe_recalc_woo_totals()
S
59 4 16
vtprd_post_purchase_maybe_save_log_info()
S
57 4 16
__construct()
S
49 3 28
vtprd_pro_lifetime_bulk_log_roll_out()
S
63 4 10
vtprd_get_currPageURL()
S
60 3 12
vtprd_test_for_html_crossout_use()
S
62 3 12
vtprd_set_session_transient_with_ip_key()
S
59 2 14
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