Metric | Tag | Overall | Per Function |
---|---|---|---|
Lines of Code | LOC | 213 | ****** |
McCabe's Cyclomatic Number | MVG | 44 | ****** |
Lines of Comment | COM | 84 | ******** |
LOC/COM | L_C | 2.536 | |
MVG/COM | M_C | 0.524 | |
Weighted Methods per Class ( weighting = unity ) | WMC1 | 25 | |
Weighted Methods per Class ( weighting = visible ) | WMCv | 0 | |
Depth of Inheritance Tree | DIT | 0 | |
Number of Children | NOC | 0 | |
Coupling between objects | CBO | 8 | |
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 |
---|---|---|---|---|---|
Canvas( QWidget * ) definition canvas.cpp:10 | 35 | 0 | 15 | 2.333 | ------ |
contextMenuEvent( QContextMenuEvent * ) definition canvas.cpp:217 | 4 | 0 | 6 | ------ | ------ |
createConnectionPoint1( const QPoint & ) definition moc_canvas.cpp:138 | 5 | 0 | 1 | ------ | ------ |
createConnectionPoint2( const QPoint & ) definition moc_canvas.cpp:145 | 5 | 0 | 1 | ------ | ------ |
createObject( const QPoint & ) definition moc_canvas.cpp:131 | 5 | 0 | 1 | ------ | ------ |
getStaticMetaObject( ) definition moc_canvas.cpp:73 | 1 | 1 | 0 | ------ | ------ |
metaObject( ) definition moc_canvas.cpp:76 | 4 | 2 | 0 | ------ | ------ |
mouseMoveEvent( QMouseEvent * ) definition canvas.cpp:165 | 13 | 4 | 7 | ------ | ------ |
mousePressEvent( QMouseEvent * ) definition canvas.cpp:136 | 18 | 5 | 12 | ------ | 0.417 |
mouseReleaseEvent( QMouseEvent * ) definition canvas.cpp:187 | 17 | 5 | 12 | ------ | 0.417 |
moveSelectedObject( const QPoint & ) definition moc_canvas.cpp:124 | 5 | 0 | 1 | ------ | ------ |
objectSelectionChange( const QPoint & ) definition moc_canvas.cpp:117 | 5 | 0 | 1 | ------ | ------ |
on_actionCopy_triggered( ) definition canvas.cpp:239 | 2 | 0 | 0 | ------ | ------ |
on_actionCut_triggered( ) definition canvas.cpp:228 | 2 | 0 | 0 | ------ | ------ |
on_actionDelete_triggered( ) definition canvas.cpp:224 | 3 | 0 | 0 | ------ | ------ |
on_actionPaste_triggered( ) definition canvas.cpp:231 | 2 | 0 | 0 | ------ | ------ |
on_actionProperties_triggered( ) definition canvas.cpp:234 | 3 | 0 | 1 | ------ | ------ |
paintEvent( QPaintEvent * ) definition canvas.cpp:81 | 32 | 3 | 15 | 2.133 | ------ |
qt_metacall( Call, int, void ** ) definition moc_canvas.cpp:89 | 26 | 18 | 0 | ****** | ****** |
qt_metacast( const char * ) definition moc_canvas.cpp:81 | 7 | 5 | 0 | ------ | ****** |
redraw( QPainter & ) definition moc_canvas.cpp:152 | 5 | 0 | 1 | ------ | ------ |
removeObject( ) definition moc_canvas.cpp:165 | 4 | 0 | 1 | ------ | ------ |
setMode( DrawingMode ) definition canvas.cpp:70 | 3 | 0 | 7 | ------ | ------ |
showPropertiesDialog( ) definition moc_canvas.cpp:159 | 4 | 0 | 1 | ------ | ------ |
sizeHint( ) definition canvas.cpp:62 | 3 | 1 | 1 | ------ | ------ |
Clients | Suppliers |
---|---|
Call [CV] pass by value moc_canvas.cpp:89 DrawingMode [CV] pass by value canvas.cpp:70 QContextMenuEvent [V] pass by reference canvas.cpp:217 QMouseEvent [V] pass by reference canvas.cpp:136 pass by reference canvas.cpp:165 pass by reference canvas.cpp:187 QPaintEvent [V] pass by reference canvas.cpp:81 QPainter [V] pass by reference moc_canvas.cpp:152 QPoint [V] pass by reference moc_canvas.cpp:117 pass by reference moc_canvas.cpp:124 pass by reference moc_canvas.cpp:131 pass by reference moc_canvas.cpp:138 pass by reference moc_canvas.cpp:145 QWidget [V] pass by reference canvas.cpp:10 |