-
Home
-
Gutenberg
-
9.7.3
-
Code
-
Classes
- WP_REST_Menu_Items_Controller
Total Complexity |
150 |
Dependencies |
3 |
Dependents |
0 |
Total lines |
1,194 |
Lines of code |
822 |
Logical lines of code |
350 |
Comment lines |
211 |
Methods |
18 |
Properties |
0 |
Methods 18
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
prepare_item_for_database() |
D |
21 |
52 |
186 |
prepare_item_for_response() |
C |
31 |
29 |
97 |
get_item_schema() |
A |
27 |
5 |
202 |
create_item() |
A |
44 |
10 |
44 |
update_item() |
A |
45 |
10 |
42 |
prepare_links() |
A |
50 |
9 |
27 |
check_assign_terms_permission() |
A |
54 |
8 |
21 |
register_routes() |
S |
40 |
2 |
70 |
delete_item() |
S |
51 |
5 |
24 |
prepare_items_query() |
S |
58 |
4 |
16 |
get_item_permissions_check() |
S |
63 |
4 |
10 |
get_collection_params() |
S |
50 |
1 |
32 |
get_menu_id() |
S |
66 |
3 |
8 |
get_items_permissions_check() |
S |
62 |
3 |
10 |
get_schema_links() |
S |
57 |
1 |
18 |
get_nav_menu_item() |
S |
67 |
2 |
8 |
get_post() |
S |
80 |
1 |
3 |
__construct() |
S |
76 |
1 |
4 |