-
Home
-
WooCommerce
-
7.8.1
-
Code
-
Classes
- WC_Cart_Session
Total Complexity |
70 |
Dependencies |
2 |
Dependents |
1 |
Total lines |
450 |
Lines of code |
261 |
Logical lines of code |
156 |
Comment lines |
134 |
Methods |
12 |
Properties |
1 |
Methods 12
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_cart_from_session() |
C |
35 |
24 |
76 |
populate_cart_from_order() |
B |
37 |
17 |
76 |
set_cart_cookies() |
S |
52 |
7 |
25 |
maybe_set_cart_cookies() |
S |
65 |
5 |
9 |
persistent_cart_update() |
S |
63 |
3 |
11 |
init() |
S |
56 |
2 |
17 |
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 |
destroy_cart_session() |
S |
66 |
1 |
9 |
set_session() |
S |
65 |
1 |
9 |