Code Analysis: Royal MCP 1.2.2

Most Complex Functions

Function Rating Complexity
Royal_MCP\MCP\Server::execute_tool()
D
91
Royal_MCP\Admin\Settings_Page::sanitize_settings()
C
28
Royal_MCP\Platform\Registry::get_platforms()
B
1
Royal_MCP\Platform\Registry::test_connection()
B
17
Royal_MCP\Platform\Registry::get_auth_headers()
A
14
Royal_MCP\Admin\Settings_Page::render_platform_fields()
A
10
Royal_MCP\MCP\Server::handle_post_message()
A
12
Royal_MCP\MCP\Client::send_request()
A
12
Royal_MCP\API\REST_Controller::update_post()
A
11
Royal_MCP\MCP\Server::process_method()
A
9
Royal_MCP\API\REST_Controller::update_page()
A
9
Royal_MCP\MCP\Server::handle_mcp()
A
8