WC_REST_Product_Variations_Controller C

Total Complexity 112
Dependencies 7
Dependents 0
Total lines 1,133
Lines of code 880
Logical lines of code 218
Comment lines 163
Methods 11
Properties 1

Methods 11

Method Rating Maintainability Complexity Lines of code
prepare_object_for_database()
D
24
50 144
prepare_objects_query()
C
30 26 126
get_item_schema()
B
21
1 362
set_variation_image()
A
48 9 33
prepare_object_for_response()
S
40 5 58
generate()
S
53 6 20
get_image()
S
51 5 26
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