PMD Results

The following document contains the results of PMD 7.14.0.

Violations By Priority

Priority 3

org/forgerock/selfservice/core/AnonymousProcessService.java

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 17315

org/forgerock/selfservice/core/ProcessContextImpl.java

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 17238

org/forgerock/selfservice/core/UserUpdateService.java

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 16170

org/forgerock/selfservice/core/crypto/FieldStorageScheme.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'hashField': the method is declared in an interface type 31
UnnecessaryModifier Unnecessary modifier 'public' on method 'fieldMatches': the method is declared in an interface type 41

org/forgerock/selfservice/core/util/RequirementsBuilder.java

Rule Violation Line
CollapsibleIfStatements This if statement could be combined with its parent 229231

Priority 4

org/forgerock/selfservice/core/config/ClassNameFallbackPropertyTypeResolver.java

Rule Violation Line
UnnecessaryImport Unused import 'com.fasterxml.jackson.databind.ObjectMapper' 23
UnnecessaryImport Unused import 'com.fasterxml.jackson.databind.json.JsonMapper' 25

org/forgerock/selfservice/core/util/Answers.java

Rule Violation Line
UselessParentheses Useless parentheses. 71

Files

org/forgerock/selfservice/core/AnonymousProcessService.java

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 17315

org/forgerock/selfservice/core/ProcessContextImpl.java

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 17238

org/forgerock/selfservice/core/UserUpdateService.java

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 16170

org/forgerock/selfservice/core/config/ClassNameFallbackPropertyTypeResolver.java

Rule Violation Priority Line
UnnecessaryImport Unused import 'com.fasterxml.jackson.databind.ObjectMapper' 4 23
UnnecessaryImport Unused import 'com.fasterxml.jackson.databind.json.JsonMapper' 4 25

org/forgerock/selfservice/core/crypto/FieldStorageScheme.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'hashField': the method is declared in an interface type 3 31
UnnecessaryModifier Unnecessary modifier 'public' on method 'fieldMatches': the method is declared in an interface type 3 41

org/forgerock/selfservice/core/util/Answers.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 71

org/forgerock/selfservice/core/util/RequirementsBuilder.java

Rule Violation Priority Line
CollapsibleIfStatements This if statement could be combined with its parent 3 229231