BP_REST_XProfile_Fields_Endpoint B

Total Complexity 80
Dependencies 7
Dependents 3
Total lines 1,224
Lines of code 734
Logical lines of code 208
Comment lines 358
Methods 22
Properties 0

Methods 22

Method Rating Maintainability Complexity Lines of code
update_item()
A
41 15 55
assemble_response_data()
A
43 8 48
get_item_schema()
A
33 2 138
set_additional_field_properties()
A
52 8 27
get_endpoint_args_for_item_schema()
S
45 6 42
get_items()
S
48 6 35
get_collection_params()
S
39 1 86
register_routes()
S
40 1 75
get_item()
S
50 4 29
create_item()
S
46 3 41
delete_item_permissions_check()
S
53 4 24
get_profile_field_rendered_value()
S
58 3 16
get_xprofile_field_object()
S
60 3 14
create_item_permissions_check()
S
60 3 13
delete_item()
S
53 2 23
get_profile_field_unserialized_value()
S
65 3 10
get_item_permissions_check()
S
60 2 13
get_items_permissions_check()
S
60 2 13
prepare_links()
S
57 1 17
prepare_item_for_response()
S
68 1 7
update_item_permissions_check()
S
75 1 4
__construct()
S
75 1 4