| Metric | Tag | Overall | Per Function |
|---|---|---|---|
| Lines of Code | LOC | 22 | ****** |
| McCabe's Cyclomatic Number | MVG | 0 | ****** |
| Lines of Comment | COM | 10 | ******** |
| LOC/COM | L_C | 2.200 | |
| MVG/COM | M_C | ------ | |
| Weighted Methods per Class ( weighting = unity ) | WMC1 | 4 | |
| Weighted Methods per Class ( weighting = visible ) | WMCv | 2 | |
| Depth of Inheritance Tree | DIT | 0 | |
| Number of Children | NOC | 2 | |
| Coupling between objects | CBO | 7 | |
| Information Flow measure ( inclusive ) | IF4 | 144 | ******** |
| Information Flow measure ( visible ) | IF4v | 144 | ******** |
| Information Flow measure ( concrete ) | IF4c | 16 | ******** |
| Description | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
declaration
./components/ogre/model/mapping/Matches/Observers/AttributeObserver.h:41 |
1 | 0 | 0 | ------ | ------ |
definition
./components/ogre/model/mapping/Matches/AttributeDependentMatch.h:42 |
6 | 0 | 4 | ------ | ------ |
| Function prototype | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
| AttributeDependentMatch( ) definition ./components/ogre/model/mapping/Matches/AttributeDependentMatch.cpp:36declaration ./components/ogre/model/mapping/Matches/AttributeDependentMatch.h:45 | 5 | 0 | 0 | ------ | ------ |
| setAttributeObserver( AttributeObserver * ) definition ./components/ogre/model/mapping/Matches/AttributeDependentMatch.cpp:45declaration ./components/ogre/model/mapping/Matches/AttributeDependentMatch.h:56 | 5 | 0 | 3 | ------ | ------ |
| testAttribute( const Element &, bool ) declaration ./components/ogre/model/mapping/Matches/AttributeDependentMatch.h:51 | 1 | 0 | 3 | ------ | ------ |
| ~AttributeDependentMatch( ) definition ./components/ogre/model/mapping/Matches/AttributeDependentMatch.cpp:41declaration ./components/ogre/model/mapping/Matches/AttributeDependentMatch.h:46 | 4 | 0 | 0 | ------ | ------ |
| Clients | Suppliers |
|---|---|
|
AttributeMatch [CV] inheritance ./components/ogre/model/mapping/Matches/AttributeMatch.h:57AttributeObserver [V] pass by reference ./components/ogre/model/mapping/Matches/Observers/AttributeObserver.cpp:41pass by reference ./components/ogre/model/mapping/Matches/Observers/AttributeObserver.h:54has by reference ./components/ogre/model/mapping/Matches/Observers/AttributeObserver.h:66OutfitMatch [CV] inheritance ./components/ogre/model/mapping/Matches/OutfitMatch.h:48 |
AttributeObserver [V] pass by reference ./components/ogre/model/mapping/Matches/AttributeDependentMatch.cpp:45pass by reference ./components/ogre/model/mapping/Matches/AttributeDependentMatch.h:56Element [V] pass by reference ./components/ogre/model/mapping/Matches/AttributeDependentMatch.h:51auto_ptr [CV] has by value ./components/ogre/model/mapping/Matches/AttributeDependentMatch.h:60bool [CV] pass by value ./components/ogre/model/mapping/Matches/AttributeDependentMatch.h:51 |