|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD | |||||||
java.lang.Objectorg.gmetrics.metric.abc.AbcVector
class AbcVector
Represents a single ABC Metric result: a vector of the three A, B, C values.
| Property Summary | |
|---|---|
int |
assignments
|
int |
branches
|
int |
conditions
|
| Constructor Summary | |
AbcVector(int assignments, int branches, int conditions)
|
|
| Method Summary | |
|---|---|
BigDecimal
|
getMagnitude()
Return the magnitude of this ABC vector, specifically: |ABC| = sqrt((A*A)+(B*B)+(C*C)) |
String
|
toString()
|
| Methods inherited from class Object | |
|---|---|
| wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
| Property Detail |
|---|
final int assignments
final int branches
final int conditions
| Constructor Detail |
|---|
AbcVector(int assignments, int branches, int conditions)
| Method Detail |
|---|
BigDecimal getMagnitude()
String toString()
Groovy Documentation