WP_REST_Menus_Controller B

Total Complexity 81
Dependencies 4
Dependents 0
Total lines 680
Lines of code 389
Logical lines of code 208
Comment lines 181
Methods 19
Properties 1

Methods 19

Method Rating Maintainability Complexity Lines of code
update_item()
A
44 12 44
create_item()
A
41 11 53
handle_auto_add()
S
55 7 19
handle_locations()
S
52 6 23
delete_item()
S
51 5 25
check_assign_locations_permission()
S
54 5 21
get_items_permissions_check()
S
59 5 13
prepare_item_for_response()
S
54 4 19
register_routes()
S
43 1 62
get_item_permissions_check()
S
59 4 13
create_item_permissions_check()
S
64 3 11
update_item_permissions_check()
S
64 3 11
check_set_auto_add_permission()
S
64 3 9
prepare_item_for_database()
S
64 3 9
get_menu_locations()
S
64 3 10
prepare_links()
S
60 2 13
get_item_schema()
S
55 1 20
get_term()
S
65 2 9
get_menu_auto_add()
S
71 1 5