The software is capable of reading language comment definitions, count code within compressed archives, offers several troubleshooting options, gathers results from multiple runs together by project and by language, and handles directory and file names with unusual characters or spaces.
The Cloc program offers a wide range of command-line options, which can be viewed at a glance by running the ‘cloc --help’ command in a terminal emulator. The commands are organized in various categories, such as input options, processing options, filter options, debug options, as well as output options.
Among the most interesting command-line options, we can mention the ability to report results for every source file, to process all the files that have a specific extension, to use custom langguage processing filters, as well as to ignore horizontal white space when comparing files.
Getting started with Cloc
As mentioned, Cloc is a very simple application that does not even require installation. To use it, simply download the latest version from Softpedia using the dedicated download button on the right, save the archive on your computer, unpack it, open a terminal emulator app, navigate to the location of the extracted archive files (e.g. cd /home/softpedia/cloc-1.62) and run the ‘cloc’ command.
Under the hood and supported operating systems
Taking a look under the hood of Cloc, we can notice that the software is written entirely in the Perl programming langauge and it is a supported under GNU/Linux, Solaris, AIX, z/OS, IRIX64, and Microsoft Windows operating systems. Both 32-bit (x86) and 64-bit (x86_64) hardware architectures are supported at this time.
Reviewed by Marius Nestor, last updated on December 16th, 2014
In a hurry? Add it to your Download Basket!
- New Languages:
Application descriptionCloc (Count Lines Of Code) is a simple, easy-to-use, free and open source command-line software written in the Perl pr...