Metric | Tag | Overall | Per Function |
---|---|---|---|
Lines of Code | LOC | 113 | ****** |
McCabe's Cyclomatic Number | MVG | 21 | ****** |
Lines of Comment | COM | 12 | ******** |
LOC/COM | L_C | 9.417 | |
MVG/COM | M_C | 1.750 | |
Weighted Methods per Class ( weighting = unity ) | WMC1 | 18 | |
Weighted Methods per Class ( weighting = visible ) | WMCv | 0 | |
Depth of Inheritance Tree | DIT | 0 | |
Number of Children | NOC | 0 | |
Coupling between objects | CBO | 10 | |
Information Flow measure ( inclusive ) | IF4 | 625 | ******** |
Information Flow measure ( visible ) | IF4v | 625 | ******** |
Information Flow measure ( concrete ) | IF4c | 0 | ******** |
Description | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
declaration
./components/ogre/terrain/TerrainPageSurface.h:41 |
1 | 0 | 0 | ------ | ------ |
declaration
./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.h:35 |
1 | 0 | 0 | ------ | ------ |
declaration
./components/ogre/terrain/TerrainPageSurfaceCompiler.h:31 |
1 | 0 | 0 | ------ | ------ |
Function prototype | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
TerrainPageSurfaceLayer( TerrainPageSurface &, int, Shader * ) definition ./components/ogre/terrain/TerrainPageSurfaceLayer.cpp:37 | 4 | 0 | 0 | ------ | ------ |
fillAlphaLayer( char *, char *, int, int, int, short ) definition ./components/ogre/terrain/TerrainPageSurfaceLayer.cpp:70 | 19 | 2 | 2 | ------ | ------ |
getCoverageTextureName( ) definition ./components/ogre/terrain/TerrainPageSurfaceLayer.cpp:162 | 4 | 1 | 0 | ------ | ------ |
getDiffuseTextureName( ) definition ./components/ogre/terrain/TerrainPageSurfaceLayer.cpp:167 | 4 | 1 | 0 | ------ | ------ |
getNormalTextureName( ) definition ./components/ogre/terrain/TerrainPageSurfaceLayer.cpp:183 | 4 | 1 | 0 | ------ | ------ |
getPixelWidth( ) definition ./components/ogre/terrain/TerrainPageSurfaceLayer.cpp:97 | 4 | 1 | 0 | ------ | ------ |
getScale( ) definition ./components/ogre/terrain/TerrainPageSurfaceLayer.cpp:102 | 4 | 1 | 0 | ------ | ------ |
getShader( ) definition ./components/ogre/terrain/TerrainPageSurfaceLayer.cpp:192 | 4 | 1 | 0 | ------ | ------ |
getSpecularTextureName( ) definition ./components/ogre/terrain/TerrainPageSurfaceLayer.cpp:175 | 4 | 1 | 0 | ------ | ------ |
getSurfaceForSegment( Segment * ) definition ./components/ogre/terrain/TerrainPageSurfaceLayer.cpp:153 | 8 | 3 | 0 | ------ | ------ |
getSurfaceIndex( ) definition ./components/ogre/terrain/TerrainPageSurfaceLayer.cpp:196 | 4 | 1 | 0 | ------ | ------ |
intersects( ) definition ./components/ogre/terrain/TerrainPageSurfaceLayer.cpp:59 | 9 | 4 | 1 | ------ | ------ |
setDiffuseTextureName( const string & ) definition ./components/ogre/terrain/TerrainPageSurfaceLayer.cpp:171 | 4 | 0 | 0 | ------ | ------ |
setNormalTextureName( const string & ) definition ./components/ogre/terrain/TerrainPageSurfaceLayer.cpp:187 | 4 | 0 | 0 | ------ | ------ |
setScale( float ) definition ./components/ogre/terrain/TerrainPageSurfaceLayer.cpp:107 | 4 | 0 | 0 | ------ | ------ |
setSpecularTextureName( const string & ) definition ./components/ogre/terrain/TerrainPageSurfaceLayer.cpp:179 | 4 | 0 | 0 | ------ | ------ |
updateCoverageImage( ) definition ./components/ogre/terrain/TerrainPageSurfaceLayer.cpp:114 | 19 | 4 | 9 | ------ | ------ |
~TerrainPageSurfaceLayer( ) definition ./components/ogre/terrain/TerrainPageSurfaceLayer.cpp:55 | 3 | 0 | 0 | ------ | ------ |