[Software] LocMetrics - Measure Source Lines of Code (SLOC)

Software · Posted on

There are a number of ways to measure the size of computer programs. One of the well-known method to measure the size of the program is Lines of Code (Loc). In this article, we will introduce LocMetrics, a software tool to measure source lines of code.

2021-02-07_20-53-54.png

The overall user interface of LocMetrics is as above. After choosing the directory where the project source code to measure is in, you just need to click "Count Loc" button to measure the lines of code. The program supports measuring C#, C++, Java, and SQL codes, but users can add other programming languages such as Python (*.py) or JavaScript (*.js).

Please note that after clicking "Count LOC", the tool creates measuring result report files to the source code directory as shown below. You can change the directory to generate reports by filling out the Output Directory (optional).

2021-02-07_20-58-00.png

The program generate analyzed reports using pie charts and tables as shown below.

2021-02-07_20-59-42.png

The definition of the abbreviation terms are as below.

  • Lines of Code (LOC)
  • Blank Lines of Code (BLOC)
  • Source Lines of Code-Physical (SLOC-P): Physically executable source lines of code
  • Source Lines of Code-Logical (SLOC-L): Logically executable source lines of code

Since the author's website (http://locmetrics.com/) is not working, here is the download link: LocMetrics.zip

Posted by chlee

0 Comments

Post a comment

Security Code