WC_REST_Product_Variations_Controller C

Total Complexity 110
Dependencies 7
Dependents 0
Total lines 1,114
Lines of code 863
Logical lines of code 215
Comment lines 162
Methods 11
Properties 1

Methods 11

Method Rating Maintainability Complexity Lines of code
prepare_object_for_database()
D
25
49 141
prepare_objects_query()
C
30 26 126
get_item_schema()
B
22
1 351
set_variation_image()
A
48 9 33
prepare_object_for_response()
S
40 5 56
get_image()
S
51 5 26
generate()
S
54 5 19
delete_unmatched_product_variations()
S
55 4 19
get_downloads()
S
60 4 13
get_collection_params()
S
45 1 48
register_routes()
S
50 1 31