-
Home
-
Headless eCommerce API for Developers – CoCart
-
4.7.0
-
Code
-
Classes
- CoCart_Product_Variations_Controller
| Total Complexity |
20 |
| Dependencies |
3 |
| Dependents |
0 |
| Total lines |
622 |
| Lines of code |
485 |
| Logical lines of code |
53 |
| Comment lines |
107 |
| Methods |
7 |
| Properties |
3 |
Methods 7
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| get_item_schema() |
B |
24 |
1 |
291 |
| prepare_objects_query() |
A |
45 |
10 |
43 |
| get_image() |
S |
50 |
5 |
27 |
| prepare_object_for_response() |
S |
44 |
1 |
44 |
| register_routes() |
S |
48 |
1 |
43 |
| get_collection_params() |
S |
55 |
1 |
20 |
| prepare_links() |
S |
57 |
1 |
17 |