-
Home
-
Headless WooCommerce Made Easy with CoCart
-
4.0.2
-
Code
-
Classes
- CoCart_Product_Variations_Controller
Total Complexity |
20 |
Dependencies |
2 |
Dependents |
0 |
Total lines |
612 |
Lines of code |
485 |
Logical lines of code |
53 |
Comment lines |
96 |
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 |