Package org.sonar.python.checks.regex
Class RegexComplexityCheck
java.lang.Object
org.sonar.plugins.python.api.PythonSubscriptionCheck
org.sonar.python.checks.regex.AbstractRegexCheck
org.sonar.python.checks.regex.RegexComplexityCheck
- All Implemented Interfaces:
PythonCheck,SubscriptionCheck
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.sonar.plugins.python.api.PythonCheck
PythonCheck.CheckScope, PythonCheck.PreciseIssueNested classes/interfaces inherited from interface org.sonar.plugins.python.api.SubscriptionCheck
SubscriptionCheck.Context -
Field Summary
FieldsFields inherited from class org.sonar.python.checks.regex.AbstractRegexCheck
regexContext, reportedRegexTrees -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckRegex(org.sonarsource.analyzer.commons.regex.RegexParseResult regex, CallExpression methodInvocation) Methods inherited from class org.sonar.python.checks.regex.AbstractRegexCheck
addIssue, initialize, lookedUpFunctions, mapPythonFlagMethods inherited from class org.sonar.plugins.python.api.PythonSubscriptionCheck
leaveFile, scanFileMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.sonar.plugins.python.api.PythonCheck
scanWithoutParsing, scope
-
Field Details
-
max
public int max
-
-
Constructor Details
-
RegexComplexityCheck
public RegexComplexityCheck()
-
-
Method Details
-
checkRegex
public void checkRegex(org.sonarsource.analyzer.commons.regex.RegexParseResult regex, CallExpression methodInvocation) - Specified by:
checkRegexin classAbstractRegexCheck
-