BP_REST_Activity_Endpoint D

Total Complexity 147
Dependencies 5
Dependents 0
Total lines 1,606
Lines of code 984
Logical lines of code 325
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
create_item()
A
39 11 66
prepare_links()
A
42 11 58
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
prepare_activity_comments()
S
62 3 12
get_user_favorites()
S
63 3 11
get_item()
S
56 2 20
get_item_permissions_check()
S
61 2 13
can_see()
S
72 1 6
get_items_permissions_check()
S
79 1 3
__construct()
S
75 1 4