Code Rule and Code Query
Hundreds of default code rules to check against best practices. Support for Code Query over C# LINQ (CQLinq) to easily customize rules and query code.
Our harness, your agent. NDepend.AI hands the issues found by NDepend to Claude Code, Codex, GitHub Copilot CLI or Junie, and verifies every fix with a build, the impacted tests and a new analysis. On eShopOnWeb: 496 of 511 issues fixed, 531 tests added, coverage from 45% to 98%.
Discover NDepend.AI See the 6 run reports
Most companies have large systems that work together, often in mysterious ways. NDepend's in-depth reporting and toolset can help your company enforce its own coding standards and maintain complex projects.
Hundreds of default code rules to check against best practices. Support for Code Query over C# LINQ (CQLinq) to easily customize rules and query code.
Explore how the code is actually structured and shed light on architectural flaws thanks to the most powerful code dependency graph and dependency matrix available in the tool industry.
Your coding agent asks NDepend: the open-source MCP server gives it the issues, rules, quality gates, dependencies and metrics of your code, to fix NDepend rules, Roslyn Analyzers and R# Code Inspections issues while you steer.
A unique approach to continuously keep the technical debt under control and reimburse it with time.
Integrate NDepend analysis into your CI / CD pipeline and obtain interactive and detailed web reports to explore progression and prevent code quality degradation.
Fail the build pipeline upon customizable PASS / WARN / FAIL code quality and security criteria.
Gain a 360 view of your .NET code quality by importing your preferred Roslyn Analyzers' issues and ReSharper Code Inspections' issues into the NDepend web report and UI.
NDepend allows your team to accurately gauge the overall health of your application, no matter how complex it is.
Lines of Code, Cyclomatic Complexity, Coupling, Nesting Depth, Rank, NDepend supports them all (and much more).
Get Trend Charts about pretty much any code metrics to master the evolution of your application.
Import test coverage data, and make the most of it in the NDepend feature-rich context.
NDepend's reporting and analysis helps architects and developers to communicate and reduce confusion.
Spot too complex code at a glance thanks to unique diagramming capabilities.
Compare two versions of a code base and its issues set, and browse diff and changes in any way you can think of.
Be warned of potential build process problems before they end up causing friction and pain.
By mapping out the structure of the project, it is much easier to see how components and dependencies are connected.
Get rid of dependency cycles between components to achieve higher code maintainability.
NDepend helps maintaining clean side-effects free code to write highly maintainable products.
Integrate with Visual Studio, Azure DevOps, GitHub and any other CI/CD pipeline, super fast and lightweight analysis, NDepend is conceived for real-world programmers.
Write your own static analyzer based on NDepend.API, or tweak existing open-sources Power Tools.
Explore the issues-set in a few clicks and focus your effort on what is urgent and important.
For each issue, the cost to fix and the severity are estimated through smart and customizable C# formulas. Thus estimations proposed are realistic.
A coding agent like Claude Code, OpenAI Codex, GitHub Copilot CLI or JetBrains Junie can fix real issues in your code. NDepend.AI steers your agent with NDepend: it hands the agent the issues found by NDepend rules (vulnerabilities, code smells, new issues since the baseline, or any rule or query you pick), and checks every fix with a build, the impacted tests and a new analysis. Hundreds of issues get fixed unattended, and you review one report at the end.
Every number comes from the run report, an AI Assistant tab of the NDepend web report: see this report live, and the reports of the 5 other runs, including Jellyfin at large scale: 1,521 issues fixed in one run.
where i.Severity >= Severity.High
The AI Assistant menu offers one-click commands: Fix Vulnerabilities, Fix New Issues and Fix Code Smells, and an AI Fix Issues button shows up whenever a rule or a code query matches issues. The same run is available as a command line and as a settings file, ready for your CI/CD pipeline, on Windows, Linux and macOS.
NDepend.AI also writes, refines and fixes CQLinq code queries and rules from a request in natural language.