Skip to content
| Marketplace
Sign in
Visual Studio>Tools>NDepend
NDepend

NDepend

Zen Program

|
44,187 clicks
| (24) | Free Trial
NDepend is a Visual Studio and Azure DevOps extension, a GitHub action and a standalone tool for .NET Code Quality and Security. NDepend.AI steers your coding agent to fix issues at scale.
Get Started

AI Fix Issues: NDepend drives your coding agent: Pick the issues to fix, and NDepend.AI steers your coding agent (Claude Code, GitHub Copilot CLI, Codex...) round after round, at scale. It fixes the issues, writes tests, rebuilds and runs them, measures coverage and checks quality gates, until the goal is reached. The Final Report shows what changed: issues fixed, technical debt paid off, tests added, coverage gained, quality gates improved and the architecture before and after. On eShopOnWeb: 496 of 511 issues fixed, +531 tests, coverage up from 45% to 98%.

Video: Watch NDepend AI Fix Issues in action (5mn)

AI-Fix-Report3.png

Review every AI fix, method by method: An AI reviews each changed method against its original version, and unintended behavior changes are caught and restored. In the side-by-side diff, each fixed issue comes with its rule, the explanation of the fix, the coverage gained and the tests (new and existing) that run the changed code. You stay in control of what gets merged.

See it live: browse the AI Assistant report on eShopOnWeb and all NDepend sample reports.

AI-Fix-Source-Change3.png

Also from your own AI tools: the NDepend MCP Server: With the open-source NDepend.MCP.Server, any MCP-enabled AI assistant can fix issues, generate code queries and rules, and use NDepend features through natural language.

ndepend-mcp-fix.gif

Make your .NET code beautiful with NDepend: Measure quality with metrics, see the design with diagrams and enforce your decisions with code rules, right into Visual Studio.

dashboard_visual_studio.png

Get meaningful reports about your code with NDepend: Integrate NDepend into your CI/CD (all technologies supported: Azure DevOps, GitHub Actions, TeamCity, Jenkins, Bamboo, AppVeyor...) and share detailed reports that reflect the status of your code base, including the diff since the baseline.

ndepend-report-source-file-list.png

ndepend-report-source-file.png

ndepend-report-2023.png

Reports can also be generated on Linux and macOS with NDepend running on .NET 10, as explained here.

logo-windows-macos-linux-201x64.png

Import Roslyn Analyzers and ReSharper Code Inspections issues: On top of its built-in code rules engine, NDepend imports the issues found by your favorite Roslyn Analyzers and ReSharper Code Inspections. All your issues sit in one place, making NDepend a complete solution for .NET code quality and security.

Resharper-And-Roslyn-Analyzers.png

.NET Software Composition Analysis (transitive): NDepend monitors the GitHub Security Advisories for NuGet packages and warns you in plain English when your application depends, directly or transitively, on a vulnerable package version.

image.png

Visualize code dependencies with NDepend: Browse and understand complex code architecture, and get advice on how to better structure your application. Both a live Dependency Graph and a live Dependency Structure Matrix (DSM) are provided, and they scale to very large applications.

Dependency-Graph-Navigation-Bar.png

Scale-On-Large-Application-NDepend.gif

matrix_visual_studio.png

Only NDepend offers Smart Technical Debt Estimation live in Visual Studio: Code rules are C# LINQ queries that also hold the formulas estimating each issue's cost-to-fix and severity. Customizing rules and writing your own couldn't be easier.

debt_visual_studio.png

Powerful Azure DevOps extension: Quality is checked both in Visual Studio and in your Continuous Integration pipeline (more on this extension here).

Quality Gates check:

  • A Quality Gate is a code quality fact that must be enforced before releasing and, ideally, before committing to source control.
  • A dozen default Quality Gates continuously check measures such as overall Code Coverage by tests or extra Technical Debt since baseline.
  • With NDepend, a Quality Gate is a C# LINQ query, easy to customize and to create. This unique approach gives you the flexibility to enforce what really matters for your organization.

Prevent code smells with static analysis focused on recent changes:

  • NDepend is the only tool that offers a baseline in Visual Studio. It estimates the Technical Debt progress since the baseline.
  • Recent code smells, the ones to fix before committing to source control, are highlighted in Visual Studio. They get fixed before they even reach the source server.
  • As a result, Code Quality stays under control with no major upfront investment.

dashboard_visual_studio__1.png

Explore the technical debt and the issues: Code, diff, progress, issues, rules status: with NDepend, Code as Data is a reality. Everything can be queried live in Visual Studio.

query_edition_visual_studio.png

Monitor trends and evolution with NDepend: Visualize your team's progress through the most relevant code metrics, plotted on interactive trend charts.

Explore your application's code coverage by tests with NDepend: The metric view shows two metrics at once, for example # lines of code and % code coverage. It is a unique way to explore code coverage and see where in your code base more tests are needed. Coverage data can be imported from Visual Studio coverage tooling, JetBrains dotCover, NCover, OpenCover and Cobertura.

treemap_visual_studio.png

Benefits of using NDepend:

  • Code maintainability improves, which boosts the productivity of development teams.
  • Over time, developers learn the rules to follow and their skills improve.
  • Architects anticipate the impact of code changes. The right decisions are taken early.
  • Quality is checked automatically and continuously, with a strong focus on recent changes, both in Visual Studio and in your DevOps pipeline: the team builds better code.
  • Your coding agent fixes issues at scale under NDepend's guidance, and the entropy measurably decreases.
  • Executives gain control over costs and risks, with light shed on the development facts and trends that matter most.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft