Debt

Quality Gate Quality Gates

Disabled per default: acceptable Debt thresholds in man-days depend on project size, team and context. Refer to Percentage Debt instead.

Debt = sum of estimated effort to fix all issues. Debt documentation: https://www.ndepend.com/docs/technical-debt#Debt

CQLinq source

This quality gate is written in CQLinq, C# LINQ over the NDepend code model. It ships with every new NDepend project: you can read it, adapt it, or use it as a starting point for your own custom rules.

// <QualityGate Name="Debt" Unit="man-days" />
failif value > 50 man-days
warnif value > 30 man-days
Issues.Sum(i => i.Debt).ToManDay()

//<Desc>
// Disabled per default: acceptable Debt thresholds in man-days depend on
// project size, team and context. Refer to **Percentage Debt** instead.
//
// Debt = sum of estimated effort to fix all issues.
// Debt documentation: https://www.ndepend.com/docs/technical-debt#Debt
//</Desc>

Quality Gates: all 19 items