-
Home
-
WooCommerce
-
10.2.2
-
Code
-
Classes
- WC_REST_Product_Variations_Controller
| Total Complexity |
128 |
| Dependencies |
10 |
| Dependents |
0 |
| Total lines |
1,285 |
| Lines of code |
981 |
| Logical lines of code |
255 |
| Comment lines |
191 |
| Methods |
13 |
| Properties |
2 |
Methods 13
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| prepare_object_for_database() |
D |
24 |
51 |
147 |
| prepare_objects_query() |
D |
27 |
32 |
163 |
| get_item_schema() |
B |
21 |
2 |
365 |
| set_variation_image() |
A |
48 |
9 |
33 |
| prepare_object_for_response() |
A |
39 |
6 |
61 |
| generate() |
S |
53 |
6 |
20 |
| get_image() |
S |
51 |
5 |
26 |
| get_collection_params() |
S |
39 |
1 |
80 |
| delete_unmatched_product_variations() |
S |
55 |
4 |
19 |
| get_downloads() |
S |
60 |
4 |
13 |
| exclude_product_variation_statuses() |
S |
60 |
4 |
12 |
| get_objects() |
S |
63 |
3 |
11 |
| register_routes() |
S |
50 |
1 |
31 |