The freeware program SourceMonitor lets you see inside your software source code to find out how much code you have and to identify the relative complexity of your modules. For example, you can use SourceMonitor to identify the code that is most likely to contain defects and thus warrants formal Review. SourceMonitor, written in C++, runs through your code at high speed. SourceMonitor provides the following:
Collects metrics in a fast, single pass through source files.
Measures metrics for source code written in C++, C, C#, VB.NET, Java, Delphi, Visual Basic (VB6) or HTML.
Saves metrics in checkpoints for comparison during software development projects.
Displays and prints metrics in tables and charts.
Operates within a standard Windows GUI or inside your scripts using XML command files.
Exports metrics to XML or CSV files for further processing with other tools.
NEW:
One new feature has been added: you can now specify the type of comment to ignore at the beginning and end of source files (normal comments, DOC comments, or both). This feature applies only to languages that have a DOC comments metric (currently VB.NET and C#).
A number of improvements have been made to the various language parsers, both to fix bugs and to handle new language features.
The command line script language has been extended to provide more control over the creation and export of checkpoints.