WC_Advanced_Shipment_Tracking_REST_API_Controller A

Total Complexity 58
Dependencies 7
Dependents 1
Total lines 637
Lines of code 399
Logical lines of code 185
Comment lines 139
Methods 21
Properties 3

Methods 21

Method Rating Maintainability Complexity Lines of code
create_item()
A
41 11 49
tracking_webhook()
A
43 7 46
register_routes()
S
39 2 83
is_valid_order_id()
S
59 5 14
delete_item()
S
54 4 20
check_wcast_installed()
S
56 4 19
prepare_item_for_response()
S
54 3 20
get_item_schema()
S
46 1 46
get_items()
S
57 3 16
get_item()
S
57 3 16
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
update_user_key()
S
71 1 5
get_providers()
S
76 1 4
disconnect_from_trackship_fun()
S
70 1 6
check_wcast_installed_from_third_party_tool()
S
72 1 6
get_collection_params()
S
73 1 5