Mit “CLOC” getaggte Einträge von rainboxx - Matthias Dietrich
Ever wanted to count the lines of code you’ve written in a project? I guess you have and you may came to a solution that was build by yourself. It worked, but not more.
Today I stumbled upon CLOC — Count Lines of Code — that is a small Perl programm which does a fair good job at counting, recognizing comments, empty lines and so on. It also finds out in which language each file is written (by file extensions). There are also plenty of options to ignore folders (like .git or externals) or files by regex (like single Javascript libraries).
A simple check looks like this:
Check out this project on sourceforge and give it a try. Installing is painless: Just download the file and you’re done! http://cloc.sourceforge.net.

Feed dieses Blogs abonnieren
Neueste Kommentare
Philipp on Schade: kein erweiterter Heise-Newsfeed: Hi, ich wü
Ano Nym on Schade: kein erweiterter Heise-Newsfeed: Ich würde
Jonas on Schade: kein erweiterter Heise-Newsfeed: Ich wäre a
mots on Schade: kein erweiterter Heise-Newsfeed: Ich würd d
Bastian on Zwei Jahre ist es her...: Hej, willk
Heiko W. Rupp on PostgreSQL und Volltextsuche: Im letzten
Josef on Schade: kein erweiterter Heise-Newsfeed: Würde mich
Martin on Schade: kein erweiterter Heise-Newsfeed: ich reihe
Guido on Schade: kein erweiterter Heise-Newsfeed: Dich hätte