http://invisible-island.net/
Copyright © 1996-2011,2013 by Thomas E. Dickey
c_count counts lines, statements, other simple measures of C/C++ source programs. It isn't lex/yacc based, and is easily portable to a variety of systems.
I originally wrote this in 1983, calling it lincnt after an earlier metrics utility. The current name is easier to remember.
See the CHANGES for details.