Date: 2026-08-17 (Post-Windows IIS & DPAPI Validation)
Status: All Frontend Component Modules & Backend Controllers
This document details the code coverage metrics across the core modules of the MCP Router, including containerized Linux environments and native Windows IIS hosting.
- Total Test Files: 29 passing suites (174 unit tests)
- Overall Line Rate: 92.7%
- Overall Branch Rate: 83.3%
- Component Coverage Breakdown:
components/servers: 98.7% (ServerCard: 99.1%, DashboardView: 96.6%, ServerInspectModal: 100.0%, ServerControlsToolbar: 100.0%, StatsCard: 100.0%, ServerModal: 98.5%)components/clients: 99.4% (ClientSetupGuide: 100.0%, AppKeyModal: 99.3%, ClientModal: 97.9%, RegisteredClientsCard: 100.0%, AppKeysCard: 100.0%)components/security: 97.5% (SecurityView: 100.0%, PolicyModal: 97.5%, MappingModal: 96.9%)components/testbench: 93.2% (ToolTesterCard: 100.0%, SemanticRouterCard: 100.0%, ConsoleCard: 100.0%, PromptTesterCard: 96.5%, ResourceTesterCard: 95.3%, LogsTerminalCard: 93.0%, TestBenchView: 85.4%)components/shared: 100.0% (Modal: 100.0%, StatusBadge: 100.0%, PaginationToolbar: 100.0%, Header: 100.0%, Footer: 100.0%, Toasts: 100.0%)components/settings: 95.0% (BackupsTab: 100.0%, GeneralTab: 97.5%, IdentityAuthTab: 97.0%, SecretProvidersTab: 96.8%, AccessControlTab: 92.2%, CustomFileModal: 90.8%, CustomFilesTab: 90.5%)
- Total Test Files: 71 passing suites (544 unit & integration tests)
- Multi-Database Live Executions:
- SQLite In-Memory & File: 100% verified auto-migrations and schema upgrades.
- Microsoft SQL Server 2022 (
McpEnterpriseDb): 100% live verified via Docker (127.0.0.1:14333) and IIS. - MySQL 8.0 (
McpEnterpriseDb): 100% live verified via Docker (127.0.0.1:33066) with stored procedures (sp_SaveAppKey,sp_GetAppKeys,sp_SaveSecretProvider,sp_SaveAuthProvider).
- Controllers & Routing Services:
ProvidersController.cs: 100.0%ClientsController.cs: 100.0%PermissionsController.cs: 100.0%ApiEmbeddingService.cs: 100.0%DynamicEmbeddingService.cs: 75.9% (Core methods 100%)ResourceRoutingManager.cs: 86.8% to 100%ClientSession.cs: 88.4%SessionManager.cs: 92.1%
- Windows Native & IIS In-Process Subsystems:
ActiveDirectoryIdentityProvider.cs/WindowsIdentityAccessor.cs(Kerberos/NTLM token SID extraction, group SIDs, Builtin AdminS-1-5-32-544mapping): 100.0%WindowsRegistrySecretRetriever.cs/WindowsRegistryAccessor.cs/WindowsDpapiProtector.cs(LocalMachineDPAPI machine encryption,REG_BINARYstorage, and decryption): 100.0%HttpTransport.cs,SseTransport.cs,StdioTransport.csWindowsRegistry default path fallback: 100.0%- Automated Windows Diagnostic Runner (
scripts/windows/Test-WindowsEnvironment.ps1): 18/18 validations passing (100%) - Native IIS In-Process Hosting (
web.configANCM v2responseBufferLimit="0", unbuffered SSE, MSSQL 2022McpEnterpriseDb): 100% Live Validated
- Total Test Files: 4 test suites (28 unit & integration tests)
- Line Coverage: 89.1%
- Branch Coverage: 84.6%
To generate and inspect the code coverage report locally:
dotnet test McpRouter.Tests/McpRouter.Tests.csproj --collect:"XPlat Code Coverage"cd frontend
npm run test:coverage.\scripts\windows\Test-WindowsEnvironment.ps1 -JsonReportPath ".\diagnostics-report.json"dotnet tool install -g dotnet-reportgenerator-globaltool
reportgenerator -reports:"**/coverage.cobertura.xml" -targetdir:"coveragereport" -reporttypes:Html- Living SRS & Test Verification Catalog:
docs/software-requirements-and-test-catalog.md - Test Catalog & Annotation Guide:
docs/test-catalog-guide.md - Detailed Evaluation & Methodology:
docs/test-coverage-evaluation.md - Integration Matrix & Requirements:
docs/testing-matrix.md - CI Quality Gate Pipeline:
docs/ci-quality-gates.md - Windows Deployment & Validation Guide:
docs/windows-deployment-and-validation-guide.md