Metric | Tag | Overall | Per Function |
---|---|---|---|
Lines of Code | LOC | 75 | ****** |
McCabe's Cyclomatic Number | MVG | 21 | ****** |
Lines of Comment | COM | 5 | ******** |
LOC/COM | L_C | 15.000 | |
MVG/COM | M_C | 4.200 | |
Weighted Methods per Class ( weighting = unity ) | WMC1 | 9 | |
Weighted Methods per Class ( weighting = visible ) | WMCv | 0 | |
Depth of Inheritance Tree | DIT | 0 | |
Number of Children | NOC | 0 | |
Coupling between objects | CBO | 5 | |
Information Flow measure ( inclusive ) | IF4 | 0 | ******** |
Information Flow measure ( visible ) | IF4v | 0 | ******** |
Information Flow measure ( concrete ) | IF4c | 0 | ******** |
Description | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
No module extents have been identified for this module | |||||
Function prototype | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
StoredImageSkyColourModel( ) definition ./components/ogre/environment/caelum/src/StoredImageSkyColourModel.cpp:5 | 4 | 0 | 0 | ------ | ------ |
getFogColour( float, const Vector3 & ) definition ./components/ogre/environment/caelum/src/StoredImageSkyColourModel.cpp:29 | 8 | 3 | 0 | ------ | ------ |
getFogDensity( float, const Vector3 & ) definition ./components/ogre/environment/caelum/src/StoredImageSkyColourModel.cpp:38 | 8 | 3 | 0 | ------ | ------ |
getInterpolatedColour( float, float, Image *, bool ) definition ./components/ogre/environment/caelum/src/StoredImageSkyColourModel.cpp:76 | 21 | 7 | 4 | 5.250 | 1.750 |
getSunColour( float, const Vector3 & ) definition ./components/ogre/environment/caelum/src/StoredImageSkyColourModel.cpp:58 | 8 | 3 | 0 | ------ | ------ |
setFogColoursImage( const String & ) definition ./components/ogre/environment/caelum/src/StoredImageSkyColourModel.cpp:51 | 5 | 1 | 0 | ------ | ------ |
setFogDensity( float ) definition ./components/ogre/environment/caelum/src/StoredImageSkyColourModel.cpp:47 | 3 | 0 | 0 | ------ | ------ |
setSkyGradientsImage( const String & ) definition ./components/ogre/environment/caelum/src/StoredImageSkyColourModel.cpp:10 | 11 | 2 | 1 | ------ | ------ |
updateMaterial( GpuProgramParametersSharedPtr, GpuProgramParametersSharedPtr, float, const Vector3 & ) definition ./components/ogre/environment/caelum/src/StoredImageSkyColourModel.cpp:67 | 7 | 2 | 0 | ------ | ------ |