Metric | Tag | Overall | Per Function |
---|---|---|---|
Lines of Code | LOC | 132 | ****** |
McCabe's Cyclomatic Number | MVG | 30 | ****** |
Lines of Comment | COM | 23 | ******** |
LOC/COM | L_C | 5.739 | |
MVG/COM | M_C | 1.304 | |
Weighted Methods per Class ( weighting = unity ) | WMC1 | 15 | |
Weighted Methods per Class ( weighting = visible ) | WMCv | 0 | |
Depth of Inheritance Tree | DIT | 0 | |
Number of Children | NOC | 0 | |
Coupling between objects | CBO | 6 | |
Information Flow measure ( inclusive ) | IF4 | 0 | ******** |
Information Flow measure ( visible ) | IF4v | 0 | ******** |
Information Flow measure ( concrete ) | IF4c | 0 | ******** |
Description | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
No module extents have been identified for this module | |||||
Function prototype | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
DragScene( QObject *, int, int ) definition dragscene.cpp:9 | 7 | 0 | 0 | ------ | ------ |
drawBackground( QPainter *, const QRectF & ) definition dragscene.cpp:141 | 19 | 3 | 19 | ------ | ------ |
getCreateMode( ) definition dragscene.cpp:21 | 3 | 1 | 0 | ------ | ------ |
getGrid( ) definition dragscene.cpp:47 | 3 | 1 | 0 | ------ | ------ |
getGridSize( ) definition dragscene.cpp:51 | 3 | 1 | 0 | ------ | ------ |
getObjectList( ) definition dragscene.cpp:25 | 3 | 1 | 0 | ------ | ------ |
getSceneCreate( ) definition dragscene.cpp:29 | 3 | 1 | 0 | ------ | ------ |
mouseDoubleClickEvent( QGraphicsSceneMouseEvent * ) definition dragscene.cpp:137 | 3 | 0 | 0 | ------ | ------ |
mouseMoveEvent( QGraphicsSceneMouseEvent * ) definition dragscene.cpp:104 | 3 | 0 | 0 | ------ | ------ |
mousePressEvent( QGraphicsSceneMouseEvent * ) definition dragscene.cpp:55 | 44 | 13 | 4 | 11.000 | 3.250 |
mouseReleaseEvent( QGraphicsSceneMouseEvent * ) definition dragscene.cpp:108 | 27 | 9 | 0 | ****** | ****** |
setCreateMode( ShapeType ) definition dragscene.cpp:17 | 3 | 0 | 0 | ------ | ------ |
setGrid( bool ) definition dragscene.cpp:37 | 4 | 0 | 0 | ------ | ------ |
setGridSize( int ) definition dragscene.cpp:42 | 4 | 0 | 0 | ------ | ------ |
setSceneCreate( bool ) definition dragscene.cpp:33 | 3 | 0 | 0 | ------ | ------ |
Clients | Suppliers |
---|---|
QGraphicsSceneMouseEvent [V] pass by reference dragscene.cpp:55 pass by reference dragscene.cpp:104 pass by reference dragscene.cpp:108 pass by reference dragscene.cpp:137 QObject [V] pass by reference dragscene.cpp:9 QPainter [V] pass by reference dragscene.cpp:141 QRectF [V] pass by reference dragscene.cpp:141 ShapeType [CV] pass by value dragscene.cpp:17 bool [CV] pass by value dragscene.cpp:33 pass by value dragscene.cpp:37 |