PMD Results
The following document contains the results of PMD 6.4.0.
Files
info/magnolia/commands/ExportJcrNodeToYamlCommand.java
Violation |
Priority |
Line |
These nested if statements could be combined |
3 |
169–171 |
info/magnolia/config/ByteBuddyMutableWrapperHelper.java
Violation |
Priority |
Line |
These nested if statements could be combined |
3 |
142–149 |
info/magnolia/config/MutableWrapper.java
Violation |
Priority |
Line |
Unnecessary use of fully qualified name 'Pattern.compile' due to existing static import 'java.util.regex.Pattern.compile' |
4 |
146 |
These nested if statements could be combined |
3 |
344–351 |
info/magnolia/config/maputil/ToMap.java
Violation |
Priority |
Line |
Unnecessary use of fully qualified name 'com.google.common.base.Function' due to existing import 'com.google.common.base.Function' |
4 |
78 |
info/magnolia/config/module/ModuleDefinitionType.java
Violation |
Priority |
Line |
Ensure you override both equals() and hashCode() |
3 |
60 |
info/magnolia/config/registry/DefinitionProvider.java
Violation |
Priority |
Line |
Avoid unused imports such as 'info.magnolia.config.registry.DefinitionProvider.Problem.SeverityType' |
4 |
36 |
Unnecessary use of fully qualified name 'TransformationProblem.SeverityType.DEPRECATED' due to existing static import 'info.magnolia.config.registry.DefinitionProvider.Problem.SeverityType.*' |
4 |
143 |
Unnecessary use of fully qualified name 'TransformationProblem.SeverityType.WARNING' due to existing static import 'info.magnolia.config.registry.DefinitionProvider.Problem.SeverityType.*' |
4 |
143 |
info/magnolia/config/registry/RegistryTypeNameUtil.java
Violation |
Priority |
Line |
Avoid empty if statements |
3 |
77–79 |
info/magnolia/config/resolver/AnnotationProcessingTypeResolver.java
Violation |
Priority |
Line |
Unnecessary use of fully qualified name 'Function.identity' due to existing static import 'java.util.function.Function.identity' |
4 |
89 |
info/magnolia/config/source/MapBasedDefinitionProviderWrapper.java
Violation |
Priority |
Line |
Overriding method merely calls super |
3 |
91–94 |
Overriding method merely calls super |
3 |
97–100 |
info/magnolia/config/source/jcr/JcrConfigurationSource.java
Violation |
Priority |
Line |
Avoid unused constructor parameters such as 'node2BeanProcessor'. |
3 |
119 |
info/magnolia/config/source/jcr/JcrConfigurationSourceBuilder.java
Violation |
Priority |
Line |
Avoid unused private fields such as 'node2BeanProcessor'. |
3 |
48 |
info/magnolia/config/source/yaml/YamlReader.java
Violation |
Priority |
Line |
Avoid modifiers which are implied by the context |
3 |
83 |
info/magnolia/config/source/yaml/construct/OverrideSource.java
Violation |
Priority |
Line |
These nested if statements could be combined |
3 |
67–74 |
info/magnolia/config/source/yaml/construct/WrapMetadata.java
Violation |
Priority |
Line |
Unnecessary use of fully qualified name 'ToMap.toMap' due to existing static import 'info.magnolia.config.maputil.ToMap.toMap' |
4 |
81 |
info/magnolia/config/source/yaml/decoration/YamlDefinitionDecorator.java
Violation |
Priority |
Line |
Useless qualified this usage in the same class. |
3 |
209 |