Complexity Measures Tool

[Français][Deutsch]

Testwell CMT++ / Integration to Visual Studio

CMT++ can be used directly from the Microsoft Visual Studio 5.0/6.0 IDE for measuring the source code of the current project. The usage is simple. The starting point is that you have some project that you work on, i.e. in the Visual Studio environment you have some project selected as current project.

On the Visual Studio Tools menu you click on "CMT++..." (see the picture below)

Starting CMT++ from Visual Studio GUI

CMT++ selection in the Tools menu
 

You end up to the normal CMT++ Graphical User Interface, but so that the files-to-be-measured area is pre-filled with the source files of the current Visual Studio project (see the picture below).

CMT++ Visual Sudio GUI

In the CMT++ GUI you can select the report type and options you wish. You can also select more files to measuring or drop off some files from measuring.

Finally when you click on the "Run" button, the report is produced and the viewer on it is started (if asked for).

If you select that the report shall be written to stdout, the report (which here needs to be of textual short tabular form) is actually written to the Visual Studio Output Window. Further the report lines are slightly modified so that they start with "filename (linenumber)" way. Then by just double-clicking on the line in the Output Window, the corresponding file and line will be shown in the Visual Studio Source Window for your easy review.  See the next picture on how this looks.

CMT++ report to Visual Studio

The CMT++ Integration to Visual Studio provides you an outstandingly simple and fast way to measure your C/C++ project. Normally the basic short CMT++  report form is produced. You can browse the complexity measures report in the message window and with one mouse click you can visit the functions/classes/files in the source window.


last updated: 27.06.2007

© 2005 Testwell Oy
CTA++, CTC++, CMT++ and CMTJava are products of Testwell Oy, Tampere (Finland)
all other trademarks of this site are the property of their respective owners.