-
Home
-
WooCommerce
-
6.9.4
-
Code
-
Classes
- WC_REST_Products_Controller
Total Complexity |
163 |
Dependencies |
6 |
Dependents |
0 |
Total lines |
1,459 |
Lines of code |
1,158 |
Logical lines of code |
326 |
Comment lines |
176 |
Methods |
10 |
Properties |
2 |
Methods 10
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
prepare_object_for_database() |
D |
8 |
105 |
298 |
get_item_schema() |
D |
15 |
1 |
616 |
prepare_objects_query() |
C |
31 |
26 |
109 |
set_product_images() |
A |
43 |
13 |
45 |
get_images() |
S |
50 |
5 |
29 |
get_product_data() |
S |
60 |
4 |
13 |
get_objects() |
S |
60 |
3 |
13 |
add_search_criteria_to_wp_query_join() |
S |
65 |
3 |
8 |
get_collection_params() |
S |
55 |
1 |
19 |
add_search_criteria_to_wp_query_where() |
S |
66 |
2 |
8 |