WPCOM_REST_API_V2_Endpoint_Admin_Menu A

Total Complexity 74
Dependencies 4
Dependents 0
Total lines 502
Lines of code 297
Logical lines of code 124
Comment lines 138
Methods 13
Properties 3

Methods 13

Method Rating Maintainability Complexity Lines of code
prepare_menu_item_url()
B
44 19 42
prepare_menu_item()
A
45 12 42
parse_menu_item()
A
48 10 35
prepare_menu_for_response()
S
55 6 20
prepare_menu_item_icon()
S
61 6 12
prepare_submenu_item()
S
54 5 20
get_item_schema()
S
43 1 65
hide_customizer_menu_on_block_theme()
S
58 4 15
prepare_dashicon()
S
65 4 9
get_item()
S
62 3 10
get_item_permissions_check()
S
64 2 10
register_routes()
S
61 1 14
__construct()
S
79 1 3