-
Home
-
Headless WooCommerce Made Easy with CoCart
-
4.0.2
-
Code
-
Classes
- CoCart_REST_Add_Items_V2_Controller
Total Complexity |
29 |
Dependencies |
6 |
Dependents |
0 |
Total lines |
346 |
Lines of code |
172 |
Logical lines of code |
72 |
Comment lines |
132 |
Methods |
6 |
Properties |
2 |
Methods 6
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
add_items_to_cart() |
A |
42 |
15 |
47 |
add_to_cart_handler_grouped() |
A |
45 |
10 |
39 |
get_item_schema() |
S |
50 |
1 |
33 |
get_collection_params() |
S |
50 |
1 |
32 |
register_routes() |
S |
59 |
1 |
16 |
get_public_item_schema() |
S |
73 |
1 |
5 |