-
Home
-
WooCommerce
-
9.4.1
-
Code
-
Classes
- WC_Cart_Session
Total Complexity |
80 |
Dependencies |
2 |
Dependents |
1 |
Total lines |
518 |
Lines of code |
304 |
Logical lines of code |
183 |
Comment lines |
152 |
Methods |
15 |
Properties |
1 |
Methods 15
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_cart_from_session() |
C |
35 |
24 |
77 |
populate_cart_from_order() |
B |
37 |
17 |
76 |
set_cart_cookies() |
S |
52 |
7 |
26 |
dedupe_cookies() |
S |
51 |
6 |
28 |
maybe_set_cart_cookies() |
S |
62 |
5 |
11 |
persistent_cart_update() |
S |
63 |
3 |
11 |
init() |
S |
56 |
2 |
17 |
find_cookie_by_name() |
S |
67 |
3 |
8 |
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 |
set_cart() |
S |
81 |
1 |
3 |
destroy_cart_session() |
S |
66 |
1 |
9 |
set_session() |
S |
65 |
1 |
9 |