David A. Wheeler's Blog

Mon, 10 May 2004

SLOCCount 2.24 Released!

I’ve just released SLOCCount version 2.24. SLOCCount is a set of tools for automatically counting physical Source Lines of Code (SLOC) in a large number of languages of a potentially large set of programs. This suite of tools was used in my papers More than a Gigabuck: Estimating GNU/Linux’s Size and Estimating Linux’s Size to measure the SLOC of entire GNU/Linux distributions. Others have measured Debian GNU/Linux using this tool suite. SLOCCount runs on GNU/Linux, FreeBSD, Windows, Apple Mac OS X (as of this version), and hopefully on other systems too.

Version 2.24 introduces a few minor bugfixes and improvements. Now SLOCCount automatically tries to use several different MD5 programs, until it finds one that works - this is more flexible, and as a result, it now works out-of-the-box on Apple Mac OS X. SLOCCount now accepts “.” as the directory to analyze, it correctly identifies wrapper scripts left by libtool as automatically generated code, and it correctly identifies debian/rules files as makefiles. Also, installation documentation has improved. My thanks to Jesus M. Gonzalez-Barahona for telling me about the Debian bug reports and testing of candidate versions. My thanks to Koryn Grant, who told me what needed to be done to get SLOCCount running on Mac OS X (and for testing my change). This version resolves Debian Bug reports #173699, #159609, and #200348.

path: /oss | Current Weblog | permanent link to this entry