PMD Results

The following document contains the results of PMD 7.7.0.

Violations By Priority

Priority 4

org/tailormap/api/controller/admin/SolrAdminController.java

Rule Violation Line
UselessParentheses Useless parentheses. 193194
UselessParentheses Useless parentheses. 197
UselessParentheses Useless parentheses. 221

org/tailormap/api/controller/admin/TaskAdminController.java

Rule Violation Line
UselessParentheses Useless parentheses. 108
UselessParentheses Useless parentheses. 112
UselessParentheses Useless parentheses. 223
UselessParentheses Useless parentheses. 418

org/tailormap/api/persistence/User.java

Rule Violation Line
UselessParentheses Useless parentheses. 50

org/tailormap/api/repository/events/SearchIndexEventHandler.java

Rule Violation Line
UselessParentheses Useless parentheses. 73

org/tailormap/api/scheduling/FailingPocTask.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Task': 'LAST_RESULT_KEY' is already in scope because it is inherited by an enclosing type 42

org/tailormap/api/scheduling/IndexTask.java

Rule Violation Line
UselessParentheses Useless parentheses. 125
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Task': 'LAST_RESULT_KEY' is already in scope because it is inherited by an enclosing type 127
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Task': 'LAST_RESULT_KEY' is already in scope because it is inherited by an enclosing type 134

org/tailormap/api/scheduling/InterruptablePocTask.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Task': 'LAST_RESULT_KEY' is already in scope because it is inherited by an enclosing type 71
UselessParentheses Useless parentheses. 80
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Task': 'LAST_RESULT_KEY' is already in scope because it is inherited by an enclosing type 83

org/tailormap/api/scheduling/PocTask.java

Rule Violation Line
UselessParentheses Useless parentheses. 85
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Task': 'LAST_RESULT_KEY' is already in scope because it is inherited by an enclosing type 88

org/tailormap/api/scheduling/TaskType.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'TaskType': 'values' is already in scope 21

org/tailormap/api/solr/SolrHelper.java

Rule Violation Line
UselessParentheses Useless parentheses. 363
UselessParentheses Useless parentheses. 380

Files

org/tailormap/api/controller/admin/SolrAdminController.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 193194
UselessParentheses Useless parentheses. 4 197
UselessParentheses Useless parentheses. 4 221

org/tailormap/api/controller/admin/TaskAdminController.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 108
UselessParentheses Useless parentheses. 4 112
UselessParentheses Useless parentheses. 4 223
UselessParentheses Useless parentheses. 4 418

org/tailormap/api/persistence/User.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 50

org/tailormap/api/repository/events/SearchIndexEventHandler.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 73

org/tailormap/api/scheduling/FailingPocTask.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Task': 'LAST_RESULT_KEY' is already in scope because it is inherited by an enclosing type 4 42

org/tailormap/api/scheduling/IndexTask.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 125
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Task': 'LAST_RESULT_KEY' is already in scope because it is inherited by an enclosing type 4 127
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Task': 'LAST_RESULT_KEY' is already in scope because it is inherited by an enclosing type 4 134

org/tailormap/api/scheduling/InterruptablePocTask.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Task': 'LAST_RESULT_KEY' is already in scope because it is inherited by an enclosing type 4 71
UselessParentheses Useless parentheses. 4 80
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Task': 'LAST_RESULT_KEY' is already in scope because it is inherited by an enclosing type 4 83

org/tailormap/api/scheduling/PocTask.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 85
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Task': 'LAST_RESULT_KEY' is already in scope because it is inherited by an enclosing type 4 88

org/tailormap/api/scheduling/TaskType.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'TaskType': 'values' is already in scope 4 21

org/tailormap/api/solr/SolrHelper.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 363
UselessParentheses Useless parentheses. 4 380

Suppressed Violations

Filename Rule message Suppression type Reason
org/tailormap/api/configuration/dev/PopulateTestData.java Do not hard code the IP address solrUrl @suppresswarnings
org/tailormap/api/configuration/dev/PopulateTestData.java Do not hard code the IP address ${variableName} @suppresswarnings
org/tailormap/api/configuration/dev/PopulateTestData.java Do not hard code the IP address ${variableName} @suppresswarnings
org/tailormap/api/configuration/dev/PopulateTestData.java Do not hard code the IP address ${variableName} @suppresswarnings
org/tailormap/api/configuration/dev/PopulateTestData.java Do not hard code the IP address ${variableName} @suppresswarnings
org/tailormap/api/persistence/Group.java Avoid unused private methods such as 'removeMembers()'. @suppresswarnings