LOCCounter measure the lines of code (LOC) of a source file.
This tool works for a directory as well.
The latest version supports source files written in
Java/C/C++.
Metric
Name: Lines Of Code (LOC)
Description:
the line count of source code.
LOCCounter counts the number of lines except for
``blank lines'' and ``comment lines.''
Comment lines mean the lines that consist of comment statement only.