WC_REST_Order_Refunds_V2_Controller S

Total Complexity 33
Dependencies 6
Dependents 0
Total lines 858
Lines of code 691
Logical lines of code 70
Comment lines 119
Methods 11
Properties 4

Methods 11

Method Rating Maintainability Complexity Lines of code
get_item_schema()
C
19
1 490
prepare_object_for_database()
A
44 12 43
prepare_object_for_response()
S
54 6 18
get_formatted_item_data()
S
49 4 31
register_routes()
S
42 1 64
save_object()
S
60 4 13
prepare_links()
S
59 1 15
__construct()
S
78 1 3
get_object()
S
80 1 3
prepare_objects_query()
S
69 1 6
get_collection_params()
S
72 1 5