Metric | Tag | Overall | Per Function |
---|---|---|---|
Lines of Code | LOC | 51 | ****** |
McCabe's Cyclomatic Number | MVG | 3 | ****** |
Lines of Comment | COM | 8 | ******** |
LOC/COM | L_C | 6.375 | |
MVG/COM | M_C | ------ | |
Weighted Methods per Class ( weighting = unity ) | WMC1 | 5 | |
Weighted Methods per Class ( weighting = visible ) | WMCv | 0 | |
Depth of Inheritance Tree | DIT | 0 | |
Number of Children | NOC | 0 | |
Coupling between objects | CBO | 6 | |
Information Flow measure ( inclusive ) | IF4 | 25 | ******** |
Information Flow measure ( visible ) | IF4v | 0 | ******** |
Information Flow measure ( concrete ) | IF4c | 0 | ******** |
Description | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
declaration
./components/ogre/environment/Environment.h:33 |
1 | 0 | 0 | ------ | ------ |
Function prototype | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
Forest( ) definition ./components/ogre/environment/Forest.cpp:48 | 6 | 0 | 0 | ------ | ------ |
addTree( Entity *, const Vector3 &, Degree, Real ) definition ./components/ogre/environment/Forest.cpp:82 | 10 | 1 | 0 | ------ | ------ |
frameStarted( const FrameEvent & ) definition ./components/ogre/environment/Forest.cpp:93 | 14 | 2 | 0 | ------ | ------ |
initialize( ) definition ./components/ogre/environment/Forest.cpp:63 | 14 | 0 | 8 | ------ | ------ |
~Forest( ) definition ./components/ogre/environment/Forest.cpp:56 | 6 | 0 | 0 | ------ | ------ |
Clients | Suppliers |
---|---|
Environment has by reference ./components/ogre/environment/Environment.h:128 |
Degree [CV] pass by value ./components/ogre/environment/Forest.cpp:82 Entity [V] pass by reference ./components/ogre/environment/Forest.cpp:82 FrameEvent [V] pass by reference ./components/ogre/environment/Forest.cpp:93 Real [CV] pass by value ./components/ogre/environment/Forest.cpp:82 Vector3 [V] pass by reference ./components/ogre/environment/Forest.cpp:82 |