WCCT_cart D

Total Complexity 132
Dependencies 5
Dependents 1
Total lines 604
Lines of code 385
Logical lines of code 266
Comment lines 96
Methods 17
Properties 5

Methods 17

Method Rating Maintainability Complexity Lines of code
wcct_wc_checkout_update_order_meta()
D
31 36 95
check_cart_item_stock()
C
36 25 70
wcct_add_cart_data()
A
44 14 44
wcct_upgrade_total_sold_unit()
A
52 8 23
maybe_setup_data()
S
52 7 24
detect_mini_cart_start()
S
58 6 14
wcct_push_discount_price_to_cart()
S
60 5 13
wcct_remove_cart_data()
S
61 5 12
setup_cart_data_session()
S
61 5 12
has_product_stock()
S
60 5 12
maybe_skip_for_wc_product_addon()
S
68 5 6
wcct_check_cart_items()
S
61 3 14
__construct()
S
51 2 25
get_instance()
S
72 2 6
wcct_setup_data_when_cart()
S
67 2 8
detect_mini_cart_ends()
S
81 1 3
remove_actions()
S
74 1 4