TD_API_Model A

Total Complexity 52
Dependencies 3
Dependents 5
Total lines 495
Lines of code 314
Logical lines of code 120
Comment lines 99
Methods 24
Properties 5

Methods 24

Method Rating Maintainability Complexity Lines of code
create_item()
S
50 5 30
register_routes()
S
42 1 68
nonce_permissions_check()
S
58 4 16
prepare_item_for_api_response()
S
60 4 14
update_items()
S
52 3 25
verify_nonce()
S
60 3 13
delete_item()
S
62 3 11
update_item()
S
55 2 21
create_nonce()
S
65 3 8
api_hooks()
S
65 3 9
get_item()
S
61 2 12
get_collection_params()
S
56 1 21
prepare_collection_for_api_response()
S
68 2 7
get_api_base()
S
70 2 7
logged_in_permissions_check()
S
72 2 6
get_items_permissions_check()
S
72 2 6
get_item_permissions_check()
S
72 2 6
create_item_permissions_check()
S
72 2 6
get_items()
S
62 1 12
rest_api_init()
S
82 1 3
delete_item_permissions_check()
S
80 1 3
update_item_permissions_check()
S
80 1 3
register_custom_routes()
S
91 1 2
__construct()
S
74 1 5