|
CCCC Software Metrics Report
generated Wed Apr 30 22:21:46 2008 | |
|---|---|
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 | 2 | |
| Lines of Code | LOC | 1714 | 857.000 |
| McCabe's Cyclomatic Number | MVG | 302 | 151.000 |
| Lines of Comment | COM | 794 | 397.000 |
| LOC/COM | L_C | 2.159 | |
| MVG/COM | M_C | 0.380 | |
| 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 | 361 |
| Module Name | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
| anonymous | 1344 | 302 | 435 | 3.090 | 0.694 |
| short | 0 | 0 | 0 | ------ | ------ |
| Module Name | WMC1 | WMCv | DIT | NOC | CBO |
|---|---|---|---|---|---|
| anonymous | 149 | 20 | 0 | 0 | 0 |
| short | 0 | 0 | 0 | 0 | 0 |
| Module Name | Fan-out | Fan-in | IF4 | vis | con | inc | vis | con | incl | vis | con | inc |
|---|---|---|---|---|---|---|---|---|---|
| anonymous | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| short | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Location | Text | LOC | COM | MVG |
|---|---|---|---|---|
android_vmm.c:1 |
<file scope items> | 66 | 36 | 0 |
mm.c:1 |
<file scope items> | 1 | 0 | 0 |
stdio.c:1 |
<file scope items> | 3 | 1 | 0 |
string.c:1 |
<file scope items> | 1 | 1 | 0 |
translate-all.c:1 |
<file scope items> | 36 | 19 | 0 |
dis-asm.h:1 |
<file scope items> | 163 | 144 | 0 |
inttypes.h:274 |
__BEGIN_DECLS typedef struct | 5 | 22 | 0 |
mm.h:1 |
<file scope items> | 10 | 3 | 0 |
stdio.h:1 |
<file scope items> | 1 | 0 | 0 |
stdlib.h:35 |
__BEGIN_DECLS typedef union | 5 | 28 | 0 |
stdlib.h:94 |
__BEGIN_NAMESPACE_STD typedef struct | 5 | 7 | 0 |
string.h:28 |
__BEGIN_DECLS __BEGIN_NAMESPACE_STD extern | 5 | 21 | 0 |
string.h:45 |
__END_NAMESPACE_STD extern void | 4 | 3 | 0 |
string.h:68 |
__END_NAMESPACE_STD extern void | 3 | 2 | 0 |
string.h:82 |
__BEGIN_NAMESPACE_STD extern char | 3 | 1 | 0 |
string.h:112 |
__END_NAMESPACE_STD extern int | 3 | 4 | 0 |
string.h:150 |
__BEGIN_NAMESPACE_STD extern char | 3 | 3 | 0 |
string.h:157 |
__END_NAMESPACE_STD extern char | 3 | 2 | 0 |
string.h:166 |
__BEGIN_NAMESPACE_STD extern size_t | 3 | 2 | 0 |
string.h:186 |
__END_NAMESPACE_STD extern char | 5 | 2 | 0 |
string.h:225 |
__BEGIN_NAMESPACE_STD extern size_t | 3 | 1 | 0 |
string.h:239 |
__BEGIN_NAMESPACE_STD extern char | 2 | 1 | 0 |
string.h:242 |
__END_NAMESPACE_STD extern int | 4 | 9 | 0 |
string.h:304 |
__extension__ extern int | 2 | 0 | 0 |
string.h:410 |
__END_DECLS <EOF> <EOF> | 1 | 20 | 0 |
string.h:1 |
<file scope items> | 3 | 2 | 0 |
vmstate.h:1 |
<file scope items> | 18 | 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.