Fork me on GitHub

PMD Results

The following document contains the results of PMD 6.55.0.

Violations By Priority

Priority 5

org/basepom/mojo/propertyhelper/AbstractPropertyHelperMojo.java

Rule Violation Line
TooManyFields Too many fields 55529
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 479

org/basepom/mojo/propertyhelper/Sneaky.java

Rule Violation Line
CyclomaticComplexity The method 'throwAnyway(Throwable)' has a cyclomatic complexity of 11. 2944

org/basepom/mojo/propertyhelper/ValueCache.java

Rule Violation Line
CognitiveComplexity The method 'persist()' has a cognitive complexity of 30, current threshold is 15 140183
CyclomaticComplexity The method 'persist()' has a cyclomatic complexity of 12. 140183
NPathComplexity The method 'persist()' has an NPath complexity of 221, current threshold is 200 140183
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 150
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 165
CollapsibleIfStatements These nested if statements could be combined 171173
CollapsibleIfStatements These nested if statements could be combined 177179

org/basepom/mojo/propertyhelper/fields/NumberField.java

Rule Violation Line
CognitiveComplexity The method 'parse()' has a cognitive complexity of 22, current threshold is 15 67109
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 83

Files

org/basepom/mojo/propertyhelper/AbstractPropertyHelperMojo.java

Rule Violation Priority Line
TooManyFields Too many fields 5 55529
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 5 479

org/basepom/mojo/propertyhelper/Sneaky.java

Rule Violation Priority Line
CyclomaticComplexity The method 'throwAnyway(Throwable)' has a cyclomatic complexity of 11. 5 2944

org/basepom/mojo/propertyhelper/ValueCache.java

Rule Violation Priority Line
CognitiveComplexity The method 'persist()' has a cognitive complexity of 30, current threshold is 15 5 140183
CyclomaticComplexity The method 'persist()' has a cyclomatic complexity of 12. 5 140183
NPathComplexity The method 'persist()' has an NPath complexity of 221, current threshold is 200 5 140183
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 5 150
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 5 165
CollapsibleIfStatements These nested if statements could be combined 5 171173
CollapsibleIfStatements These nested if statements could be combined 5 177179

org/basepom/mojo/propertyhelper/fields/NumberField.java

Rule Violation Priority Line
CognitiveComplexity The method 'parse()' has a cognitive complexity of 22, current threshold is 15 5 67109
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 5 83