I recently had the requirement to count the number of lines of code for each application that we maintain.

Obviously I didn't want to do this manually … it would have been way to time consuming … so I began searching for solutions.

While looking around I came across a fantastic command line tool called CLOC (Count Lines of Code) on github. This utility does exactly what it says on the tin – it parses your code file to counts the lines of code.

CLOC Screenshot
Continue reading