Metrics
TangleGuard also includes key architectural metrics — giving you visibility into the health and maintainability of your system.
Metrics include:
- Coupling (efferent and afferent)
 - Layer violations over time
 - Instability indicators
 
For a full list of supported metrics, check the scanner metrics section.
Design Principle Metrics
Section titled “Design Principle Metrics”These metrics help evaluate responsibility, stability, and resistance to change in your modules.
In addition to dependency graphs, the scanner calculates architecture-focused metrics to help evaluate code structure and modularity.
These are based on foundational work by Robert C. Martin and John Lakos.
Metrics by Robert C. Martin
Section titled “Metrics by Robert C. Martin”| Metric | Description | 
|---|---|
| Afferent Coupling (Ca) | Number of packages that depend on a given package | 
| Efferent Coupling (Ce) | Number of other packages a package depends on | 
| Instability (I) | Ce / (Ce + Ca) — measures how likely a package is to change | 
Metrics by John Lakos Coming soon
Section titled “Metrics by John Lakos ”| Metric | Description | 
|---|---|
| Depends Upon / Used From (V) | Basic inbound/outbound dependency counts | 
| Cumulative Component Dependency (CCD) | Total transitive dependencies | 
| Average Component Dependency (ACD) | CCD / amount_of_components | 
| Relative ACD (RACD) | (ACD / amount_of–components) * 100 | 
| Normalized CCD (NCCD) | CCD normalized against a reference baseline |