cloc (Count Lines Of Code) counts, and computes differences of, comment lines, blank lines, and physical lines of source code in many programming languages.
- Count lines of code, comments, blanks in many programming languages.
- Compute differences in lines of code and comments between two versions of a code base.
Nice. Does a simple but clean job.