Skip to content
CAI
Produce a survey ↗Verify a survey

WhatsApp/erlfmt

This system is an Erlang code formatter named erlfmt, designed to automatically format Erlang source code according to a strict, opinionated style guide. It provides a command-line interface to format files, check for style compliance, and handle edge cases like comments and Unicode. The project also includes comprehensive documentation of the formatter's design decisions and empirical analysis of comment usage across major Erlang codebases to justify its formatting rules.

67.6

Adequate · 6 August 2026

3.6k

lines of production code

Erlang

primary language

2

bus factor · 26 authors in all

3

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

Survey your own repository

WhatsApp/erlfmt was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point the surveyor at a repository you know and see whether you agree with it.

Survey a repository

About this page

  • The description of this project is derived from its own commit history, not from its README.
  • The score is its highest published measurement, taken on 6 August 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 7017592afe — the exact code this score is about.
  • Scored under rubric rubric-2026.08.19. Score the same commit under that rubric and you get the same number.
CAI link cards