public class CognitiveComplexityFunctionCheck extends SubscriptionVisitorCheck
| Constructor and Description |
|---|
CognitiveComplexityFunctionCheck() |
| Modifier and Type | Method and Description |
|---|---|
Set<Tree.Kind> |
nodesToVisit() |
void |
setThreshold(int threshold) |
void |
visitFile(Tree scriptTree) |
void |
visitNode(Tree tree) |
addIssue, addIssue, addLineIssue, scanFilegetContext, isSubscribed, leaveFile, leaveNode, scanTree, scanTreepublic Set<Tree.Kind> nodesToVisit()
nodesToVisit in class SubscriptionVisitorpublic void visitFile(Tree scriptTree)
visitFile in class SubscriptionVisitorpublic void visitNode(Tree tree)
visitNode in class SubscriptionVisitorpublic void setThreshold(int threshold)
Copyright © 2011–2017 SonarSource and Eriks Nukis. All rights reserved.