Enable CognitiveComplexity in ci

This commit is contained in:
Clément Fournier committed 2021-06-16 14:22:16 +02:00
1 parent 86ffb97ce1
commit 3aba7f9367
1 file changed
+1
+1
View File
@@ -131,6 +131,7 @@
<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/CognitiveComplexity"/>
<rule ref="category/java/design.xml/CyclomaticComplexity"/>
<rule ref="category/java/design.xml/DataClass"/>
<rule ref="category/java/design.xml/DoNotExtendJavaLangError"/>