Blank lines are whitespace-only physical lines — no code, no comment.Documentation Index
Fetch the complete documentation index at: https://mehen.ophi.dev/llms.txt
Use this file to discover all available pages before exploring further.
What mehen emits
| Key | Type | Description |
|---|---|---|
loc.blank | int | Whitespace-only lines. |
How it is computed
A line counts towardloc.blank when its full physical text is empty or whitespace-only. Lines that
contain only a comment do not count as blank — they count toward CLOC.
When it is useful
- Whitespace ratio — a high blank-line ratio sometimes indicates excessive vertical separation, often in generated code.
- Identity check —
sloc == ploc + cloc + blankshould hold (within the rules of how mixed lines are attributed). If it doesn’t, that’s a parser bug.
References
- Park, R. E. (1992). Software Size Measurement: A Framework for Counting Source Statements. CMU/SEI-92-TR-20. SEI report.
See also
- LOC family — overview.
- SLOC, PLOC, CLOC.