LLMS_REST_API_Keys_Controller S

Total Complexity 50
Dependencies 3
Dependents 0
Total lines 492
Lines of code 209
Logical lines of code 94
Comment lines 193
Methods 21
Properties 2

Methods 21

Method Rating Maintainability Complexity Lines of code
prepare_item_for_database()
A
54 9 21
prepare_collection_query_args()
A
54 9 19
get_item_schema_base()
S
46 1 47
create_item()
S
56 3 17
update_item()
S
59 3 15
prepare_object_for_response()
S
63 3 9
prepare_collection_items_for_response()
S
64 3 10
get_collection_params()
S
58 1 17
check_permissions()
S
79 2 3
get_pagination_data_from_query()
S
68 2 6
validate_user_exists()
S
74 2 4
delete_item()
S
65 2 9
get_object()
S
74 2 4
get_objects_from_query()
S
81 1 3
create_item_permissions_check()
S
81 1 3
get_items_permissions_check()
S
81 1 3
get_item_permissions_check()
S
81 1 3
delete_item_permissions_check()
S
81 1 3
prepare_links()
S
67 1 7
update_item_permissions_check()
S
81 1 3
get_objects_query()
S
80 1 3