-
Home
-
WooCommerce
-
8.2.0
-
Code
-
Classes
- WC_REST_Product_Variations_Controller
Total Complexity |
98 |
Dependencies |
7 |
Dependents |
0 |
Total lines |
993 |
Lines of code |
770 |
Logical lines of code |
198 |
Comment lines |
135 |
Methods |
10 |
Properties |
1 |
Methods 10
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 |
37 |
19 |
75 |
set_variation_image() |
A |
48 |
9 |
33 |
prepare_object_for_response() |
S |
41 |
5 |
54 |
get_image() |
S |
51 |
5 |
26 |
delete_unmatched_product_variations() |
S |
55 |
4 |
19 |
generate() |
S |
55 |
4 |
18 |
get_collection_params() |
S |
52 |
1 |
27 |
register_routes() |
S |
53 |
1 |
26 |