-
Home
-
Headless eCommerce API for Developers – CoCart
-
4.0.2
-
Code
-
Classes
- CoCart_Cart_Cache
| Total Complexity |
22 |
| Dependencies |
0 |
| Dependents |
1 |
| Total lines |
173 |
| Lines of code |
61 |
| Logical lines of code |
33 |
| Comment lines |
100 |
| Methods |
8 |
| Properties |
1 |
Methods 8
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| calculate_cached_items() |
S |
59 |
7 |
13 |
| remove_cached_item() |
S |
59 |
4 |
15 |
| set_new_price() |
S |
67 |
3 |
7 |
| set_cached_item() |
S |
64 |
3 |
9 |
| get_cached_item() |
S |
74 |
2 |
4 |
| __construct() |
S |
67 |
1 |
7 |
| get_cart_contents_cached() |
S |
79 |
1 |
3 |
| clear_cart_cached() |
S |
81 |
1 |
3 |