PMD Results

The following document contains the results of PMD 6.21.0.

Violations By Priority

Priority 3

info/magnolia/resourceloader/jcr/JcrResourceOrigin.java

Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 355357

info/magnolia/resourceloader/layered/LayeredResourceOrigin.java

Rule Violation Line
UselessQualifiedThis Useless qualified this usage in the same class. 166

Priority 4

info/magnolia/resourceloader/file/FileSystemResourceOrigin.java

Rule Violation Line
UselessParentheses Useless parentheses. 284

info/magnolia/resourceloader/jcr/JcrResourceOrigin.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'ResourceOriginChange.Type.ADDED' due to existing static import 'info.magnolia.resourceloader.ResourceOriginChange.Type.*' 315

Files

info/magnolia/resourceloader/file/FileSystemResourceOrigin.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 284

info/magnolia/resourceloader/jcr/JcrResourceOrigin.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'ResourceOriginChange.Type.ADDED' due to existing static import 'info.magnolia.resourceloader.ResourceOriginChange.Type.*' 4 315
CollapsibleIfStatements These nested if statements could be combined 3 355357

info/magnolia/resourceloader/layered/LayeredResourceOrigin.java

Rule Violation Priority Line
UselessQualifiedThis Useless qualified this usage in the same class. 3 166