WC_REST_Order_Refunds_V2_Controller S

Total Complexity 32
Dependencies 5
Dependents 0
Total lines 573
Lines of code 411
Logical lines of code 67
Comment lines 115
Methods 11
Properties 4

Methods 11

Method Rating Maintainability Complexity Lines of code
get_item_schema()
A
28
1 222
prepare_object_for_database()
A
47 11 31
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