Kubio_Menu_Rest_Controller S

Total Complexity 37
Dependencies 2
Dependents 1
Total lines 348
Lines of code 280
Logical lines of code 103
Comment lines 12
Methods 15
Properties 0

Methods 15

Method Rating Maintainability Complexity Lines of code
get_menu_items()
A
45 9 45
items_list_to_tree()
S
57 5 18
update_menu_items()
S
52 4 24
remove_deleted_items()
S
54 4 23
register_routes()
S
44 1 55
update_menu_term()
S
58 3 18
new_menu()
S
52 2 27
get_item()
S
56 2 19
update_item()
S
52 1 26
__construct()
S
77 1 4
get_item_schema()
S
76 1 4
get_permissions()
S
80 1 3
create_item()
S
82 1 3
get_items()
S
82 1 3
set_menu_to_location()
S
66 1 8