APPMAKER_WC_REST_Orders_Controller D

Total Complexity 131
Dependencies 10
Dependents 0
Total lines 1,568
Lines of code 1,266
Logical lines of code 333
Comment lines 175
Methods 19
Properties 3

Methods 19

Method Rating Maintainability Complexity Lines of code
prepare_item_for_response()
D
13
62 293
get_item_schema()
D
17
1 582
get_items()
A
37 11 72
get_recent_items()
A
46 9 38
get_item_permissions_check()
A
55 8 16
repeat_order()
S
49 7 28
query_args()
S
50 6 29
order_notes()
S
48 4 33
cancel_order()
S
53 4 22
register_routes()
S
45 1 55
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_statuses()
S
68 2 7
get_order_key()
S
69 2 7
__construct()
S
74 1 4
prepare_item_for_database()
S
67 1 7