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, typically at least 10,000 lines of code per second. 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.
* Includes method and function level metrics for C++, C, C#, VB.NET, Java, and Delphi.
* Offers Modified Complexity metric option.
* Saves metrics in checkpoints for comparison during software development projects.
* Displays and prints metrics in tables and charts, including Kiviat diagrams.
* Operates within a standard Windows GUI or inside your scripts using XML command files.
* Exports metrics to XML or CSV (comma-separated-value) files for further processing with other tools.
Changelog for this release:
All Version 2.5 bugs through number 136 have been fixed in this new version. Thanks to all SourceMonitor users who reported bugs and made suggestions for enhancements. Both are much appreciated. This version uses the same project file format as version 2.5.
The following enhancements were added to SourceMonitor version 2.6 (all are described in the new Help file) :
One new feature has been added: you can now specify use of a Modified Complexity metric. With this option, switch/Case Of statements count as one in the complexity total regarless of how many cases statements are present inside the switch/Case Of statement.
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 export of checkpoint Kiviat diagrams to files.