LLMS_REST_API_Keys_Controller A

Total Complexity 51
Dependencies 4
Dependents 0
Total lines 497
Lines of code 210
Logical lines of code 93
Comment lines 194
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
prepare_item_for_response()
S
53 6 20
get_item_schema()
S
46 1 47
prepare_collection_items_for_response()
S
64 3 10
create_item()
S
60 2 12
get_collection_params()
S
58 1 17
check_permissions()
S
79 2 3
get_pagination_data_from_query()
S
68 2 6
update_item()
S
64 2 10
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