Adding Code Metrics to Project Pages with havCodeMetrics
April 28, 2026 · 1 min read
I've added a code metrics section to some of my project pages. Projects like Network Crisis now show how many lines of code they contain and which languages are used, excluding external dependencies.
The metrics are generated by havCodeMetrics, a TUI tool I built in C++23 using havTermKit, inspired by cloc.
The tool is still a work in progress, but the core functionality is already there. I may release it publicly in the future.
Current state of havCodeMetrics:
You might also notice that my more recent projects include fewer comments than older ones. This is because I've started writing more self-documenting code. Whether that's a good idea, only time will tell.