Do you know any type of tool, possibly for Linux and open source, that can be used to extract statistics from C/C++ source code files.
Apart from the number of lines, I would be interested in:
and so on.
I use CLOC (http://cloc.sourceforge.net/) for counting lines of code, blank lines and comments. However CLOC does not interpret the code and thus cannot count classes, declarations etc.
And one should probably mention that this kind of statistics is considered meaningless by most people...