BP_REST_Groups_Endpoint C

Total Complexity 125
Dependencies 7
Dependents 5
Total lines 1,532
Lines of code 977
Logical lines of code 271
Comment lines 400
Methods 24
Properties 0

Methods 24

Method Rating Maintainability Complexity Lines of code
prepare_item_for_database()
C
38 32 60
prepare_links()
A
39 12 69
prepare_item_for_response()
A
35 10 89
get_item_schema()
A
29
3 189
get_items()
A
44 9 43
get_collection_params()
S
36 1 107
create_item()
S
47 5 38
get_endpoint_args_for_item_schema()
S
48 5 36
get_group_object()
S
58 6 16
get_current_user_groups()
S
47 4 39
register_routes()
S
39 1 83
delete_item_permissions_check()
S
51 4 30
update_item_permissions_check()
S
51 4 30
create_item_permissions_check()
S
58 5 15
get_item_permissions_check()
S
53 4 24
update_item()
S
52 3 26
can_see_hidden_groups()
S
64 4 10
delete_item()
S
54 2 23
can_see()
S
69 3 6
get_current_user_groups_permissions_check()
S
61 2 13
get_items_permissions_check()
S
60 2 13
can_user_delete_or_update()
S
78 2 3
get_item()
S
63 1 11
__construct()
S
75 1 4