Metric | Tag | Overall | Per Function |
---|---|---|---|
Lines of Code | LOC | 203 | ****** |
McCabe's Cyclomatic Number | MVG | 36 | ****** |
Lines of Comment | COM | 782 | ******** |
LOC/COM | L_C | 0.260 | |
MVG/COM | M_C | 0.046 | |
Weighted Methods per Class ( weighting = unity ) | WMC1 | 26 | |
Weighted Methods per Class ( weighting = visible ) | WMCv | 0 | |
Depth of Inheritance Tree | DIT | 0 | |
Number of Children | NOC | 0 | |
Coupling between objects | CBO | 17 | |
Information Flow measure ( inclusive ) | IF4 | 4356 | ******** |
Information Flow measure ( visible ) | IF4v | 4356 | ******** |
Information Flow measure ( concrete ) | IF4c | 0 | ******** |
Description | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
declaration
./components/ogre/terrain/TerrainPageSurface.h:42 |
1 | 0 | 0 | ------ | ------ |
declaration
./components/ogre/terrain/TerrainPageShadow.h:30 |
1 | 0 | 0 | ------ | ------ |
declaration
./components/ogre/terrain/TerrainPageSurfaceCompiler.h:33 |
1 | 0 | 0 | ------ | ------ |
declaration
./components/ogre/SceneManagers/EmberPagingSceneManager/include/EmberPagingLandScapeData2D_HeightField.h:34 |
1 | 0 | 0 | ------ | ------ |
Function prototype | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
TerrainPage( TerrainPosition, const map, TerrainGenerator * ) definition ./components/ogre/terrain/TerrainPage.cpp:71 | 5 | 0 | 2 | ------ | ------ |
addShader( TerrainShader * ) definition ./components/ogre/terrain/TerrainPage.cpp:621 | 9 | 0 | 8 | ------ | ------ |
createHeightData( Real * ) definition ./components/ogre/terrain/TerrainPage.cpp:292 | 19 | 2 | 2 | ------ | ------ |
createShadow( const Vector3 & ) definition ./components/ogre/terrain/TerrainPage.cpp:171 | 5 | 0 | 17 | ------ | ------ |
destroyFoliage( ) definition ./components/ogre/terrain/TerrainPage.cpp:495 | 8 | 2 | 0 | ------ | ------ |
generateTerrainMaterials( ) definition ./components/ogre/terrain/TerrainPage.cpp:202 | 4 | 1 | 42 | ------ | ------ |
getAlphaMapScale( ) definition ./components/ogre/terrain/TerrainPage.cpp:278 | 10 | 3 | 1 | ------ | ------ |
getMaterial( ) definition ./components/ogre/terrain/TerrainPage.cpp:272 | 4 | 1 | 1 | ------ | ------ |
getMaxHeight( ) definition ./components/ogre/terrain/TerrainPage.cpp:133 | 8 | 2 | 0 | ------ | ------ |
getMinHeight( ) definition ./components/ogre/terrain/TerrainPage.cpp:142 | 8 | 2 | 0 | ------ | ------ |
getNumberOfSegmentsPerAxis( ) definition ./components/ogre/terrain/TerrainPage.cpp:128 | 4 | 1 | 0 | ------ | ------ |
getPageSize( ) definition ./components/ogre/terrain/TerrainPage.cpp:122 | 4 | 1 | 0 | ------ | ------ |
getSegment( int, int ) definition ./components/ogre/terrain/TerrainPage.cpp:107 | 8 | 1 | 4 | ------ | ------ |
getValidSegments( ) definition ./components/ogre/terrain/TerrainPage.cpp:251 | 4 | 1 | 0 | ------ | ------ |
getVerticeCount( ) definition ./components/ogre/terrain/TerrainPage.cpp:261 | 4 | 1 | 4 | ------ | ------ |
getWFPosition( ) definition ./components/ogre/terrain/TerrainPage.cpp:266 | 4 | 1 | 0 | ------ | ------ |
hideFoliage( ) definition ./components/ogre/terrain/TerrainPage.cpp:487 | 7 | 2 | 0 | ------ | ------ |
populateSurfaces( ) definition ./components/ogre/terrain/TerrainPage.cpp:1044 | 6 | 1 | 402 | ------ | ------ |
prepareFoliage( ) definition ./components/ogre/terrain/TerrainPage.cpp:506 | 27 | 9 | 82 | 0.329 | 0.110 |
setupShadowTechnique( ) definition ./components/ogre/terrain/TerrainPage.cpp:162 | 8 | 1 | 0 | ------ | ------ |
showFoliage( ) definition ./components/ogre/terrain/TerrainPage.cpp:477 | 9 | 2 | 147 | ------ | ------ |
update( ) definition ./components/ogre/terrain/TerrainPage.cpp:151 | 7 | 0 | 0 | ------ | ------ |
updateAllShaderTextures( ) definition ./components/ogre/terrain/TerrainPage.cpp:1057 | 8 | 1 | 1 | ------ | ------ |
updateShaderTexture( TerrainShader * ) definition ./components/ogre/terrain/TerrainPage.cpp:1068 | 10 | 1 | 69 | ------ | ------ |
updateShadow( const Vector3 & ) definition ./components/ogre/terrain/TerrainPage.cpp:195 | 5 | 0 | 0 | ------ | ------ |
~TerrainPage( ) definition ./components/ogre/terrain/TerrainPage.cpp:102 | 4 | 0 | 0 | ------ | ------ |