public static class CognitiveComplexityVisitor.Result extends Object
| Modifier and Type | Field | Description |
|---|---|---|
int |
complexity |
Numerical value corresponding to the cognitive complexity
|
List<JavaFileScannerContext.Location> |
locations |
Secondary locations related to the cognitive complexity nodes
|
| Constructor | Description |
|---|---|
Result(int complexity,
List<JavaFileScannerContext.Location> locations) |
public final int complexity
public final List<JavaFileScannerContext.Location> locations
public Result(int complexity,
List<JavaFileScannerContext.Location> locations)
public static CognitiveComplexityVisitor.Result empty()
Copyright © 2012–2018 SonarSource. All rights reserved.