BP_REST_XProfile_Data_Endpoint S

Total Complexity 33
Dependencies 7
Dependents 0
Total lines 605
Lines of code 338
Logical lines of code 86
Comment lines 207
Methods 14
Properties 1

Methods 14

Method Rating Maintainability Complexity Lines of code
update_item()
A
45 7 42
get_item_permissions_check()
S
45 5 45
get_item_schema()
S
40 2 75
update_item_permissions_check()
S
50 4 32
delete_item()
S
48 3 36
register_routes()
S
46 1 44
prepare_item_for_response()
S
54 2 20
prepare_links()
S
58 2 15
can_see()
S
78 2 3
get_item()
S
63 1 11
__construct()
S
72 1 5
delete_item_permissions_check()
S
75 1 4
get_xprofile_field_object()
S
80 1 3
get_xprofile_field_data_object()
S
79 1 3