-
Home
-
WooCommerce
-
8.0.2
-
Code
-
Classes
- WC_REST_Product_Variations_Controller
Total Complexity |
90 |
Dependencies |
7 |
Dependents |
0 |
Total lines |
932 |
Lines of code |
728 |
Logical lines of code |
178 |
Comment lines |
124 |
Methods |
9 |
Properties |
1 |
Methods 9
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
prepare_object_for_database() |
D |
25 |
49 |
141 |
get_item_schema() |
B |
22 |
1 |
351 |
prepare_objects_query() |
B |
39 |
17 |
66 |
set_variation_image() |
A |
48 |
9 |
33 |
prepare_object_for_response() |
S |
41 |
5 |
54 |
get_image() |
S |
51 |
5 |
26 |
generate() |
S |
58 |
2 |
14 |
register_routes() |
S |
55 |
1 |
22 |
get_collection_params() |
S |
55 |
1 |
21 |