Free Software Foundation!

Join now


From Free Software Directory
Jump to: navigation,

'SLOCCount' is a set of tools for counting physical Source Lines of Code (SLOC) in a large number of languages. It can measure 19 different languages, including C, C++, Perl, LISP/Scheme, and Python (A complete list is available on the home page). SLOCCount includes a number of heuristics, so it can detect many files that don't use the ``standard extensions. Conversely, it can successfully detect files that have a standard extension but aren't really that type. It also know how to correctly handle various languages. For example, SLOCCount examines assembly language files, determines the comment scheme, and then correctly counts the lines automatically.


User's guide available from


LicenseVerified byVerified onNotes
GPLv2Janet Casey4 January 2001

Leaders and contributors

David A. Wheeler Maintainer

Resources and communication

Audience Resource type URI
Bug Tracking,Developer,Support E-mail

Software prerequisites

This entry (in part or in whole) was last reviewed on 19 March 2008.


Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.

The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.

Personal tools