| Metric | Tag | Overall | Per Function |
|---|---|---|---|
| Lines of Code | LOC | 47 | ****** |
| McCabe's Cyclomatic Number | MVG | 6 | ****** |
| Lines of Comment | COM | 28 | ******** |
| LOC/COM | L_C | 1.679 | |
| MVG/COM | M_C | 0.214 | |
| Weighted Methods per Class ( weighting = unity ) | WMC1 | 5 | |
| Weighted Methods per Class ( weighting = visible ) | WMCv | 0 | |
| Depth of Inheritance Tree | DIT | 0 | |
| Number of Children | NOC | 0 | |
| Coupling between objects | CBO | 4 | |
| Information Flow measure ( inclusive ) | IF4 | 9 | ******** |
| Information Flow measure ( visible ) | IF4v | 9 | ******** |
| Information Flow measure ( concrete ) | IF4c | 0 | ******** |
| Description | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
declaration
./components/ogre/model/SubModelPart.h:34 |
1 | 0 | 0 | ------ | ------ |
declaration
./components/ogre/model/Model.h:31 |
1 | 0 | 0 | ------ | ------ |
definition
./components/ogre/model/SubModel.h:32 |
8 | 0 | 0 | ------ | ------ |
| Function prototype | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
| SubModel( Entity * ) definition ./components/ogre/model/SubModel.cpp:28declaration ./components/ogre/model/SubModel.h:38 | 9 | 1 | 1 | ------ | ------ |
| createSubModelPart( const string & ) definition ./components/ogre/model/SubModel.cpp:56declaration ./components/ogre/model/SubModel.h:41 | 7 | 1 | 0 | ------ | ------ |
| getEntity( ) definition ./components/ogre/model/SubModel.cpp:92declaration ./components/ogre/model/SubModel.h:45 | 5 | 1 | 27 | ------ | ------ |
| getSubModelPartMap( ) definition ./components/ogre/model/SubModel.cpp:50declaration ./components/ogre/model/SubModel.h:43 | 5 | 1 | 0 | ------ | ------ |
| ~SubModel( ) definition ./components/ogre/model/SubModel.cpp:38declaration ./components/ogre/model/SubModel.h:39 | 11 | 2 | 0 | ------ | ------ |
| Clients | Suppliers |
|---|---|
|
Model [V] pass by reference ./components/ogre/model/Model.cpp:358pass by reference ./components/ogre/model/Model.cpp:373pass by reference ./components/ogre/model/Model.h:139pass by reference ./components/ogre/model/Model.h:140 |
Entity [V] pass by reference ./components/ogre/model/SubModel.cpp:28pass by reference ./components/ogre/model/SubModel.h:38has by reference ./components/ogre/model/SubModel.h:48SubModelPartMap [CV] has by value ./components/ogre/model/SubModel.h:49string [V] pass by reference ./components/ogre/model/SubModel.cpp:56pass by reference ./components/ogre/model/SubModel.h:41 |