WP_REST_Menu_Locations_Controller S

Total Complexity 24
Dependencies 4
Dependents 1
Total lines 261
Lines of code 156
Logical lines of code 58
Comment lines 73
Methods 10
Properties 0

Methods 10

Method Rating Maintainability Complexity Lines of code
prepare_item_for_response()
S
53 6 21
prepare_links()
S
52 5 25
register_routes()
S
49 1 36
get_item_permissions_check()
S
63 3 9
get_item_schema()
S
52 1 28
get_items()
S
62 2 11
get_item()
S
61 2 11
get_items_permissions_check()
S
69 2 6
__construct()
S
77 1 4
get_collection_params()
S
73 1 5