codestat is a tool for static, lexical code statistics.
TODO:
-
read a source file into a source code object
-
the object will have to identify typenames, variable names, fuction names, etc.
-
and count the number of occurences within the source code for each lexical unit,
-
account their positions and the containing compile unit: file, class, function, etc.
-
make a more exact specification and documentation for this project