# Issues with severity Critical
A Critical issue shouldn't move to production (it can for business imperatives) but must be fixed during the next iterations. Severity is inferred from the issue annual interest and thresholds in Project Properties > Issue and Debt.
CQLinq source
This trend metric 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.
// <TrendMetric Name="# Issues with severity Critical" Unit="issues"/>
from issue in Issues
where issue.Severity == Severity.Critical
select new { issue, issue.Debt, issue.AnnualInterest, issue.Severity }
//<Desc>
// A **Critical** issue shouldn't move to production (it can for business
// imperatives) but must be fixed during the next iterations.
// Severity is inferred from the issue *annual interest* and thresholds in
// Project Properties > Issue and Debt.
//</Desc>
Open in the interactive Rules Explorer · All default rules