Cloc 0.76 reviewDownload
Cloc counts blank lines, comment lines, and physical lines of source code in many programming languages
Cloc counts blank lines, comment lines, and physical lines of source code in many programming languages. Cloc project is written entirely in Perl using only modules from the standard distribution of Perl v5.6 and higher (well, sort of) and so is quite portable.
Cloc is known to run on many flavors of Linux, AIX, Solaris, IRIX64, z/OS, and Windows. (To run the Perl source version of cloc on Windows one needs ActiveState Perl 5.6.1 or higher, or Cygwin installed.
Here are some key features of "Cloc":
Exists as a single, self-contained file that requires minimal installation effort---just download the file and run it.
Can read language comment definitions from a file and thus potentially work with computer languages that do not yet exist.
Allows results from multiple runs to be summed together by language and by project.
Can count code within compressed archives (tar balls, Zip files, Java .ear files).
Has numerous troubleshooting options.
Handles file and directory names with spaces and other unusual characters.
Has no dependencies outside the standard Perl distribution.
Runs on Linux, FreeBSD, NetBSD, AIX, HP-UX, Solaris, IRIX64, and z/OS systems that have Perl 5.6 or higher. Runs on Windows with or without Perl.
What's New in This Release:
Changes for Visual Basic
ignore .vbw extension (autogenerated)
count .cls extension
ignore lines that start with 'Attribute'
Improved output formatting for --by_file option
Cloc 0.76 keywords