Azure Coverage Analyzer
Azure DevOps Code Coverage & AI Compliance Analyzer for Visual Studio Code.
Map Azure DevOps test cases to your source code, measure coverage, and run
AI-assisted compliance reviews — all from inside VS Code.
Features
- Test Plan tree view — browse Azure DevOps Test Plans, Suites, and Test
Cases directly in the VS Code activity bar.
- Workspace coverage analysis — pick test cases and analyze the current
workspace folder; results are mapped to file/class/method.
- Optional file targeting — narrow analysis to a single file by name,
with automatic fallback to the full workspace if not found.
- AI compliance review — every scanned source file is reviewed for code
quality, security, and best-practice issues.
- Multi-format reports — generate HTML, PDF, CSV, and JSON reports for
every analysis run.
- Connect once — credentials are saved securely via the VS Code
SecretStorage API.
Commands
All commands are available from the Command Palette under Azure Coverage:
| Command |
Description |
Coverage Analyzer: Connect |
Save Azure DevOps + GitHub credentials |
Coverage Analyzer: Validate Connections |
Re-test saved credentials |
Coverage Analyzer: Analyze Workspace |
Run analysis against the open folder |
Coverage Analyzer: Run Analysis |
Run analysis with custom options |
Coverage Analyzer: Open Report |
Open the most recent report |
Coverage Analyzer: Refresh Test Plans |
Reload the Test Plan tree |
Coverage Analyzer: Configure |
Edit default project / output / formats |
Activity Bar Views
The Azure Coverage activity bar contains three tree views:
- Test Plan — Plans → Suites → Test Cases (cascading from Azure DevOps)
- Analysis Jobs — recent analysis runs with status
- Coverage Results — per-file coverage from the latest run
Setup
- Run Coverage Analyzer: Connect from the Command Palette.
- Provide:
- Azure DevOps organization URL (e.g.
https://dev.azure.com/your-org)
- Azure DevOps Personal Access Token with Test Plans (Read) and
Code (Read) scopes
- GitHub token for AI compliance review
- The Test Plan tree will populate. Right-click a test case (or run the
Analyze Workspace command) to start an analysis.
Configuration
| Setting |
Description |
azureCoverage.orgUrl |
Default Azure DevOps organization URL |
azureCoverage.project |
Default project name |
azureCoverage.outputDir |
Where generated reports are saved |
azureCoverage.defaultFormats |
Report formats to generate (any of html, pdf, csv, json) |
Requirements
- VS Code 1.85.0 or newer
- An Azure DevOps account with at least one Test Plan
- Azure DevOps Personal Access Token
Privacy
- Credentials are stored using VS Code's SecretStorage API — they never
leave your machine.
- Azure DevOps API calls are made directly from your VS Code instance to
dev.azure.com.
- Source code is analyzed locally; only file contents sent for AI compliance
review leave your machine (and only to the AI provider you configure).
License
MIT — see the LICENSE file bundled with this extension.
| |