Annual Interest

Quality Gate Quality Gates

Disabled per default: acceptable Annual-Interest thresholds in man-days depend on project size, team and context. Refer to New Annual Interest since Baseline instead.

Annual-Interest = estimated annual cost in man-days to leave all issues unfixed; computed per issue by a rule formula, or from a Severity level via thresholds in Project Properties > Issue and Debt > Annual Interest. Annual Interest documentation: https://www.ndepend.com/docs/technical-debt#AnnualInterest

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="Annual Interest" Unit="man-days" />
failif value > 50 man-days
warnif value > 30 man-days
Issues.Sum(i => i.AnnualInterest).ToManDay()


//<Desc>
// Disabled per default: acceptable Annual-Interest thresholds in man-days
// depend on project size, team and context. Refer to
// **New Annual Interest since Baseline** instead.
//
// Annual-Interest = estimated annual cost in man-days to leave all issues
// unfixed; computed per issue by a rule formula, or from a **Severity** level
// via thresholds in *Project Properties > Issue and Debt > Annual Interest*.
// Annual Interest documentation: https://www.ndepend.com/docs/technical-debt#AnnualInterest
//</Desc>

Quality Gates: all 19 items