Cloc is an open-source, cross-platform command-line tool that’s super handy for counting lines in your source code. It was built using Perl and is designed to help programmers count blank lines, physical lines, and comment lines easily. Plus, it works with a bunch of different programming languages!
This software can read language comment definitions and even count code inside compressed archives. It also has some cool troubleshooting options. You can gather results from multiple runs organized by project and language, and it can handle files with weird characters or spaces in their names.
The Cloc program packs a lot of punch when it comes to command-line options! If you want to see all the commands available, just type ‘cloc --help’ in your terminal emulator. The commands are neatly categorized into input options, processing options, filter options, debug options, and output options.
Among the coolest command-line features are the ability to report results for each source file individually, process files with specific extensions, use custom language filters, and ignore horizontal white space when comparing files.
The best part? Cloc is super simple! You don’t even have to install it. Just download the latest version from Softpedia. Save the archive on your computer, unpack it, fire up a terminal emulator app, navigate to where you saved it (like cd /home/softpedia/cloc-1.62), and run the ‘cloc’ command.
If you're curious about its background, Cloc is fully written in Perl and works on various operating systems like GNU/Linux, Solaris, AIX, z/OS, IRIX64, as well as Microsoft Windows. Whether you're on a 32-bit or 64-bit machine (x86 or x86_64), you’re covered!
Go to the Softpas website, press the 'Downloads' button, and pick the app you want to download and install—easy and fast!
SoftPas is your platform for the latest software and technology news, reviews, and guides. Stay up to date with cutting-edge trends in tech and software development.
Subscribe to newsletter
© Copyright 2024, SoftPas, All Rights Reserved.