- Structural layer — language-opaque, AST-driven: LOC family, section tree, reading-path complexity, link/table/visual scaffolds, repository grounding, filler/lazy risk, review criticality.
- Prose layer — language-aware (English and Japanese): readability ensemble, lexical diversity, wording quality, JTF rules, textlint subset.
Code-style metrics like cyclomatic complexity, NOM, NPA, NPM, and WMC do not apply to Markdown —
prose has no functions, classes, or interfaces to score. mehen emits a Markdown-specific suite tailored
to prose, code blocks, and references.
Structural layer
Prose layer (opt-in, feature-gated)
See also
- PR comment design — how Markdown metric deltas surface on pull requests.
- Concepts → Output formats — Markdown vs. JSON shape.