BP_REST_Messages_Endpoint C

Total Complexity 102
Dependencies 8
Dependents 0
Total lines 1,504
Lines of code 924
Logical lines of code 274
Comment lines 422
Methods 24
Properties 0

Methods 24

Method Rating Maintainability Complexity Lines of code
prepare_item_for_database()
A
47 16 33
update_item()
A
41 12 57
get_endpoint_args_for_item_schema()
A
33 5 121
get_item_schema()
A
32 2 154
prepare_item_for_response()
S
44 6 42
get_item_permissions_check()
S
50 6 30
create_item_permissions_check()
S
51 6 28
get_items_permissions_check()
S
49 5 32
prepare_recipient_for_response()
S
49 5 29
get_collection_params()
S
41 2 67
delete_item()
S
48 4 36
register_routes()
S
43 2 62
update_starred_permissions_check()
S
50 4 31
prepare_message_for_response()
S
50 4 27
update_starred()
S
49 3 35
prepare_links()
S
54 4 20
get_items()
S
48 3 34
create_item()
S
51 3 28
get_item()
S
51 2 28
get_thread_object()
S
62 3 11
get_message_object()
S
69 2 7
delete_item_permissions_check()
S
75 1 4
update_item_permissions_check()
S
75 1 4
__construct()
S
75 1 4