Metric | Tag | Overall | Per Function |
---|---|---|---|
Lines of Code | LOC | 41 | ****** |
McCabe's Cyclomatic Number | MVG | 4 | ****** |
Lines of Comment | COM | 21 | ******** |
LOC/COM | L_C | 1.952 | |
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 | 0 | |
Number of Children | NOC | 0 | |
Coupling between objects | CBO | 4 | |
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 |
---|---|---|---|---|---|
definition
common/initind.h:81 |
8 | 0 | 7 | ------ | ------ |
Function prototype | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
ElemDimInit( tGen, tGen, unsigned, unsigned ) definition common/initind.cc:20 declaration common/initind.h:95 | 10 | 1 | 7 | ------ | ------ |
random( Random * ) definition common/initind.cc:44 declaration common/initind.h:104 | 13 | 2 | 4 | ------ | ------ |
reduce( tGen ) definition common/initind.cc:32 declaration common/initind.h:99 | 10 | 1 | 3 | ------ | ------ |
Clients | Suppliers |
---|---|
Random [V] pass by reference common/initind.cc:44 pass by reference common/initind.h:104 tGen [CV] pass by value common/initind.cc:20 pass by value common/initind.cc:20 pass by value common/initind.cc:32 has by value common/initind.h:83 pass by value common/initind.h:95 pass by value common/initind.h:95 pass by value common/initind.h:99 unsigned [CV] pass by value common/initind.cc:20 pass by value common/initind.cc:20 has by value common/initind.h:84 pass by value common/initind.h:95 pass by value common/initind.h:95 vector [C] has by value common/initind.h:85 |