Free source code line counter for Coldfusion (and most other languages)
Hopefully gone are the days when programmers work was measured in the number of lines of code they produced! Any programmer knows this is in fact entirely the worst possible measurement of a programmers skill, the same result in half the code almost invariably means better, more easily maintained code.
Every so often howevert it’s useful to know the size of a code base you are working on so it gives you some idea of the scale of work that may be required, at this stage you need a free source code line counter, and having looked recently the best one I found was one called CLOC – short for Count Lines of Code.
Amazingly fast, great language coverage, and awesome reporting. With a single line of code I get a break down of all the programming languages in use, and how many lines of source code exist for each.
On Windows it’s as simple as:
cloc-1.51 --by-file-by-lang "C:\path-to-folder-requiring-count" --out="C:\path-to-ouput\count.txt"
Check it out: http://cloc.sourceforge.net
Enjoy!
Did you enjoy this post? Why not leave a comment below and continue the conversation, or subscribe to my feed and get articles like this delivered automatically to your feed reader.

Comments
No comments yet.
Leave a comment