|
CCCC Software Metrics Report
generated Sun May 07 23:50:37 2006 | |
|---|---|
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 | 11 | |
| Lines of Code | LOC | 404 | 36.727 |
| McCabe's Cyclomatic Number | MVG | 99 | 9.000 |
| Lines of Comment | COM | 479 | 43.545 |
| LOC/COM | L_C | 0.843 | |
| MVG/COM | M_C | 0.207 | |
| 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 | 10 |
| Module Name | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
| AppHandleEvt | 110 | 30 | 66 | 1.667 | 0.455 |
| Err | 0 | 0 | 0 | ------ | ------ |
| EventPtr | 0 | 0 | 0 | ------ | ------ |
| EventType | 0 | 0 | 0 | ------ | ------ |
| FormPtr | 0 | 0 | 0 | ------ | ------ |
| Int32 | 0 | 0 | 0 | ------ | ------ |
| NetControls | 245 | 59 | 273 | 0.897 | 0.216 |
| NetIPAddr | 0 | 0 | 0 | ------ | ------ |
| UInt16 | 0 | 0 | 0 | ------ | ------ |
| UInt32 | 0 | 0 | 0 | ------ | ------ |
| anonymous | 39 | 10 | 102 | 0.382 | 0.098 |
| Module Name | WMC1 | WMCv | DIT | NOC | CBO |
|---|---|---|---|---|---|
| AppHandleEvt | 4 | 0 | 0 | 0 | 2 |
| Err | 0 | 0 | 0 | 0 | 1 |
| EventPtr | 0 | 0 | 0 | 0 | 1 |
| EventType | 0 | 0 | 0 | 0 | 1 |
| FormPtr | 0 | 0 | 0 | 0 | 1 |
| Int32 | 0 | 0 | 0 | 0 | 1 |
| NetControls | 10 | 0 | 0 | 0 | 7 |
| NetIPAddr | 0 | 0 | 0 | 0 | 1 |
| UInt16 | 0 | 0 | 0 | 0 | 2 |
| UInt32 | 0 | 0 | 0 | 0 | 1 |
| anonymous | 4 | 0 | 0 | 0 | 0 |
| Module Name | Fan-out | Fan-in | IF4 | vis | con | inc | vis | con | incl | vis | con | inc |
|---|---|---|---|---|---|---|---|---|---|
| AppHandleEvt | 0 | 0 | 0 | 2 | 1 | 2 | 0 | 0 | 0 |
| Err | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 |
| EventPtr | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 |
| EventType | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 |
| FormPtr | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 |
| Int32 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 |
| NetControls | 0 | 0 | 0 | 7 | 6 | 7 | 0 | 0 | 0 |
| NetIPAddr | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 |
| UInt16 | 2 | 2 | 2 | 0 | 0 | 0 | 0 | 0 | 0 |
| UInt32 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 |
| anonymous | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Location | Text | LOC | COM | MVG |
|---|---|---|---|---|
AppHandleEvt.cpp:1 |
<file scope items> | 0 | 0 | 0 |
AppMain.cpp:1 |
<file scope items> | 1 | 1 | 0 |
NetControls.cpp:1 |
<file scope items> | 9 | 37 | 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.