BP_REST_Messages_Endpoint B

Total Complexity 98
Dependencies 8
Dependents 0
Total lines 1,415
Lines of code 854
Logical lines of code 258
Comment lines 414
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_item_schema()
A
32 2 154
prepare_item_for_response()
S
44 6 42
get_endpoint_args_for_item_schema()
S
40 4 69
get_item_permissions_check()
S
49 6 31
create_item_permissions_check()
S
51 6 28
get_items_permissions_check()
S
49 5 32
update_starred()
S
46 4 44
register_routes()
S
41 2 68
get_collection_params()
S
41 2 67
delete_item()
S
48 4 36
prepare_links()
S
54 4 20
get_items()
S
48 3 34
create_item()
S
51 3 28
prepare_message_for_response()
S
52 3 25
prepare_recipient_for_response()
S
51 3 25
update_starred_permissions_check()
S
58 3 16
get_thread_object()
S
62 3 11
get_item()
S
59 2 15
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