Metric | Tag | Overall | Per Function |
---|---|---|---|
Lines of Code | LOC | 42 | ****** |
McCabe's Cyclomatic Number | MVG | 2 | ****** |
Lines of Comment | COM | 2 | ******** |
LOC/COM | L_C | 21.000 | |
MVG/COM | M_C | ------ | |
Weighted Methods per Class ( weighting = unity ) | WMC1 | 5 | |
Weighted Methods per Class ( weighting = visible ) | WMCv | 2 | |
Depth of Inheritance Tree | DIT | 1 | |
Number of Children | NOC | 0 | |
Coupling between objects | CBO | 7 | |
Information Flow measure ( inclusive ) | IF4 | 36 | ******** |
Information Flow measure ( visible ) | IF4v | 36 | ******** |
Information Flow measure ( concrete ) | IF4c | 0 | ******** |
Description | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
definition
./components/ogre/environment/Water.cpp:76 |
8 | 0 | 0 | ------ | ------ |
declaration
./components/ogre/environment/Water.h:34 |
1 | 0 | 0 | ------ | ------ |
Function prototype | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
postRenderTargetUpdate( const RenderTargetEvent & ) definition ./components/ogre/environment/Water.cpp:113 | 11 | 1 | 1 | ------ | ------ |
preRenderTargetUpdate( const RenderTargetEvent & ) definition ./components/ogre/environment/Water.cpp:100 | 11 | 1 | 1 | ------ | ------ |
setCamera( Camera * ) definition ./components/ogre/environment/Water.cpp:95 | 3 | 0 | 0 | ------ | ------ |
setPlaneEntity( Entity * ) definition ./components/ogre/environment/Water.cpp:85 | 4 | 0 | 0 | ------ | ------ |
setReflectionPlane( Plane & ) definition ./components/ogre/environment/Water.cpp:90 | 4 | 0 | 0 | ------ | ------ |
Clients | Suppliers |
---|---|
Water [V] has by reference ./components/ogre/environment/Water.h:56 |
Camera [V] has by reference ./components/ogre/environment/Water.cpp:81 pass by reference ./components/ogre/environment/Water.cpp:95 Entity [V] has by reference ./components/ogre/environment/Water.cpp:79 pass by reference ./components/ogre/environment/Water.cpp:85 Plane [CV] has by value ./components/ogre/environment/Water.cpp:78 pass by reference ./components/ogre/environment/Water.cpp:90 RenderTargetEvent [V] pass by reference ./components/ogre/environment/Water.cpp:100 pass by reference ./components/ogre/environment/Water.cpp:113 RenderTargetListener [CV] inheritance ./components/ogre/environment/Water.cpp:76 vector [CV] has by value ./components/ogre/environment/Water.cpp:80 |