SLOC
simple tool to count SLOC (source lines of code)
...It supports typical developer conveniences such as glob patterns, file/directory ignores, and sensible defaults so you can drop it into existing workflows without fuss. Teams often wire sloc into build steps to watch trends, compare modules, or enforce thresholds before merging changes, making it a handy maintenance metric rather than a vanity number.