Skip to main content
mehen reports three families of source-code metrics, all computed from the language analyzer’s parse tree. Every metric is described on its own page with the canonical formula, what mehen emits, and links to authoritative references.

Size

The umbrella is described on the LOC family page.

Complexity

Function and class shape

Spaces

Every metric is also reported per space — the language-aware container for a function, method, class, trait, or module. See Concepts → Spaces for how containers nest and how metric aggregation rolls up to the file.

Markdown is separate

Markdown documentation gets its own metric family — DMI, MRPC, MCC, link debt, filler/lazy risk, etc. — because functions, classes, and statements do not exist in prose. See Markdown metrics.

History is separate too

How a file changed over time — churn, code age, ownership, hotspots, change coupling, bug risk — is the history.* family, computed from repository history rather than from the parse tree. See History metrics.