Reference new rule CognitiveComplexity

This commit is contained in:
Andreas Dangel
2021-05-28 16:56:13 +02:00
parent b520361d71
commit 2b126e3236
2 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,7 @@ This ruleset contains links to rules that are new in PMD v6.35.0
</description>
<rule ref="category/java/bestpractices.xml/JUnit5TestShouldBePackagePrivate" />
<rule ref="category/java/design.xml/CognitiveComplexity" />
<rule ref="category/java/design.xml/MutableStaticState" />
</ruleset>

View File

@ -127,6 +127,7 @@
<!-- <rule ref="category/java/design.xml/AvoidThrowingRawExceptionTypes" /> -->
<!-- <rule ref="category/java/design.xml/AvoidUncheckedExceptionsInSignatures" /> -->
<rule ref="category/java/design.xml/ClassWithOnlyPrivateConstructorsShouldBeFinal"/>
<!-- <rule ref="category/java/design.xml/CognitiveComplexity" /> -->
<!-- <rule ref="category/java/design.xml/CollapsibleIfStatements"/>-->
<!-- <rule ref="category/java/design.xml/CouplingBetweenObjects" /> -->
<!-- <rule ref="category/java/design.xml/CyclomaticComplexity" /> -->