gloc
is yet another code counter, with some differences and enhancements compared to similar utilities.
Most importantly, it simply groups files based on their file extension, unlike other code counters that group files based on the - oftentimes incorrect - language of their content (as determined by whatever "language detection" heuristics these tools may use).
Further differences and enhancements:
- it doesn't ignore files just because it doesn't recognise them (ie. cannot correctly determine or guess their language)
- in a git repo, it processes
$( git ls-files )
by default