| Metric | Tag | Overall | Per Function |
|---|---|---|---|
| Lines of Code | LOC | 31 | ****** |
| McCabe's Cyclomatic Number | MVG | 2 | ****** |
| Lines of Comment | COM | 2 | ******** |
| LOC/COM | L_C | 15.500 | |
| MVG/COM | M_C | ------ | |
| Weighted Methods per Class ( weighting = unity ) | WMC1 | 3 | |
| Weighted Methods per Class ( weighting = visible ) | WMCv | 3 | |
| Depth of Inheritance Tree | DIT | 1 | |
| Number of Children | NOC | 0 | |
| Coupling between objects | CBO | 5 | |
| Information Flow measure ( inclusive ) | IF4 | 16 | ******** |
| Information Flow measure ( visible ) | IF4v | 16 | ******** |
| Information Flow measure ( concrete ) | IF4c | 0 | ******** |
| Description | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
definition
./components/ogre/environment/Water.cpp:37 |
6 | 0 | 0 | ------ | ------ |
declaration
./components/ogre/environment/Water.h:33 |
1 | 0 | 0 | ------ | ------ |
| Function prototype | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
| postRenderTargetUpdate( const RenderTargetEvent & ) definition ./components/ogre/environment/Water.cpp:63 | 10 | 1 | 1 | ------ | ------ |
| preRenderTargetUpdate( const RenderTargetEvent & ) definition ./components/ogre/environment/Water.cpp:51 | 10 | 1 | 1 | ------ | ------ |
| setPlaneEntity( Entity * ) definition ./components/ogre/environment/Water.cpp:44 | 4 | 0 | 0 | ------ | ------ |
| Clients | Suppliers |
|---|---|
|
Water [V] has by reference ./components/ogre/environment/Water.h:55 |
Entity [V] has by reference ./components/ogre/environment/Water.cpp:39pass by reference ./components/ogre/environment/Water.cpp:44RenderTargetEvent [V] pass by reference ./components/ogre/environment/Water.cpp:51pass by reference ./components/ogre/environment/Water.cpp:63RenderTargetListener [CV] inheritance ./components/ogre/environment/Water.cpp:37vector [CV] has by value ./components/ogre/environment/Water.cpp:40 |