BP_REST_Components_Endpoint S

Total Complexity 34
Dependencies 3
Dependents 0
Total lines 489
Lines of code 248
Logical lines of code 88
Comment lines 179
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
get_items()
A
45 9 43
update_item()
A
44 6 52
get_items_permissions_check()
S
60 3 13
register_routes()
S
50 1 33
get_item_schema()
S
51 1 31
verify_component_status()
S
70 3 6
get_component_info()
S
61 2 13
activate_helper()
S
61 2 12
get_collection_params()
S
54 1 21
prepare_item_for_response()
S
67 2 7
__construct()
S
75 1 4
update_item_permissions_check()
S
75 1 4
deactivate_helper()
S
70 1 6
component_exists()
S
78 1 3