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 | 55–529 |
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. | 29–44 |
org/basepom/mojo/propertyhelper/ValueCache.java
Rule | Violation | Line |
---|---|---|
CognitiveComplexity | The method 'persist()' has a cognitive complexity of 30, current threshold is 15 | 140–183 |
CyclomaticComplexity | The method 'persist()' has a cyclomatic complexity of 12. | 140–183 |
NPathComplexity | The method 'persist()' has an NPath complexity of 221, current threshold is 200 | 140–183 |
AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 150 |
AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 165 |
CollapsibleIfStatements | These nested if statements could be combined | 171–173 |
CollapsibleIfStatements | These nested if statements could be combined | 177–179 |
org/basepom/mojo/propertyhelper/fields/NumberField.java
Rule | Violation | Line |
---|---|---|
CognitiveComplexity | The method 'parse()' has a cognitive complexity of 22, current threshold is 15 | 67–109 |
AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 83 |
Files
org/basepom/mojo/propertyhelper/AbstractPropertyHelperMojo.java
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyFields | Too many fields | 5 | 55–529 |
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 | 29–44 |
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 | 140–183 |
CyclomaticComplexity | The method 'persist()' has a cyclomatic complexity of 12. | 5 | 140–183 |
NPathComplexity | The method 'persist()' has an NPath complexity of 221, current threshold is 200 | 5 | 140–183 |
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 | 171–173 |
CollapsibleIfStatements | These nested if statements could be combined | 5 | 177–179 |
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 | 67–109 |
AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 5 | 83 |