WP_REST_Terms_Controller C

Total Complexity 122
Dependencies 6
Dependents 0
Total lines 861
Lines of code 581
Logical lines of code 274
Comment lines 176
Methods 20
Properties 1

Methods 20

Method Rating Maintainability Complexity Lines of code
get_items()
B
36 18 77
prepare_item_for_database()
A
51 12 25
prepare_item_for_response()
A
46 11 37
create_item()
A
45 10 38
update_item()
A
46 10 35
prepare_links()
A
45 8 42
get_terms_for_post()
A
50 9 27
get_collection_params()
S
39 3 78
get_item_schema()
S
40 3 70
get_items_permissions_check()
S
62 5 10
get_item_permissions_check()
S
62 5 10
delete_item()
S
57 4 15
update_item_permissions_check()
S
58 4 14
delete_item_permissions_check()
S
58 4 14
get_item()
S
61 4 11
register_routes()
S
46 1 45
check_is_taxonomy_allowed()
S
68 3 7
create_item_permissions_check()
S
63 3 10
compare_terms()
S
65 3 9
__construct()
S
67 2 7