WP_REST_Menu_Locations_Controller S

Total Complexity 25
Dependencies 4
Dependents 1
Total lines 263
Lines of code 157
Logical lines of code 59
Comment lines 73
Methods 10
Properties 0

Methods 10

Method Rating Maintainability Complexity Lines of code
prepare_links()
S
51 6 26
prepare_item_for_response()
S
53 6 21
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