WC_REST_Taxes_V1_Controller A

Total Complexity 63
Dependencies 4
Dependents 0
Total lines 748
Lines of code 486
Logical lines of code 170
Comment lines 173
Methods 18
Properties 2

Methods 18

Method Rating Maintainability Complexity Lines of code
create_or_update_tax()
B
42 17 50
get_items()
A
36 9 83
delete_item()
S
53 6 20
get_item_schema()
S
40 1 76
register_routes()
S
41 1 73
add_tax_rate_locales()
S
56 4 19
get_collection_params()
S
43 1 56
prepare_item_for_response()
S
51 3 24
update_item()
S
58 3 14
get_item()
S
62 3 10
create_item()
S
58 2 14
batch_items_permissions_check()
S
69 2 6
delete_item_permissions_check()
S
69 2 6
get_items_permissions_check()
S
69 2 6
update_item_permissions_check()
S
69 2 6
get_item_permissions_check()
S
69 2 6
create_item_permissions_check()
S
69 2 6
prepare_links()
S
63 1 11