# Assemblies

Trend Metric Trend Metrics / Code Size

Counts all application assemblies, showing per assembly the all technical-debt and issues (of the assembly and its child namespaces, types and members).

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="# Assemblies" Unit="Assemblies" />
from a in Application.Assemblies
select new {
   a,
   Debt = a.AllDebt(),
   Issues = a.AllIssues(),
   a.NbLinesOfCode
}

//<Desc>
// Counts all application assemblies, showing per assembly the **all**
// technical-debt and issues (of the assembly and its child namespaces,
// types and members).
//</Desc>

Trend Metrics / Code Size: all 22 items