Metric | Tag | Overall | Per Function |
---|---|---|---|
Lines of Code | LOC | 338 | ****** |
McCabe's Cyclomatic Number | MVG | 63 | ****** |
Lines of Comment | COM | 156 | ******** |
LOC/COM | L_C | 2.167 | |
MVG/COM | M_C | 0.404 | |
Weighted Methods per Class ( weighting = unity ) | WMC1 | 36 | |
Weighted Methods per Class ( weighting = visible ) | WMCv | 0 | |
Depth of Inheritance Tree | DIT | 0 | |
Number of Children | NOC | 0 | |
Coupling between objects | CBO | 20 | |
Information Flow measure ( inclusive ) | IF4 | 7056 | ******** |
Information Flow measure ( visible ) | IF4v | 7056 | ******** |
Information Flow measure ( concrete ) | IF4c | 0 | ******** |
Description | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
declaration
./components/ogre/WorldEmberEntity.h:31 |
1 | 0 | 0 | ------ | ------ |
declaration
./components/ogre/EmberEntityFactory.h:43 |
1 | 0 | 0 | ------ | ------ |
declaration
./components/ogre/terrain/TerrainPageShadow.h:31 |
1 | 0 | 0 | ------ | ------ |
declaration
./components/ogre/SceneManagers/EmberPagingSceneManager/include/EmberPagingSceneManager.h:34 |
1 | 0 | 0 | ------ | ------ |
Function prototype | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
ConfigService_EventChangedConfigItem( const string &, const string & ) definition ./components/ogre/terrain/TerrainGenerator.cpp:535 | 8 | 2 | 0 | ------ | ------ |
TerrainArea_Changed( TerrainArea * ) definition ./components/ogre/terrain/TerrainGenerator.cpp:240 | 7 | 1 | 2 | ------ | ------ |
TerrainGenerator( ISceneManagerAdapter * ) definition ./components/ogre/terrain/TerrainGenerator.cpp:81 | 2 | 0 | 0 | ------ | ------ |
addArea( TerrainArea * ) definition ./components/ogre/terrain/TerrainGenerator.cpp:211 | 21 | 3 | 16 | 1.312 | ------ |
buildHeightmap( ) definition ./components/ogre/terrain/TerrainGenerator.cpp:322 | 18 | 3 | 3 | ------ | ------ |
createPage( const TerrainPosition & ) definition ./components/ogre/terrain/TerrainGenerator.cpp:487 | 17 | 4 | 3 | ------ | ------ |
createShader( const TerrainLayerDefinition *, Shader * ) definition ./components/ogre/terrain/TerrainGenerator.cpp:187 | 9 | 1 | 0 | ------ | ------ |
frameStarted( const FrameEvent & ) definition ./components/ogre/terrain/TerrainGenerator.cpp:255 | 15 | 5 | 5 | ------ | 1.000 |
getAdapter( ) definition ./components/ogre/terrain/TerrainGenerator.cpp:182 | 4 | 1 | 0 | ------ | ------ |
getFoliageShader( ) definition ./components/ogre/terrain/TerrainGenerator.cpp:704 | 4 | 1 | 0 | ------ | ------ |
getHeight( const TerrainPosition & ) definition ./components/ogre/terrain/TerrainGenerator.cpp:554 | 10 | 3 | 1 | ------ | ------ |
getMax( ) definition ./components/ogre/terrain/TerrainGenerator.cpp:692 | 4 | 1 | 9 | ------ | ------ |
getMin( ) definition ./components/ogre/terrain/TerrainGenerator.cpp:698 | 4 | 1 | 1 | ------ | ------ |
getPageSize( ) definition ./components/ogre/terrain/TerrainGenerator.cpp:312 | 4 | 1 | 0 | ------ | ------ |
getSegmentSize( ) definition ./components/ogre/terrain/TerrainGenerator.cpp:317 | 4 | 1 | 0 | ------ | ------ |
getTerrain( ) definition ./components/ogre/terrain/TerrainGenerator.cpp:132 | 4 | 1 | 0 | ------ | ------ |
getTerrainInfo( ) definition ./components/ogre/terrain/TerrainGenerator.cpp:732 | 4 | 1 | 0 | ------ | ------ |
getTerrainPage( const TerrainPosition & ) definition ./components/ogre/terrain/TerrainGenerator.cpp:447 | 8 | 1 | 0 | ------ | ------ |
getTerrainPage( const Vector2 &, bool ) definition ./components/ogre/terrain/TerrainGenerator.cpp:461 | 16 | 4 | 3 | ------ | ------ |
isFoliageShown( ) definition ./components/ogre/terrain/TerrainGenerator.cpp:544 | 7 | 4 | 0 | ------ | ------ |
isValidTerrainAt( const TerrainPosition & ) definition ./components/ogre/terrain/TerrainGenerator.cpp:437 | 5 | 2 | 3 | ------ | ------ |
loadTerrainOptions( ) definition ./components/ogre/terrain/TerrainGenerator.cpp:138 | 7 | 0 | 23 | ------ | ------ |
markShaderForUpdate( TerrainShader * ) definition ./components/ogre/terrain/TerrainGenerator.cpp:250 | 4 | 0 | 0 | ------ | ------ |
prepareAllSegments( ) definition ./components/ogre/terrain/TerrainGenerator.cpp:362 | 14 | 0 | 44 | ------ | ------ |
prepareSegments( long, long, long, bool ) definition ./components/ogre/terrain/TerrainGenerator.cpp:282 | 3 | 0 | 23 | ------ | ------ |
registerSceneManagerAdapter( ISceneManagerAdapter * ) definition ./components/ogre/terrain/TerrainGenerator.cpp:356 | 4 | 0 | 8 | ------ | ------ |
reloadTerrain( vector & ) definition ./components/ogre/terrain/TerrainGenerator.cpp:632 | 19 | 4 | 1 | ------ | ------ |
runCommand( const string &, const string & ) definition ./components/ogre/terrain/TerrainGenerator.cpp:715 | 15 | 2 | 1 | ------ | ------ |
setFoliageShader( TerrainShader * ) definition ./components/ogre/terrain/TerrainGenerator.cpp:709 | 4 | 0 | 0 | ------ | ------ |
updateEntityPosition( EmberEntity *, const set & ) definition ./components/ogre/terrain/TerrainGenerator.cpp:674 | 8 | 1 | 0 | ------ | ------ |
updateEntityPositions( const set & ) definition ./components/ogre/terrain/TerrainGenerator.cpp:666 | 7 | 1 | 0 | ------ | ------ |
updateFoliageVisibilty( ) definition ./components/ogre/terrain/TerrainGenerator.cpp:521 | 12 | 2 | 0 | ------ | ------ |
updateHeightMapAndShaders( const set & ) definition ./components/ogre/terrain/TerrainGenerator.cpp:654 | 9 | 1 | 1 | ------ | ------ |
updateShadows( ) definition ./components/ogre/terrain/TerrainGenerator.cpp:570 | 8 | 1 | 0 | ------ | ------ |
updateTerrain( const TerrainDefPointStore & ) definition ./components/ogre/terrain/TerrainGenerator.cpp:581 | 35 | 8 | 8 | 4.375 | 1.000 |
~TerrainGenerator( ) definition ./components/ogre/terrain/TerrainGenerator.cpp:115 | 10 | 2 | 1 | ------ | ------ |