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.
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.
For each issue, the cost to fix and the severity are estimated through smart and customizable C# formulas. Thus estimations proposed are realistic.
A unique approach to continuously keep the technical debt under control and reimburse it with time.
Quality Gates are C# LINQ (CQLinq) queries that implement PASS/FAIL criteria to code quality.
Explore the issues-set in a few clicks and focus your effort on what is urgent and important.
Import test coverage data, and make the most of it in the NDepend feature-rich context.
NDepend allows your team to accurately gauge the overall health of your application, no matter how complex it is.
Get Trend Charts about pretty much any code metrics to master the evolution of your application.
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.
NDepend's reporting and analysis helps architects and developers to communicate and reduce confusion.
Integrate NDepend analysis into your build process and get highly customized and detailed reports to see progression and prevent code quality degradation.
Spot too complex code at a glance thanks to unique diagramming capabilities.
Lines of Code, Cyclomatic Complexity, Coupling, Nesting Depth, Rank, NDepend supports them all (and much more).
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.
Full Visual Studio and Azure DevOps integration, super fast and lightweight analysis, integration within all CI/DevOps systems, NDepend is conceived for real-world programmers.
Write your own static analyzer based on NDepend.API, or tweak existing open-sources Power Tools.
Writing automatic tests is a central practice to increase code correctness. Knowing which part of the code is covered by automatic tests helps improving tests and consequently, it helps increasing code correctness.
NDepend gathers code coverage data from NCover, NCrunch OpenCover, dotCover and Visual Studio. From this data, NDepend infers some metrics on methods, types, namespaces and assemblies : PercentageCoverage, NbLinesOfCodeCovered, NbLinesOfCodeNotCovered and BranchCoverage (from NCover and OpenCover only).
These metrics can be used conjointly with others NDepend features. For example you can know what code have been added or refactored since the last release and is not thoroughly covered by tests. You can write a CQLinq rule to continuously check that a set of classes is 100% covered. You can list which complex methods need more tests.
Another unique usage of code coverage data in NDepend is visualizing code coverage through the code metric view. See a screenshot below of the metric view on the NDepend code base:
This represents a unique way to understand the code coverage of the application, and see where more effort is needed.
Related Links::
NDepend and Code Coverage FAQ