Counting lines of code with cloc - Linux Tutorials - Learn Linux Configuration

Are you working on a project and need to submit your progress, statistics or perhaps you need to calculate a value of your code? cloc is a powerful tool that allows you to count all lines of your code, exclude comment lines and white space and even sort it by programming language.


This is a companion discussion topic for the original entry at https://linuxconfig.org/counting-lines-of-code-with-cloc