diff --git a/pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/rule/design/CognitiveComplexityRule.java b/pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/rule/design/CognitiveComplexityRule.java index 96c392aa2a..319afdd529 100644 --- a/pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/rule/design/CognitiveComplexityRule.java +++ b/pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/rule/design/CognitiveComplexityRule.java @@ -26,14 +26,14 @@ public class CognitiveComplexityRule extends AbstractApexRule { = PropertyFactory.intProperty("classReportLevel") .desc("Total class cognitive complexity reporting threshold") .require(positive()) - .defaultValue(40) + .defaultValue(50) .build(); private static final PropertyDescriptor METHOD_LEVEL_DESCRIPTOR = PropertyFactory.intProperty("methodReportLevel") .desc("Cognitive complexity reporting threshold") .require(positive()) - .defaultValue(10) + .defaultValue(15) .build(); private Stack classNames = new Stack<>();