BP_REST_XProfile_Field_Groups_Endpoint S

Total Complexity 50
Dependencies 5
Dependents 0
Total lines 893
Lines of code 498
Logical lines of code 141
Comment lines 293
Methods 18
Properties 1

Methods 18

Method Rating Maintainability Complexity Lines of code
update_item()
A
45 7 44
get_items()
A
47 7 39
get_collection_params()
S
38 1 93
get_xprofile_field_group_object()
S
51 5 30
create_item()
S
47 4 40
get_item_schema()
S
42 2 65
get_endpoint_args_for_item_schema()
S
57 5 16
prepare_item_for_response()
S
52 4 24
delete_item()
S
50 3 32
register_routes()
S
45 1 50
create_item_permissions_check()
S
60 3 13
get_item()
S
56 2 20
prepare_links()
S
62 1 12
get_items_permissions_check()
S
79 1 3
get_item_permissions_check()
S
75 1 4
update_item_permissions_check()
S
75 1 4
delete_item_permissions_check()
S
75 1 4
__construct()
S
72 1 5