Product Features

NDepend is a .NET tool that provides deep insight into code bases. The tool empowers developers, architects and executives to make intelligent decisions on projects. The community name it the "Swiss Army Knife" for .NET programmers.

Easily Manage Large Projects

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.

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.

Powerful Dependency Graph and Matrix

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.

Smart Technical Debt Estimation

For each issue, the cost to fix and the severity are estimated through smart and customizable C# formulas. Thus estimations proposed are realistic.

Continuous .NET Code Quality and Security

A unique approach to continuously keep the technical debt under control and reimburse it with time.

Interactive Web Report

Integrate NDepend analysis into your CI / CD pipeline and obtain interactive and detailed web reports to explore progression and prevent code quality degradation.

 

Quality Gates

Fail the build pipeline upon customizable PASS / WARN / FAIL code quality and security criteria.

 

Import Roslyn and ReSharper Issues

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.

Monitor the Health of Your Application

NDepend allows your team to accurately gauge the overall health of your application, no matter how complex it is.

Trend Monitoring

Get Trend Charts about pretty much any code metrics to master the evolution of your application.

Reduce Friction Between Your Developer Teams

NDepend's reporting and analysis helps architects and developers to communicate and reduce confusion.

Code Diff since Baseline

Compare two versions of a code base and its issues set, and browse diff and changes in any way you can think of.

Working with Legacy Code is Now Easier

By mapping out the structure of the project, it is much easier to see how components and dependencies are connected.

Real-World Proof

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.

See how NDepend can change the way your company creates software.
Click below to download your 14 day trial

Download free trial.

Or you can see how to get started with NDepend and explore its in-depth documentation.

Get Started

Code Diff since Baseline

Focusing on code changes since a baseline from Visual Studio (4 minutes)

Code evolution and code maintenance are some of the most prominent characteristics of software engineering. Nowadays Visual Studio relies mostly on Git to to explore code changes. But there is an impedance mismatch : Git and others Source Control Manager deals with textual changes while Visual Studio deals with code: Source Control Managers don't distinguish between comments change, formatting change, code in method refactored, type added, method visibility change or field removed.

NDepend comes with some advanced code evolution and code diff features that can distinguish between code change (like method behavior changed) and text change (like comment changed). These features are not meant to compete with or replace the Source Control Manager. Instead these NDepend features can be used as a complementary handy tool to track changes with a focus on code quality related changes.

Some properties of NDepend diff are:

  • The NDepend code diff feature is based on the concept of baseline: the current analysis result is compared against an older analysis result, which constitutes the baseline.
  • Since NDepend v2019.3 NDepend zips source files parsed. This way source diff can be performed against the baseline out-of-the-box, no upfront configuration is needed.
  • Diff can be queried. This way some rules can be enforced for code diff like the rules in the group API Breaking Changes and Code Smells Regression. More on querying diff in this documentation.
  • The tool used to diff sources is by default Visual Studio, but any other source diff tool like WinMerge can be plugged from NDepend > Options > Source File Compare Tool.

Related Links::
Code Diff since Baseline from within Visual Studio
Reporting Code Diff
Avoid API breaking changes
Changes Map