APPMAKER_WC_REST_Orders_Controller C

Total Complexity 112
Dependencies 9
Dependents 0
Total lines 1,476
Lines of code 1,183
Logical lines of code 291
Comment lines 172
Methods 18
Properties 3

Methods 18

Method Rating Maintainability Complexity Lines of code
prepare_item_for_response()
D
15
54 268
get_item_schema()
D
17
1 582
get_items()
A
37 11 72
repeat_order()
S
49 7 28
query_args()
S
50 6 29
get_item_permissions_check()
S
59 6 12
order_notes()
S
51 4 26
cancel_order()
S
53 4 22
register_routes()
S
46 1 46
get_order_status_label()
S
61 3 12
get_items_permissions_check()
S
62 3 11
prepare_links()
S
58 2 16
get_order_id()
S
65 3 9
get_collection_params()
S
53 1 25
get_order_key()
S
69 2 7
get_order_statuses()
S
68 2 7
__construct()
S
74 1 4
prepare_item_for_database()
S
67 1 7