WC_Cart_Session A

Total Complexity 69
Dependencies 2
Dependents 1
Total lines 414
Lines of code 256
Logical lines of code 153
Comment lines 105
Methods 12
Properties 1

Methods 12

Method Rating Maintainability Complexity Lines of code
get_cart_from_session()
B
36 23 71
populate_cart_from_order()
B
36 18 79
set_cart_cookies()
S
52 7 25
maybe_set_cart_cookies()
S
65 5 9
persistent_cart_update()
S
63 3 11
persistent_cart_destroy()
S
72 3 5
get_saved_cart()
S
63 3 10
__construct()
S
70 2 6
get_cart_for_session()
S
67 2 8
init()
S
59 1 14
destroy_cart_session()
S
66 1 9
set_session()
S
65 1 9