CCCC Software Metrics Report
generated Fri Mar 2 13:09:36 2012 | |
---|---|
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 | 30 | |
Lines of Code | LOC | 1235 | 41.167 |
McCabe's Cyclomatic Number | MVG | 89 | 2.967 |
Lines of Comment | COM | 252 | 8.400 |
LOC/COM | L_C | 4.901 | |
MVG/COM | M_C | 0.353 | |
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 | 22 |
Module Name | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
BorderLayout | 137 | 30 | 40 | 3.425 | 0.750 |
DragItem | 127 | 12 | 24 | 5.292 | 0.500 |
DragScene | 132 | 30 | 23 | 5.739 | 1.304 |
DragView | 3 | 0 | 0 | ------ | ------ |
DrawArea | 33 | 4 | 0 | ****** | ------ |
MainWindow | 265 | 0 | 39 | 6.795 | ------ |
MarkerBox | 15 | 2 | 1 | ------ | ------ |
OptionsDialog | 115 | 0 | 38 | 3.026 | ------ |
Position | 0 | 0 | 0 | ------ | ------ |
QContextMenuEvent | 0 | 0 | 0 | ------ | ------ |
QGraphicsItem | 0 | 0 | 0 | ------ | ------ |
QGraphicsSceneMouseEvent | 0 | 0 | 0 | ------ | ------ |
QLayoutItem | 0 | 0 | 0 | ------ | ------ |
QObject | 0 | 0 | 0 | ------ | ------ |
QPainter | 0 | 0 | 0 | ------ | ------ |
QRect | 0 | 0 | 0 | ------ | ------ |
QRectF | 0 | 0 | 0 | ------ | ------ |
QString | 0 | 0 | 0 | ------ | ------ |
QStyleOptionGraphicsItem | 0 | 0 | 0 | ------ | ------ |
QWidget | 0 | 0 | 0 | ------ | ------ |
ShapeType | 0 | 0 | 0 | ------ | ------ |
SizeType | 0 | 0 | 0 | ------ | ------ |
TabManager | 9 | 0 | 0 | ------ | ------ |
TestIcon | 12 | 0 | 14 | ------ | ------ |
Toolbar | 131 | 1 | 26 | 5.038 | ------ |
anonymous | 7 | 1 | 1 | ------ | ------ |
bool | 0 | 0 | 0 | ------ | ------ |
ellipse | 107 | 3 | 20 | 5.350 | ------ |
icon | 41 | 6 | 0 | ****** | ****** |
shapes | 79 | 0 | 9 | 8.778 | ------ |
Module Name | WMC1 | WMCv | DIT | NOC | CBO |
---|---|---|---|---|---|
BorderLayout | 15 | 0 | 0 | 0 | 5 |
DragItem | 13 | 0 | 0 | 0 | 6 |
DragScene | 15 | 0 | 0 | 0 | 6 |
DragView | 1 | 0 | 0 | 0 | 1 |
DrawArea | 9 | 0 | 0 | 0 | 3 |
MainWindow | 27 | 0 | 0 | 0 | 1 |
MarkerBox | 3 | 0 | 0 | 0 | 4 |
OptionsDialog | 8 | 0 | 0 | 0 | 1 |
Position | 0 | 0 | 0 | 0 | 1 |
QContextMenuEvent | 0 | 0 | 0 | 0 | 1 |
QGraphicsItem | 0 | 0 | 0 | 0 | 4 |
QGraphicsSceneMouseEvent | 0 | 0 | 0 | 0 | 3 |
QLayoutItem | 0 | 0 | 0 | 0 | 1 |
QObject | 0 | 0 | 0 | 0 | 1 |
QPainter | 0 | 0 | 0 | 0 | 4 |
QRect | 0 | 0 | 0 | 0 | 1 |
QRectF | 0 | 0 | 0 | 0 | 1 |
QString | 0 | 0 | 0 | 0 | 1 |
QStyleOptionGraphicsItem | 0 | 0 | 0 | 0 | 3 |
QWidget | 0 | 0 | 0 | 0 | 9 |
ShapeType | 0 | 0 | 0 | 0 | 3 |
SizeType | 0 | 0 | 0 | 0 | 1 |
TabManager | 2 | 0 | 0 | 0 | 1 |
TestIcon | 4 | 0 | 0 | 0 | 0 |
Toolbar | 15 | 0 | 0 | 0 | 1 |
anonymous | 1 | 0 | 0 | 0 | 0 |
bool | 0 | 0 | 0 | 0 | 2 |
ellipse | 7 | 0 | 0 | 0 | 5 |
icon | 10 | 0 | 0 | 0 | 2 |
shapes | 7 | 0 | 0 | 0 | 0 |
Module Name | Fan-out | Fan-in | IF4 | vis | con | inc | vis | con | incl | vis | con | inc |
---|---|---|---|---|---|---|---|---|---|
BorderLayout | 0 | 0 | 0 | 5 | 2 | 5 | 0 | 0 | 0 |
DragItem | 0 | 0 | 0 | 6 | 1 | 6 | 0 | 0 | 0 |
DragScene | 0 | 0 | 0 | 6 | 2 | 6 | 0 | 0 | 0 |
DragView | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 |
DrawArea | 0 | 0 | 0 | 3 | 2 | 3 | 0 | 0 | 0 |
MainWindow | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 |
MarkerBox | 0 | 0 | 0 | 4 | 0 | 4 | 0 | 0 | 0 |
OptionsDialog | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 |
Position | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 |
QContextMenuEvent | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 |
QGraphicsItem | 4 | 0 | 4 | 0 | 0 | 0 | 0 | 0 | 0 |
QGraphicsSceneMouseEvent | 3 | 0 | 3 | 0 | 0 | 0 | 0 | 0 | 0 |
QLayoutItem | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 |
QObject | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 |
QPainter | 4 | 0 | 4 | 0 | 0 | 0 | 0 | 0 | 0 |
QRect | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 |
QRectF | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 |
QString | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 |
QStyleOptionGraphicsItem | 3 | 0 | 3 | 0 | 0 | 0 | 0 | 0 | 0 |
QWidget | 9 | 0 | 9 | 0 | 0 | 0 | 0 | 0 | 0 |
ShapeType | 3 | 3 | 3 | 0 | 0 | 0 | 0 | 0 | 0 |
SizeType | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 |
TabManager | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 |
TestIcon | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Toolbar | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 |
anonymous | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
bool | 2 | 2 | 2 | 0 | 0 | 0 | 0 | 0 | 0 |
ellipse | 0 | 0 | 0 | 5 | 0 | 5 | 0 | 0 | 0 |
icon | 0 | 0 | 0 | 2 | 1 | 2 | 0 | 0 | 0 |
shapes | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Location | Text | LOC | COM | MVG |
---|---|---|---|---|
borderlayout.cpp:1 |
<file scope items> | 0 | 0 | 0 |
dragitem.cpp:1 |
<file scope items> | 2 | 0 | 0 |
dragscene.cpp:1 |
<file scope items> | 1 | 0 | 0 |
dragview.cpp:1 |
<file scope items> | 1 | 0 | 0 |
drawarea.cpp:1 |
<file scope items> | 1 | 0 | 0 |
ellipse.cpp:1 |
<file scope items> | 1 | 0 | 0 |
global.cpp:1 |
<file scope items> | 3 | 0 | 0 |
icon.cpp:1 |
<file scope items> | 2 | 4 | 0 |
main.cpp:1 |
<file scope items> | 1 | 1 | 0 |
mainwindow.cpp:1 |
<file scope items> | 2 | 8 | 0 |
markerbox.cpp:1 |
<file scope items> | 1 | 0 | 0 |
optionsdialog.cpp:1 |
<file scope items> | 1 | 1 | 0 |
shapes.cpp:1 |
<file scope items> | 1 | 1 | 0 |
tabmanager.cpp:1 |
<file scope items> | 2 | 0 | 0 |
TestEllipse.cpp:1 |
<file scope items> | 1 | 0 | 0 |
TestIcon.cpp:1 |
<file scope items> | 1 | 1 | 0 |
toolbar.cpp:1 |
<file scope items> | 1 | 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.