Metric | Tag | Overall | Per Function |
---|---|---|---|
Lines of Code | LOC | 127 | ****** |
McCabe's Cyclomatic Number | MVG | 12 | ****** |
Lines of Comment | COM | 24 | ******** |
LOC/COM | L_C | 5.292 | |
MVG/COM | M_C | 0.500 | |
Weighted Methods per Class ( weighting = unity ) | WMC1 | 13 | |
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 |
---|---|---|---|---|---|
DragItem( QGraphicsItem * ) definition dragitem.cpp:6 | 22 | 0 | 3 | 7.333 | ------ |
boundingRect( ) definition dragitem.cpp:64 | 3 | 1 | 0 | ------ | ------ |
getHeight( ) definition dragitem.cpp:39 | 3 | 1 | 0 | ------ | ------ |
getId( ) definition dragitem.cpp:48 | 3 | 1 | 0 | ------ | ------ |
getState( ) definition dragitem.cpp:52 | 3 | 1 | 0 | ------ | ------ |
getWidth( ) definition dragitem.cpp:35 | 3 | 1 | 0 | ------ | ------ |
mouseMoveEvent( QGraphicsSceneMouseEvent * ) definition dragitem.cpp:148 | 6 | 0 | 1 | ------ | ------ |
mousePressEvent( QGraphicsSceneMouseEvent * ) definition dragitem.cpp:138 | 9 | 0 | 3 | ------ | ------ |
mouseReleaseEvent( QGraphicsSceneMouseEvent * ) definition dragitem.cpp:157 | 8 | 0 | 7 | ------ | ------ |
paint( QPainter *, const QStyleOptionGraphicsItem *, QWidget * ) definition dragitem.cpp:68 | 57 | 7 | 10 | 5.700 | 0.700 |
setShape( ShapeType ) definition dragitem.cpp:60 | 3 | 0 | 0 | ------ | ------ |
setSize( int, int ) definition dragitem.cpp:43 | 4 | 0 | 0 | ------ | ------ |
setState( int ) definition dragitem.cpp:56 | 3 | 0 | 0 | ------ | ------ |
Clients | Suppliers |
---|---|
QGraphicsItem [V] pass by reference dragitem.cpp:6 QGraphicsSceneMouseEvent [V] pass by reference dragitem.cpp:138 pass by reference dragitem.cpp:148 pass by reference dragitem.cpp:157 QPainter [V] pass by reference dragitem.cpp:68 QStyleOptionGraphicsItem [V] pass by reference dragitem.cpp:68 QWidget [V] pass by reference dragitem.cpp:68 ShapeType [CV] pass by value dragitem.cpp:60 |