Represents a single ABC Metric result: a vector of the three A, B, C values.
| Type | Name and description |
|---|---|
int |
assignments |
int |
branches |
int |
conditions |
| Constructor and description |
|---|
AbcVector
(int assignments, int branches, int conditions) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
BigDecimal |
getMagnitude()Return the magnitude of this ABC vector, specifically: |ABC| = sqrt((A*A)+(B*B)+(C*C)) |
|
String |
toString() |
Return the magnitude of this ABC vector, specifically: |ABC| = sqrt((A*A)+(B*B)+(C*C))
Groovy Documentation