-
Home
-
Headless WooCommerce Made Easy with CoCart
-
4.3.7
-
Code
-
Classes
- CoCart_Utilities_Cart_Helpers
Total Complexity |
18 |
Dependencies |
3 |
Dependents |
9 |
Total lines |
238 |
Lines of code |
62 |
Logical lines of code |
35 |
Comment lines |
160 |
Methods |
9 |
Properties |
0 |
Methods 9
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_customer_fields() |
S |
60 |
4 |
12 |
convert_notices_to_exceptions() |
S |
62 |
3 |
11 |
get_cart_key() |
S |
70 |
2 |
6 |
coupon_exists() |
S |
74 |
2 |
4 |
is_shipping_enabled() |
S |
78 |
2 |
3 |
throw_missing_item_key() |
S |
64 |
2 |
9 |
are_coupons_enabled() |
S |
80 |
1 |
3 |
throw_product_not_purchasable() |
S |
66 |
1 |
8 |
get_remaining_stock_for_product() |
S |
69 |
1 |
6 |