# Blocker/Critical/High Issues

Trend Metric Trend Metrics / Issues

Number of Blocker, Critical or High issues. A Blocker issue cannot move to production. A Critical issue shouldn't (it can for business imperatives) but must be fixed during the next iterations. A High issue should be fixed quickly, but can wait until the next scheduled interval.

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="# Blocker/Critical/High Issues" Unit="issues"/>
from issue in Issues 
where issue.Severity.EqualsAny(Severity.Blocker, Severity.Critical, Severity.High)
select new { issue, issue.Debt, issue.AnnualInterest, issue.Severity }

//<Desc>
// Number of Blocker, Critical or High issues. A **Blocker** issue cannot
// move to production. A **Critical** issue shouldn't (it can for business
// imperatives) but must be fixed during the next iterations. A **High**
// issue should be fixed quickly, but can wait until the next scheduled
// interval.
//</Desc>

Trend Metrics / Issues: all 11 items