BP_REST_Activity_Endpoint D

Total Complexity 150
Dependencies 5
Dependents 0
Total lines 1,619
Lines of code 995
Logical lines of code 329
Comment lines 427
Methods 26
Properties 1

Methods 26

Method Rating Maintainability Complexity Lines of code
prepare_item_for_database()
C
38 29 57
get_items()
B
36 20 85
prepare_links()
A
41 12 58
create_item()
A
39 11 66
get_item_schema()
A
31 3 159
prepare_item_for_response()
A
41 8 52
create_item_permissions_check()
A
52 8 24
get_collection_params()
S
36 1 109
show_hidden()
S
59 6 14
update_favorite()
S
47 4 40
update_item()
S
48 4 35
get_endpoint_args_for_item_schema()
S
57 5 16
register_routes()
S
41 1 72
delete_item_permissions_check()
S
53 4 24
update_item_permissions_check()
S
53 4 24
render_item()
S
54 4 22
delete_item()
S
50 3 32
update_favorite_permissions_check()
S
60 4 13
get_activity_object()
S
60 4 13
get_item_permissions_check()
S
60 3 13
prepare_activity_comments()
S
62 3 12
get_user_favorites()
S
63 3 11
get_item()
S
56 2 20
get_items_permissions_check()
S
60 2 13
can_see()
S
72 1 6
__construct()
S
71 1 5