Fork me on GitHub

PMD Results

The following document contains the results of PMD 7.19.0.

Violations By Priority

Priority 3

dev/metaschema/maven/plugin/AbstractMetaschemaMojo.java

Rule Violation Line
CouplingBetweenObjects A value of 41 may denote a high amount of coupling within the class (threshold: 20) 6930
GodClass Possible God Class (WMC=70, ATFD=76, TCC=2.105%) 99
CognitiveComplexity The method 'isGenerationRequired()' has a cognitive complexity of 23, current threshold is 15 403
CyclomaticComplexity The method 'isGenerationRequired()' has a cyclomatic complexity of 10. 403
CognitiveComplexity The method 'execute()' has a cognitive complexity of 16, current threshold is 15 544
CyclomaticComplexity The method 'execute()' has a cyclomatic complexity of 10. 544
AvoidCatchingGenericException Avoid catching Exception in try-catch block 618

dev/metaschema/maven/plugin/GenerateSchemaMojo.java

Rule Violation Line
CognitiveComplexity The method 'generate(Set<IModule>)' has a cognitive complexity of 16, current threshold is 15 145
CyclomaticComplexity The method 'generate(Set<IModule>)' has a cyclomatic complexity of 11. 145

dev/metaschema/maven/plugin/GenerateSourcesMojo.java

Rule Violation Line
CyclomaticComplexity The method 'generate(Set<IModule>)' has a cyclomatic complexity of 10. 84

Files

dev/metaschema/maven/plugin/AbstractMetaschemaMojo.java

Rule Violation Priority Line
CouplingBetweenObjects A value of 41 may denote a high amount of coupling within the class (threshold: 20) 3 6930
GodClass Possible God Class (WMC=70, ATFD=76, TCC=2.105%) 3 99
CognitiveComplexity The method 'isGenerationRequired()' has a cognitive complexity of 23, current threshold is 15 3 403
CyclomaticComplexity The method 'isGenerationRequired()' has a cyclomatic complexity of 10. 3 403
CognitiveComplexity The method 'execute()' has a cognitive complexity of 16, current threshold is 15 3 544
CyclomaticComplexity The method 'execute()' has a cyclomatic complexity of 10. 3 544
AvoidCatchingGenericException Avoid catching Exception in try-catch block 3 618

dev/metaschema/maven/plugin/GenerateSchemaMojo.java

Rule Violation Priority Line
CognitiveComplexity The method 'generate(Set<IModule>)' has a cognitive complexity of 16, current threshold is 15 3 145
CyclomaticComplexity The method 'generate(Set<IModule>)' has a cyclomatic complexity of 11. 3 145

dev/metaschema/maven/plugin/GenerateSourcesMojo.java

Rule Violation Priority Line
CyclomaticComplexity The method 'generate(Set<IModule>)' has a cyclomatic complexity of 10. 3 84

Suppressed Violations

Filename Rule message Suppression type Reason
dev/metaschema/maven/plugin/GenerateSchemaMojo.java Field 'inlineDefinitions' may be declared final @suppresswarnings
dev/metaschema/maven/plugin/GenerateSchemaMojo.java Avoid catching Exception in try-catch block @suppresswarnings
dev/metaschema/maven/plugin/GenerateSchemaMojo.java Avoid catching Exception in try-catch block @suppresswarnings