-
Home
-
Headless WooCommerce Made Easy with CoCart
-
4.2.2
-
Code
-
Classes
- CoCart_Utilities_Cart_Helpers
Total Complexity |
16 |
Dependencies |
3 |
Dependents |
4 |
Total lines |
200 |
Lines of code |
53 |
Logical lines of code |
29 |
Comment lines |
133 |
Methods |
8 |
Properties |
0 |
Methods 8
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 |
are_coupons_enabled() |
S |
80 |
1 |
3 |
throw_product_not_purchasable() |
S |
66 |
1 |
8 |
get_remaining_stock_for_product() |
S |
69 |
1 |
6 |