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 it to identify the code that is most likely to contain defects and thus warrants formal review. It, written in C++, runs through your code at high speed.
It parses ASCII source code looking for countable metrics items. As these items are identified, their counts are accumulated for each source code file, and within each function or method. These metrics are then accumulated into summary metrics for all files in each checkpoint. Thus each file has a set of metric counts as does each checkpoint.
When you save a project, all of the counts for all files and checkpoints is saved in a project file. This file's name is the project's name with the extension ".smp" appended. You can specify the location on your disk where this project file is saved - either with the source code, with the SourceMonitor.exe executable, or in another directory of your choosing. Note that the project file has a proprietary format that is ill suited to very large projects.
SourceMonitor displays metrics counts in list views. The Project View displays a summary of the metrics for all files in each checkpoint in a project. The Checkpoint View displays the metrics values for each file in a checkpoint. The Method View displays metrics for all of the methods in a checkpoint or a selected subset of a checkpoint's files. Any number of these views can be open simultaneously. In addition, a history chart displays the changes over time for one metric in a project. A frequency chart displays the distribution of the counts across all files in a checkpoint or for the methods in a Method View. Finally, a details display contains all data collected on a checkpoint or file, including names and/or line numbers associated with metrics parameters when available. You can export the metrics data compiled by it to files in either CSV (comma-separated-value) or XML format.


SourceMonitor Features:
1. Collects metrics in a fast, single pass through source files.
2. Measures metrics for source code written in C++, C, C#, VB.NET, Java, Delphi, Visual Basic (VB6) or HTML.
3. Includes method and function level metrics for C++, C, C#, VB.NET, Java, and Delphi.
4. Offers Modified Complexity metric option.
5. Saves metrics in checkpoints for comparison during software development projects.
6. Displays and prints metrics in tables and charts, including Kiviat diagrams.
7. Operates within a standard Windows GUI or inside your scripts using XML command files.
8. Exports metrics to XML or CSV (comma-separated-value) files for further processing with other tools.



Keywords:SourceMonitor , software, source code , modules,C++, ASCII source code,code file, function, checkpoint, directory , history chart,NET, Java, Delphi, Visual Basic, HTML,software development projects, Kiviat diagrams,Windows GUI ,XML command files., Exports metrics , CSV , tools