-
Home
-
Headless eCommerce API for Developers – CoCart
-
4.8.0 (latest)
-
Code
-
Classes
- CoCart_REST_Add_Items_V2_Controller
| Total Complexity |
31 |
| Dependencies |
6 |
| Dependents |
0 |
| Total lines |
388 |
| Lines of code |
190 |
| Logical lines of code |
77 |
| Comment lines |
153 |
| Methods |
6 |
| Properties |
2 |
Methods 6
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| add_items_to_cart() |
B |
40 |
17 |
58 |
| add_to_cart_handler_grouped() |
A |
45 |
10 |
39 |
| get_collection_params() |
S |
48 |
1 |
39 |
| get_item_schema() |
S |
50 |
1 |
33 |
| register_routes() |
S |
59 |
1 |
16 |
| get_public_item_schema() |
S |
73 |
1 |
5 |