WC_REST_Terms_Controller B

Total Complexity 89
Dependencies 5
Dependents 0
Total lines 794
Lines of code 499
Logical lines of code 240
Comment lines 189
Methods 19
Properties 3

Methods 19

Method Rating Maintainability Complexity Lines of code
get_items()
A
37 14 73
create_item()
A
43 10 45
update_item()
A
46 10 37
get_terms_for_product()
A
50 9 28
check_permissions()
S
57 7 15
register_routes()
S
39 1 82
delete_item()
S
52 5 21
get_collection_params()
S
40 1 79
prepare_links()
S
53 4 23
get_taxonomy()
S
59 4 15
batch_items_permissions_check()
S
63 3 10
delete_item_permissions_check()
S
63 3 10
update_item_permissions_check()
S
63 3 10
get_items_permissions_check()
S
63 3 10
get_item_permissions_check()
S
63 3 10
create_item_permissions_check()
S
63 3 10
compare_terms()
S
65 3 9
get_item()
S
65 2 9
update_term_meta_fields()
S
82 1 3