Metric | Tag | Overall | Per Function |
---|---|---|---|
Lines of Code | LOC | 32 | ****** |
McCabe's Cyclomatic Number | MVG | 3 | ****** |
Lines of Comment | COM | 21 | ******** |
LOC/COM | L_C | 1.524 | |
MVG/COM | M_C | ------ | |
Weighted Methods per Class ( weighting = unity ) | WMC1 | 8 | |
Weighted Methods per Class ( weighting = visible ) | WMCv | 4 | |
Depth of Inheritance Tree | DIT | 0 | |
Number of Children | NOC | 3 | |
Coupling between objects | CBO | 7 | |
Information Flow measure ( inclusive ) | IF4 | 144 | ******** |
Information Flow measure ( visible ) | IF4v | 144 | ******** |
Information Flow measure ( concrete ) | IF4c | 36 | ******** |
Description | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
definition
./components/ogre/model/Action.h:32 |
7 | 0 | 3 | ------ | ------ |
declaration
./components/ogre/model/Model.h:36 |
1 | 0 | 0 | ------ | ------ |
declaration
./components/ogre/model/mapping/Cases/CaseBase.h:41 |
1 | 0 | 0 | ------ | ------ |
definition
./components/ogre/model/mapping/Actions/Action.h:44 |
7 | 0 | 5 | ------ | ------ |
declaration
./components/ogre/EmberPhysicalEntity.h:32 |
1 | 0 | 0 | ------ | ------ |
Function prototype | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
activate( ) declaration ./components/ogre/model/mapping/Actions/Action.h:52 | 1 | 0 | 3 | ------ | ------ |
deactivate( ) declaration ./components/ogre/model/mapping/Actions/Action.h:57 | 1 | 0 | 3 | ------ | ------ |
getAnimations( ) definition ./components/ogre/model/Action.h:35 | 1 | 1 | 0 | ------ | ------ |
getCase( ) declaration ./components/ogre/model/mapping/Actions/Action.h:68 definition ./components/ogre/model/mapping/Actions/Action.h:78 | 5 | 1 | 4 | ------ | ------ |
getName( ) definition ./components/ogre/model/Action.h:37 | 1 | 1 | 0 | ------ | ------ |
setCase( CaseBase * ) declaration ./components/ogre/model/mapping/Actions/Action.h:62 definition ./components/ogre/model/mapping/Actions/Action.h:74 | 5 | 0 | 3 | ------ | ------ |
setName( const string & ) definition ./components/ogre/model/Action.h:36 | 1 | 0 | 0 | ------ | ------ |
~Action( ) definition ./components/ogre/model/mapping/Actions/Action.h:47 | 0 | 0 | 0 | ------ | ------ |
Clients | Suppliers |
---|---|
CaseBase [V] pass by reference ./components/ogre/model/mapping/Cases/CaseBase.cpp:46 pass by reference ./components/ogre/model/mapping/Cases/CaseBase.h:88 DummyAction [CV] inheritance ./components/ogre/model/mapping/Actions/DummyAction.h:39 EmberEntityModelAction [CV] inheritance ./components/ogre/EmberEntityModelAction.h:37 EmberEntityPartAction [CV] inheritance ./components/ogre/EmberEntityPartAction.h:36 |
AnimationSet [CV] has by value ./components/ogre/model/Action.h:42 CaseBase [V] pass by reference ./components/ogre/model/mapping/Actions/Action.h:62 has by reference ./components/ogre/model/mapping/Actions/Action.h:71 pass by reference ./components/ogre/model/mapping/Actions/Action.h:74 string [CV] pass by reference ./components/ogre/model/Action.h:36 has by value ./components/ogre/model/Action.h:41 |