WC_Advanced_Shipment_Tracking_REST_API_Controller S

Total Complexity 42
Dependencies 5
Dependents 1
Total lines 464
Lines of code 276
Logical lines of code 116
Comment lines 122
Methods 16
Properties 3

Methods 16

Method Rating Maintainability Complexity Lines of code
create_item()
A
42 10 46
is_valid_order_id()
S
59 5 14
delete_item()
S
54 4 20
prepare_item_for_response()
S
54 3 21
get_items()
S
57 3 16
get_item()
S
57 3 16
get_item_schema()
S
46 1 46
register_routes()
S
47 1 44
prepare_links()
S
58 1 16
get_items_permissions_check()
S
69 2 6
create_item_permissions_check()
S
69 2 6
get_item_permissions_check()
S
68 2 6
delete_item_permissions_check()
S
68 2 6
set_namespace()
S
77 1 4
get_providers()
S
76 1 4
get_collection_params()
S
73 1 5