What mehen emits
Derived ratios
Each component /max(1, DLOC) produces a ratio:
ArtifactLineRatioCodeLineRatioTableLineRatioMathLineRatioBlankLineRatio
Worked example
References
- Park, R. E. (1992). Software Size Measurement: A Framework for Counting Source Statements. CMU/SEI-92-TR-20 — the standard reference for LOC categorization that this Markdown family extends to prose / code / table / math / blank lines. SEI report.
- CommonMark Spec: Container blocks and leaf blocks — the parser-level distinctions the per-construct counts rely on.
See also
- Effective Content Units — review-mass normalization that uses these counts.
- Section tree — per-section LOC aggregation.