| Metric | Tag | Overall | Per Function |
|---|---|---|---|
| Lines of Code | LOC | 72 | ****** |
| McCabe's Cyclomatic Number | MVG | 10 | ****** |
| Lines of Comment | COM | 36 | ******** |
| LOC/COM | L_C | 2.000 | |
| MVG/COM | M_C | 0.278 | |
| Weighted Methods per Class ( weighting = unity ) | WMC1 | 5 | |
| Weighted Methods per Class ( weighting = visible ) | WMCv | 2 | |
| Depth of Inheritance Tree | DIT | 0 | |
| Number of Children | NOC | 0 | |
| Coupling between objects | CBO | 6 | |
| Information Flow measure ( inclusive ) | IF4 | 25 | ******** |
| Information Flow measure ( visible ) | IF4v | 16 | ******** |
| Information Flow measure ( concrete ) | IF4c | 16 | ******** |
| Description | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
declaration
./components/ogre/widgets/MeshPreview.h:36 |
1 | 0 | 0 | ------ | ------ |
definition
./components/ogre/widgets/MeshPreview.h:44 |
9 | 0 | 15 | ------ | ------ |
| Function prototype | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
| MeshPreviewHandler( ) declaration ./components/ogre/widgets/MeshPreview.h:47definition ./components/ogre/widgets/MeshPreview.cpp:45 | 4 | 0 | 0 | ------ | ------ |
| createInstance( const string & ) declaration ./components/ogre/widgets/MeshPreview.h:61definition ./components/ogre/widgets/MeshPreview.cpp:49 | 23 | 4 | 8 | 2.875 | ------ |
| getInstance( size_t ) declaration ./components/ogre/widgets/MeshPreview.h:70definition ./components/ogre/widgets/MeshPreview.cpp:112 | 8 | 2 | 6 | ------ | ------ |
| removeInstance( size_t ) declaration ./components/ogre/widgets/MeshPreview.h:54definition ./components/ogre/widgets/MeshPreview.cpp:82 | 19 | 3 | 4 | ------ | ------ |
| updateAnimation( Real ) declaration ./components/ogre/widgets/MeshPreview.h:85definition ./components/ogre/widgets/MeshPreview.cpp:103 | 8 | 1 | 3 | ------ | ------ |
| Clients | Suppliers |
|---|---|
|
MeshPreview [CV] has by value ./components/ogre/widgets/MeshPreview.h:236 |
InstanceStore [C] has by value ./components/ogre/widgets/MeshPreview.h:96Real [CV] pass by value ./components/ogre/widgets/MeshPreview.h:85pass by value ./components/ogre/widgets/MeshPreview.cpp:103signal [CV] has by value ./components/ogre/widgets/MeshPreview.h:75has by value ./components/ogre/widgets/MeshPreview.h:80size_t [CV] pass by value ./components/ogre/widgets/MeshPreview.h:54pass by value ./components/ogre/widgets/MeshPreview.h:70has by value ./components/ogre/widgets/MeshPreview.h:91pass by value ./components/ogre/widgets/MeshPreview.cpp:82pass by value ./components/ogre/widgets/MeshPreview.cpp:112string [V] pass by reference ./components/ogre/widgets/MeshPreview.h:61pass by reference ./components/ogre/widgets/MeshPreview.cpp:49 |