CCCC Software Metrics Report | |
---|---|
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. |
Procedural Metrics Detail |
The same procedural metrics as in the procedural metrics summary, reported for individual functions, grouped by 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. |
Structural Metrics Detail |
The names of the modules included as clients and suppliers in the counts for the Structural Metrics Summary. |
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 | 5 | |
Lines of Code | LOC | 47 | 9.400 |
McCabe's Cyclomatic Number | MVG | 0 | 0.000 |
Lines of Comment | COM | 93 | 18.600 |
LOC/COM | L_C | 0.505 | |
MVG/COM | M_C | ------ | |
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 | 3 |
Module Name | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
FP | 5 | 0 | 0 | ------ | ------ |
Hugo | 11 | 0 | 9 | ------ | ------ |
Hugo_2 | 11 | 0 | 8 | ------ | ------ |
InlFunc | 7 | 0 | 43 | ------ | ------ |
anonymous | 1 | 0 | 6 | ------ | ------ |
A
definition prn3.cc:93 | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
No member functions have been identified for this module | |||||
FP
definition prn3.cc:77 | LOC | MVG | COM | L_C | M_C |
No member functions have been identified for this module | |||||
Hugo
definition prn3.cc:156 | LOC | MVG | COM | L_C | M_C |
Hugo( ) declaration prn3.cc:159 | 1 | 0 | 0 | ------ | ------ |
~Hugo( ) declaration prn3.cc:160 | 1 | 0 | 0 | ------ | ------ |
Hugo_2
definition prn3.cc:134 | LOC | MVG | COM | L_C | M_C |
Hugo_2( ) declaration prn3.cc:137 | 1 | 0 | 0 | ------ | ------ |
~Hugo_2( ) declaration prn3.cc:138 | 1 | 0 | 0 | ------ | ------ |
InlFunc
definition prn3.cc:47 | LOC | MVG | COM | L_C | M_C |
InlFunc( ) declaration prn3.cc:50 | 1 | 0 | 0 | ------ | ------ |
getFunc( ) declaration prn3.cc:52 | 1 | 0 | 0 | ------ | ------ |
~InlFunc( ) declaration prn3.cc:51 | 1 | 0 | 0 | ------ | ------ |
anonymous
| LOC | MVG | COM | L_C | M_C |
getInt( ) declaration prn3.cc:76 | 1 | 0 | 6 | ------ | ------ |
Module Name | WMC1 | WMCv | DIT | NOC | CBO |
---|---|---|---|---|---|
FP | 0 | 0 | 0 | 0 | 0 |
Hugo | 2 | 2 | 0 | 0 | 0 |
Hugo_2 | 2 | 2 | 0 | 0 | 0 |
InlFunc | 3 | 3 | 0 | 0 | 0 |
anonymous | 1 | 0 | 0 | 0 | 0 |
Module Name | Fan-out | Fan-in | IF4 | vis | con | inc | vis | con | incl | vis | con | inc |
---|---|---|---|---|---|---|---|---|---|
FP | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Hugo | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Hugo_2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
InlFunc | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
anonymous | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Module Name | Clients | Suppliers |
---|---|---|
FP | ||
Hugo | ||
Hugo_2 | ||
InlFunc | ||
anonymous |
Location | Text | LOC | COM | MVG |
---|---|---|---|---|
prn3.cc:1 |
<file scope items> | 3 | 21 | 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.