Example of CMT++ Report (file level summary form)
******************************************************************************
* CMT++, Complexity Measurement Tool for C/C++/C#, Version 6.0 *
* *
* COMPLEXITY MEASURES REPORT *
* *
* Copyright (c) 1993-2013 Testwell Oy *
* Copyright (c) 2013-2015 Verifysoft Technology GmbH *
******************************************************************************
This report was produced at Wed Aug 26 10:55:58 2015
Options: -s -o report-s.txt
Line Measured object v(G) LOCphy LOCpro c% V B MI
==============================================================================
60 stack.h 2 60 22 343 0.09 118
152 stack.cpp 5 152 49 972 0.41 143
18 demofile.h 1 18 12 - 156 0.04 142
41 demofile.cpp 11 41 33 - 620 0.22 120
OVERALL SUMMARY:
4 Files 0 Functions
Measure Alarmed % Limits Alarmed % Limits
=========================== ======================= ========================
Complexity (extended) v(G) 0 0 1-100 0 0 1-10
Program lines LOCpro 0 0 4-400 0 0 4-40
Comment % 2 50 30-75 0 0 30-75
Volume V 0 0 100-8000 0 0 20-1000
Estimated number of bugs B 0 0 0-2 0 0 n/a
Maintainability index MI 0 0 65- 0 0 65-
=========================== ======================= ========================
Total 2 8 0 0
Files: 4 LOCphy: 271 LOCbl: 45 LOCpro: 116 LOCcom: 113 ';': 51
v(G) : 16 MI without comments : 107 MI comment weight : 40 MI: 147