Linux Today: Linux News On Internet Time.





More on LinuxToday


Counting lines of code with cloc

Jul 16, 2014, 11:00 (3 Talkback[s])

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.

cloc is available for all major Linux distributions. To install cloc on your system simply install cloc package from system's package repository:

Complete Story