CN_REST_Terms_Controller A

Total Complexity 74
Dependencies 5
Dependents 1
Total lines 933
Lines of code 475
Logical lines of code 190
Comment lines 262
Methods 17
Properties 3

Methods 17

Method Rating Maintainability Complexity Lines of code
get_items()
A
38 11 70
prepare_item_for_database()
A
51 12 25
prepare_item_for_response()
A
47 10 34
create_item()
S
49 6 29
update_item()
S
51 6 25
get_collection_params()
S
41 1 73
get_item_schema()
S
42 1 66
delete_item()
S
56 4 15
get_item()
S
61 4 11
prepare_links()
S
53 3 24
register_routes()
S
45 1 53
update_item_permissions_check()
S
62 3 10
delete_item_permissions_check()
S
62 3 10
get_item_permissions_check()
S
63 3 10
get_items_permissions_check()
S
63 3 10
create_item_permissions_check()
S
69 2 6
__construct()
S
76 1 4