WC_REST_Customers_V1_Controller A

Total Complexity 74
Dependencies 7
Dependents 0
Total lines 902
Lines of code 642
Logical lines of code 194
Comment lines 171
Methods 18
Properties 2

Methods 18

Method Rating Maintainability Complexity Lines of code
get_item_schema()
A
29
1 216
get_items()
A
39 10 66
update_item()
A
46 11 35
update_customer_meta_fields()
A
52 11 23
delete_item()
A
47 10 31
prepare_item_for_response()
S
47 6 33
create_item()
S
48 6 29
register_routes()
S
39 1 82
get_collection_params()
S
42 1 63
get_item()
S
62 3 10
get_items_permissions_check()
S
69 2 6
batch_items_permissions_check()
S
69 2 6
delete_item_permissions_check()
S
66 2 7
update_item_permissions_check()
S
66 2 7
get_item_permissions_check()
S
66 2 7
create_item_permissions_check()
S
69 2 6
prepare_links()
S
63 1 11
get_role_names()
S
76 1 4