OverviewLOC Calculator is a simple Java based tool for calculating lines of code of source files. Features include:
Scans a single file or a directory. Option to recursively scan entire directory. Option to ignore white spaces. Ignores binary files. DownloadThe tool can be downloaded from the downloads area. Download the binary package.
PrerequisitesA JRE version of 1.5 or higher is needed to run this tool
Running the toolOpen the terminal and run the binary:
java -jar loc-calculator-1.1.jarOR
If jar files are associated to open with Java, then you can double click the loc-calculator jar to run it.