|
CCCC Software Metrics Report
generated Sun Jun 8 19:33:33 2014 | |
|---|---|
Project Summary |
Summary table of high level measures summed over all files processed in the current run. |
Procedural Metrics Summary |
Table of procedural measures (i.e. lines of code, lines of comment, McCabe's cyclomatic complexity summed over each module. |
Object Oriented Design |
Table of four of the 6 metrics proposed by Chidamber and Kemerer in their various papers on 'a metrics suite for object oriented design'. |
Structural Metrics Summary |
Structural metrics based on the relationships of each module with others. Includes fan-out (i.e. number of other modules the current module uses), fan-in (number of other modules which use the current module), and the Information Flow measure suggested by Henry and Kafura, which combines these to give a measure of coupling for the module. |
Other Extents |
Lexical counts for parts of submitted source files which the analyser was unable to assign to a module. Each record in this table relates to either a part of the code which triggered a parse failure, or to the residual lexical counts relating to parts of a file not associated with a specific module. |
About CCCC |
A description of the CCCC program. |
| Metric | Tag | Overall | Per Module |
|---|---|---|---|
| Number of modules | NOM | 12 | |
| Lines of Code | LOC | 465 | 38.750 |
| McCabe's Cyclomatic Number | MVG | 42 | 3.500 |
| Lines of Comment | COM | 89 | 7.417 |
| LOC/COM | L_C | 5.225 | |
| MVG/COM | M_C | 0.472 | |
| Information Flow measure ( inclusive ) | IF4 | 0 | 0.000 |
| Information Flow measure ( visible ) | IF4v | 0 | 0.000 |
| Information Flow measure ( concrete ) | IF4c | 0 | 0.000 |
| Lines of Code rejected by parser | REJ | 17 |
| Module Name | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
| Control | 24 | 5 | 6 | 4.000 | 0.833 |
| Demo | 136 | 13 | 20 | 6.800 | 0.650 |
| I_Control | 9 | 0 | 4 | ------ | ------ |
| KheperaSimGUI | 249 | 23 | 47 | 5.298 | 0.489 |
| QCloseEvent | 0 | 0 | 0 | ------ | ------ |
| QMainWindow | 0 | 0 | 0 | ------ | ------ |
| QString | 0 | 0 | 0 | ------ | ------ |
| QWidget | 0 | 0 | 0 | ------ | ------ |
| anonymous | 30 | 1 | 7 | 4.286 | ------ |
| bool | 0 | 0 | 0 | ------ | ------ |
| ptrfunc | 0 | 0 | 0 | ------ | ------ |
| string | 0 | 0 | 0 | ------ | ------ |
| Module Name | WMC1 | WMCv | DIT | NOC | CBO |
|---|---|---|---|---|---|
| Control | 5 | 5 | 1 | 0 | 1 |
| Demo | 7 | 7 | 1 | 0 | 2 |
| I_Control | 5 | 5 | 0 | 2 | 2 |
| KheperaSimGUI | 23 | 0 | 1 | 0 | 7 |
| QCloseEvent | 0 | 0 | 0 | 0 | 1 |
| QMainWindow | 0 | 0 | 0 | 1 | 1 |
| QString | 0 | 0 | 0 | 0 | 1 |
| QWidget | 0 | 0 | 0 | 0 | 1 |
| anonymous | 23 | 2 | 0 | 0 | 0 |
| bool | 0 | 0 | 0 | 0 | 1 |
| ptrfunc | 0 | 0 | 0 | 0 | 1 |
| string | 0 | 0 | 0 | 0 | 2 |
| Module Name | Fan-out | Fan-in | IF4 | vis | con | inc | vis | con | incl | vis | con | inc |
|---|---|---|---|---|---|---|---|---|---|
| Control | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 |
| Demo | 0 | 0 | 0 | 2 | 2 | 2 | 0 | 0 | 0 |
| I_Control | 2 | 2 | 2 | 0 | 0 | 0 | 0 | 0 | 0 |
| KheperaSimGUI | 0 | 0 | 0 | 7 | 5 | 7 | 0 | 0 | 0 |
| QCloseEvent | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 |
| QMainWindow | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 |
| QString | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 |
| QWidget | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 |
| anonymous | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| bool | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 |
| ptrfunc | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 |
| string | 2 | 2 | 2 | 0 | 0 | 0 | 0 | 0 | 0 |
| Location | Text | LOC | COM | MVG |
|---|---|---|---|---|
control.cpp:1 |
<file scope items> | 2 | 0 | 0 |
demo.cpp:1 |
<file scope items> | 4 | 1 | 0 |
kheperasimgui.cpp:1 |
<file scope items> | 4 | 0 | 0 |
main.cpp:1 |
<file scope items> | 1 | 0 | 0 |
control.h:1 |
<file scope items> | 1 | 1 | 0 |
demo.h:1 |
<file scope items> | 1 | 1 | 0 |
i_control.h:1 |
<file scope items> | 1 | 1 | 0 |
kheperasimgui.h:23 |
I_Control :: * | 1 | 0 | 0 |
kheperasimgui.h:25 |
slots : void | 2 | 1 | 0 |
This report was generated by the program CCCC, which is FREELY REDISTRIBUTABLE but carries NO WARRANTY.
CCCC was developed by Tim Littlefair. as part of a PhD research project. This project is now completed and descriptions of the findings can be accessed at http://www.chs.ecu.edu.au/~tlittlef.
User support for CCCC can be obtained by mailing the list cccc-users@lists.sourceforge.net.
Please also visit the CCCC development website at http://cccc.sourceforge.net.