cloc

Counts blank lines, comment lines, and physical lines of source code in many programming languages
Download

cloc Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Al Danial
  • Publisher web site:
  • Operating Systems:
  • Mac OS X
  • File Size:
  • 231 KB

cloc Tags


cloc Description

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. It 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 FreeBSD, Mac, Linux, AIX, Solaris, IRIX64, z/OS, and Windows. 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 Mac OS X, FreeBSD, Linux, NetBSD, AIX, HP-UX, Solaris, IRIX64, and z/OS systems that have Perl 5.6 or higher. The source version runs on Windows with either ActiveState Perl or cygwin. Alternatively on Windows one can run the Windows binary which has no dependencies. Requirements: · Perl What's New in This Release: New options: · --help · --xls To improve viewing XML output · --exclude-list-file To exclude files that appear in a list file · --by-file-by-lang To produce output grouped both by files and by language Bug fixes: · Set previously uninialized variable when #! shell scripts have just one line Improvements: · Always ignore .svn/ and .cvs/ subdirectories. · Treat Perl POD as comments.


cloc Related Software