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–249 |
CyclomaticComplexity | The method 'loadPropertyElements()' has a cyclomatic complexity of 12. | 188–248 |
CognitiveComplexity | The method 'loadPropertyElements()' has a cognitive complexity of 21, current threshold is 15 | 188–248 |
AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 220 |
org/basepom/mojo/propertyhelper/DateField.java
Rule | Violation | Line |
---|---|---|
AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 52 |
org/basepom/mojo/propertyhelper/MacroField.java
Rule | Violation | Line |
---|---|---|
AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 60 |
org/basepom/mojo/propertyhelper/NumberField.java
Rule | Violation | Line |
---|---|---|
AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 56 |
org/basepom/mojo/propertyhelper/PropertyField.java
Rule | Violation | Line |
---|---|---|
AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 58 |
org/basepom/mojo/propertyhelper/StringField.java
Rule | Violation | Line |
---|---|---|
AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 50 |
org/basepom/mojo/propertyhelper/UuidField.java
Rule | Violation | Line |
---|---|---|
AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 49 |
org/basepom/mojo/propertyhelper/ValueCache.java
Rule | Violation | Line |
---|---|---|
NPathComplexity | The method 'persist()' has an NPath complexity of 221, current threshold is 200 | 138–181 |
CyclomaticComplexity | The method 'persist()' has a cyclomatic complexity of 12. | 138–181 |
CognitiveComplexity | The method 'persist()' has a cognitive complexity of 30, current threshold is 15 | 138–181 |
AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 148 |
AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 163 |
CollapsibleIfStatements | These nested if statements could be combined | 169–171 |
CollapsibleIfStatements | These nested if statements could be combined | 175–177 |
AvoidFieldNameMatchingMethodName | Field dirty has the same name as a method | 191 |
org/basepom/mojo/propertyhelper/ValueProvider.java
Rule | Violation | Line |
---|---|---|
UnnecessaryConstructor | Avoid unnecessary constructors - the compiler will generate these for you | 52–53 |
org/basepom/mojo/propertyhelper/beans/AbstractDefinition.java
Rule | Violation | Line |
---|---|---|
AbstractClassWithoutAbstractMethod | This abstract class does not have any abstract methods | 29–202 |
TooManyMethods | This class has too many methods, consider refactoring it. | 29–202 |
org/basepom/mojo/propertyhelper/beans/DateDefinition.java
Rule | Violation | Line |
---|---|---|
UnnecessaryConstructor | Avoid unnecessary constructors - the compiler will generate these for you | 36–37 |
org/basepom/mojo/propertyhelper/beans/MacroDefinition.java
Rule | Violation | Line |
---|---|---|
UnnecessaryConstructor | Avoid unnecessary constructors - the compiler will generate these for you | 47–49 |
org/basepom/mojo/propertyhelper/beans/PropertyGroup.java
Rule | Violation | Line |
---|---|---|
UnnecessaryConstructor | Avoid unnecessary constructors - the compiler will generate these for you | 70–71 |
AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 130 |
org/basepom/mojo/propertyhelper/beans/StringDefinition.java
Rule | Violation | Line |
---|---|---|
UnnecessaryConstructor | Avoid unnecessary constructors - the compiler will generate these for you | 43–44 |
org/basepom/mojo/propertyhelper/beans/UuidDefinition.java
Rule | Violation | Line |
---|---|---|
UnnecessaryConstructor | Avoid unnecessary constructors - the compiler will generate these for you | 32–33 |
org/basepom/mojo/propertyhelper/util/Log.java
Rule | Violation | Line |
---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 26–352 |
ProperLogger | Logger should be defined private static final and have the correct class | 30 |
Files
org/basepom/mojo/propertyhelper/AbstractPropertyHelperMojo.java
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyFields | Too many fields | 5 | 55–249 |
CyclomaticComplexity | The method 'loadPropertyElements()' has a cyclomatic complexity of 12. | 5 | 188–248 |
CognitiveComplexity | The method 'loadPropertyElements()' has a cognitive complexity of 21, current threshold is 15 | 5 | 188–248 |
AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 5 | 220 |
org/basepom/mojo/propertyhelper/DateField.java
Rule | Violation | Priority | Line |
---|---|---|---|
AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 5 | 52 |
org/basepom/mojo/propertyhelper/MacroField.java
Rule | Violation | Priority | Line |
---|---|---|---|
AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 5 | 60 |
org/basepom/mojo/propertyhelper/NumberField.java
Rule | Violation | Priority | Line |
---|---|---|---|
AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 5 | 56 |
org/basepom/mojo/propertyhelper/PropertyField.java
Rule | Violation | Priority | Line |
---|---|---|---|
AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 5 | 58 |
org/basepom/mojo/propertyhelper/StringField.java
Rule | Violation | Priority | Line |
---|---|---|---|
AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 5 | 50 |
org/basepom/mojo/propertyhelper/UuidField.java
Rule | Violation | Priority | Line |
---|---|---|---|
AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 5 | 49 |
org/basepom/mojo/propertyhelper/ValueCache.java
Rule | Violation | Priority | Line |
---|---|---|---|
NPathComplexity | The method 'persist()' has an NPath complexity of 221, current threshold is 200 | 5 | 138–181 |
CyclomaticComplexity | The method 'persist()' has a cyclomatic complexity of 12. | 5 | 138–181 |
CognitiveComplexity | The method 'persist()' has a cognitive complexity of 30, current threshold is 15 | 5 | 138–181 |
AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 5 | 148 |
AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 5 | 163 |
CollapsibleIfStatements | These nested if statements could be combined | 5 | 169–171 |
CollapsibleIfStatements | These nested if statements could be combined | 5 | 175–177 |
AvoidFieldNameMatchingMethodName | Field dirty has the same name as a method | 5 | 191 |
org/basepom/mojo/propertyhelper/ValueProvider.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryConstructor | Avoid unnecessary constructors - the compiler will generate these for you | 5 | 52–53 |
org/basepom/mojo/propertyhelper/beans/AbstractDefinition.java
Rule | Violation | Priority | Line |
---|---|---|---|
AbstractClassWithoutAbstractMethod | This abstract class does not have any abstract methods | 5 | 29–202 |
TooManyMethods | This class has too many methods, consider refactoring it. | 5 | 29–202 |
org/basepom/mojo/propertyhelper/beans/DateDefinition.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryConstructor | Avoid unnecessary constructors - the compiler will generate these for you | 5 | 36–37 |
org/basepom/mojo/propertyhelper/beans/MacroDefinition.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryConstructor | Avoid unnecessary constructors - the compiler will generate these for you | 5 | 47–49 |
org/basepom/mojo/propertyhelper/beans/PropertyGroup.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryConstructor | Avoid unnecessary constructors - the compiler will generate these for you | 5 | 70–71 |
AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 5 | 130 |
org/basepom/mojo/propertyhelper/beans/StringDefinition.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryConstructor | Avoid unnecessary constructors - the compiler will generate these for you | 5 | 43–44 |
org/basepom/mojo/propertyhelper/beans/UuidDefinition.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryConstructor | Avoid unnecessary constructors - the compiler will generate these for you | 5 | 32–33 |
org/basepom/mojo/propertyhelper/util/Log.java
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 5 | 26–352 |
ProperLogger | Logger should be defined private static final and have the correct class | 5 | 30 |