-
Home
-
Headless WooCommerce Made Easy with CoCart
-
4.3.22
-
Code
-
Classes
- CoCart_Utilities_Cart_Helpers
Total Complexity |
20 |
Dependencies |
3 |
Dependents |
9 |
Total lines |
275 |
Lines of code |
67 |
Logical lines of code |
38 |
Comment lines |
190 |
Methods |
10 |
Properties |
0 |
Methods 10
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_customer_fields() |
S |
58 |
4 |
14 |
convert_notices_to_exceptions() |
S |
62 |
3 |
11 |
get_cart_key() |
S |
70 |
2 |
6 |
get_tax_display_mode() |
S |
77 |
2 |
3 |
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 |