-
Home
-
Headless eCommerce API for Developers – CoCart
-
4.8.0 (latest)
-
Code
-
Classes
- CoCart_REST_Add_Item_V2_Controller
| Total Complexity |
34 |
| Dependencies |
7 |
| Dependents |
0 |
| Total lines |
587 |
| Lines of code |
269 |
| Logical lines of code |
101 |
| Comment lines |
262 |
| Methods |
8 |
| Properties |
2 |
Methods 8
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| add_to_cart() |
B |
36 |
20 |
75 |
| add_item_to_cart() |
A |
43 |
6 |
46 |
| get_collection_params() |
S |
43 |
1 |
60 |
| get_item_schema() |
S |
45 |
1 |
49 |
| register_routes() |
S |
59 |
1 |
16 |
| add_to_cart_handler_simple() |
S |
65 |
2 |
9 |
| add_to_cart_handler_variable() |
S |
64 |
2 |
9 |
| get_public_item_schema() |
S |
73 |
1 |
5 |