WPCOM_REST_API_V2_Endpoint_Admin_Menu A

Total Complexity 68
Dependencies 3
Dependents 0
Total lines 472
Lines of code 279
Logical lines of code 117
Comment lines 131
Methods 12
Properties 3

Methods 12

Method Rating Maintainability Complexity Lines of code
prepare_menu_item_url()
B
44 18 40
prepare_menu_item()
A
45 12 42
parse_menu_item()
S
50 7 29
prepare_menu_for_response()
S
55 6 20
prepare_dashicon()
S
60 6 13
prepare_menu_item_icon()
S
60 6 12
prepare_submenu_item()
S
54 5 20
get_item_schema()
S
43 1 65
get_item()
S
61 3 11
get_item_permissions_check()
S
64 2 10
register_routes()
S
61 1 14
__construct()
S
79 1 3