PMD Results

The following document contains the results of PMD 6.53.0.

Violations By Priority

Priority 3

org/woehlke/java/simpleworklist/domain/ProjectIdTaskController.java

Rule Violation Line
UnusedLocalVariable Avoid unused local variables such as 'userAccount'. 194

org/woehlke/java/simpleworklist/domain/db/user/passwordrecovery/UserAccountPasswordRecoveryServiceImpl.java

Rule Violation Line
SimplifiedTernary Ternary operators that can be simplified with || or && 48

org/woehlke/java/simpleworklist/domain/db/user/signup/UserAccountRegistrationServiceImpl.java

Rule Violation Line
SimplifiedTernary Ternary operators that can be simplified with || or && 4950

org/woehlke/java/simpleworklist/domain/meso/project/ProjectControllerServiceImpl.java

Rule Violation Line
UnusedLocalVariable Avoid unused local variables such as 'userAccount'. 56

org/woehlke/java/simpleworklist/domain/meso/task/TaskMoveServiceImpl.java

Rule Violation Line
UnusedLocalVariable Avoid unused local variables such as 'now'. 64

Priority 4

org/woehlke/java/simpleworklist/application/framework/AuditModel.java

Rule Violation Line
ExtendsObject No need to explicitly extend Object. 24
UselessParentheses Useless parentheses. 64

org/woehlke/java/simpleworklist/domain/ProjectIdController.java

Rule Violation Line
UnnecessaryImport Unused import 'org.woehlke.java.simpleworklist.domain.db.data.project.ProjectService' 18
UselessParentheses Useless parentheses. 188

org/woehlke/java/simpleworklist/domain/ProjectRootController.java

Rule Violation Line
UnnecessaryImport Unused import 'org.springframework.validation.FieldError' 12
UnnecessaryImport Unused import 'org.springframework.validation.ObjectError' 13
UnnecessaryImport Unused import 'org.woehlke.java.simpleworklist.domain.db.data.task.TaskEnergy' 21
UnnecessaryImport Unused import 'org.woehlke.java.simpleworklist.domain.db.data.task.TaskTime' 22
UnnecessaryImport Unused import 'org.woehlke.java.simpleworklist.domain.meso.task.TaskLifecycleService' 24
UnnecessaryImport Unused import 'org.woehlke.java.simpleworklist.domain.meso.task.TaskMoveService' 25
UnnecessaryImport Unused import 'org.woehlke.java.simpleworklist.domain.db.data.task.TaskState' 26
UnnecessaryImport Unused import 'org.woehlke.java.simpleworklist.domain.db.user.UserAccount' 27
UnnecessaryImport Unused import 'java.util.List' 31

org/woehlke/java/simpleworklist/domain/UserPasswordRecoveryController.java

Rule Violation Line
UnnecessaryImport Unused import 'org.springframework.security.access.prepost.PreAuthorize' 5

org/woehlke/java/simpleworklist/domain/db/data/Context.java

Rule Violation Line
UselessParentheses Useless parentheses. 77
UselessParentheses Useless parentheses. 83
UselessParentheses Useless parentheses. 90
UselessParentheses Useless parentheses. 91
UselessParentheses Useless parentheses. 92

org/woehlke/java/simpleworklist/domain/db/data/Project.java

Rule Violation Line
UnnecessaryImport Unused import 'lombok.Data' 3
UselessParentheses Useless parentheses. 137
UselessParentheses Useless parentheses. 143
UselessParentheses Useless parentheses. 151

org/woehlke/java/simpleworklist/domain/db/data/Task.java

Rule Violation Line
UselessParentheses Useless parentheses. 364
UselessParentheses Useless parentheses. 369
UselessParentheses Useless parentheses. 374
UselessParentheses Useless parentheses. 389
UselessParentheses Useless parentheses. 397
UselessParentheses Useless parentheses. 418
UselessParentheses Useless parentheses. 418
UselessParentheses Useless parentheses. 423
UselessParentheses Useless parentheses. 426
UselessParentheses Useless parentheses. 438
UselessParentheses Useless parentheses. 444
UselessParentheses Useless parentheses. 462

org/woehlke/java/simpleworklist/domain/db/data/context/ContextServiceImpl.java

Rule Violation Line
UselessParentheses Useless parentheses. 90
UselessParentheses Useless parentheses. 98

org/woehlke/java/simpleworklist/domain/db/search/SearchRequest.java

Rule Violation Line
UselessParentheses Useless parentheses. 66
UselessParentheses Useless parentheses. 72

org/woehlke/java/simpleworklist/domain/db/search/SearchResult.java

Rule Violation Line
UselessParentheses Useless parentheses. 89

org/woehlke/java/simpleworklist/domain/db/user/UserAccount.java

Rule Violation Line
UnnecessaryImport Unused import 'java.util.Date' 19
UselessParentheses Useless parentheses. 109
UselessParentheses Useless parentheses. 115

org/woehlke/java/simpleworklist/domain/db/user/UserAccountPassword.java

Rule Violation Line
UselessParentheses Useless parentheses. 66

org/woehlke/java/simpleworklist/domain/db/user/chat/ChatMessageService.java

Rule Violation Line
UnnecessaryImport Unused import 'jakarta.validation.constraints.NotNull' 8

org/woehlke/java/simpleworklist/domain/db/user/chat/ChatMessageServiceImpl.java

Rule Violation Line
UnnecessaryImport Unused import 'jakarta.validation.constraints.NotNull' 14
UnnecessaryImport Unused import 'java.util.ArrayList' 15
UnnecessaryImport Unused import 'java.util.UUID' 17

org/woehlke/java/simpleworklist/domain/db/user/passwordrecovery/UserAccountPasswordRecoveryServiceImpl.java

Rule Violation Line
UnnecessaryImport Unused import 'java.util.Date' 19

org/woehlke/java/simpleworklist/domain/db/user/signup/UserAccountRegistrationServiceImpl.java

Rule Violation Line
UnnecessaryImport Unused import 'java.util.Date' 6
UselessParentheses Useless parentheses. 4950

org/woehlke/java/simpleworklist/domain/meso/testdata/TestDataServiceImpl.java

Rule Violation Line
UnnecessaryImport Unused import 'org.woehlke.java.simpleworklist.domain.db.data.context.ContextRepository' 13

org/woehlke/java/simpleworklist/domain/security/login/LoginSuccessServiceImpl.java

Rule Violation Line
UnnecessaryImport Unused import 'java.util.Date' 17

Files

org/woehlke/java/simpleworklist/application/framework/AuditModel.java

Rule Violation Priority Line
ExtendsObject No need to explicitly extend Object. 4 24
UselessParentheses Useless parentheses. 4 64

org/woehlke/java/simpleworklist/domain/ProjectIdController.java

Rule Violation Priority Line
UnnecessaryImport Unused import 'org.woehlke.java.simpleworklist.domain.db.data.project.ProjectService' 4 18
UselessParentheses Useless parentheses. 4 188

org/woehlke/java/simpleworklist/domain/ProjectIdTaskController.java

Rule Violation Priority Line
UnusedLocalVariable Avoid unused local variables such as 'userAccount'. 3 194

org/woehlke/java/simpleworklist/domain/ProjectRootController.java

Rule Violation Priority Line
UnnecessaryImport Unused import 'org.springframework.validation.FieldError' 4 12
UnnecessaryImport Unused import 'org.springframework.validation.ObjectError' 4 13
UnnecessaryImport Unused import 'org.woehlke.java.simpleworklist.domain.db.data.task.TaskEnergy' 4 21
UnnecessaryImport Unused import 'org.woehlke.java.simpleworklist.domain.db.data.task.TaskTime' 4 22
UnnecessaryImport Unused import 'org.woehlke.java.simpleworklist.domain.meso.task.TaskLifecycleService' 4 24
UnnecessaryImport Unused import 'org.woehlke.java.simpleworklist.domain.meso.task.TaskMoveService' 4 25
UnnecessaryImport Unused import 'org.woehlke.java.simpleworklist.domain.db.data.task.TaskState' 4 26
UnnecessaryImport Unused import 'org.woehlke.java.simpleworklist.domain.db.user.UserAccount' 4 27
UnnecessaryImport Unused import 'java.util.List' 4 31

org/woehlke/java/simpleworklist/domain/UserPasswordRecoveryController.java

Rule Violation Priority Line
UnnecessaryImport Unused import 'org.springframework.security.access.prepost.PreAuthorize' 4 5

org/woehlke/java/simpleworklist/domain/db/data/Context.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 77
UselessParentheses Useless parentheses. 4 83
UselessParentheses Useless parentheses. 4 90
UselessParentheses Useless parentheses. 4 91
UselessParentheses Useless parentheses. 4 92

org/woehlke/java/simpleworklist/domain/db/data/Project.java

Rule Violation Priority Line
UnnecessaryImport Unused import 'lombok.Data' 4 3
UselessParentheses Useless parentheses. 4 137
UselessParentheses Useless parentheses. 4 143
UselessParentheses Useless parentheses. 4 151

org/woehlke/java/simpleworklist/domain/db/data/Task.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 364
UselessParentheses Useless parentheses. 4 369
UselessParentheses Useless parentheses. 4 374
UselessParentheses Useless parentheses. 4 389
UselessParentheses Useless parentheses. 4 397
UselessParentheses Useless parentheses. 4 418
UselessParentheses Useless parentheses. 4 418
UselessParentheses Useless parentheses. 4 423
UselessParentheses Useless parentheses. 4 426
UselessParentheses Useless parentheses. 4 438
UselessParentheses Useless parentheses. 4 444
UselessParentheses Useless parentheses. 4 462

org/woehlke/java/simpleworklist/domain/db/data/context/ContextServiceImpl.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 90
UselessParentheses Useless parentheses. 4 98

org/woehlke/java/simpleworklist/domain/db/search/SearchRequest.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 66
UselessParentheses Useless parentheses. 4 72

org/woehlke/java/simpleworklist/domain/db/search/SearchResult.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 89

org/woehlke/java/simpleworklist/domain/db/user/UserAccount.java

Rule Violation Priority Line
UnnecessaryImport Unused import 'java.util.Date' 4 19
UselessParentheses Useless parentheses. 4 109
UselessParentheses Useless parentheses. 4 115

org/woehlke/java/simpleworklist/domain/db/user/UserAccountPassword.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 66

org/woehlke/java/simpleworklist/domain/db/user/chat/ChatMessageService.java

Rule Violation Priority Line
UnnecessaryImport Unused import 'jakarta.validation.constraints.NotNull' 4 8

org/woehlke/java/simpleworklist/domain/db/user/chat/ChatMessageServiceImpl.java

Rule Violation Priority Line
UnnecessaryImport Unused import 'jakarta.validation.constraints.NotNull' 4 14
UnnecessaryImport Unused import 'java.util.ArrayList' 4 15
UnnecessaryImport Unused import 'java.util.UUID' 4 17

org/woehlke/java/simpleworklist/domain/db/user/passwordrecovery/UserAccountPasswordRecoveryServiceImpl.java

Rule Violation Priority Line
UnnecessaryImport Unused import 'java.util.Date' 4 19
SimplifiedTernary Ternary operators that can be simplified with || or && 3 48

org/woehlke/java/simpleworklist/domain/db/user/signup/UserAccountRegistrationServiceImpl.java

Rule Violation Priority Line
UnnecessaryImport Unused import 'java.util.Date' 4 6
SimplifiedTernary Ternary operators that can be simplified with || or && 3 4950
UselessParentheses Useless parentheses. 4 4950

org/woehlke/java/simpleworklist/domain/meso/project/ProjectControllerServiceImpl.java

Rule Violation Priority Line
UnusedLocalVariable Avoid unused local variables such as 'userAccount'. 3 56

org/woehlke/java/simpleworklist/domain/meso/task/TaskMoveServiceImpl.java

Rule Violation Priority Line
UnusedLocalVariable Avoid unused local variables such as 'now'. 3 64

org/woehlke/java/simpleworklist/domain/meso/testdata/TestDataServiceImpl.java

Rule Violation Priority Line
UnnecessaryImport Unused import 'org.woehlke.java.simpleworklist.domain.db.data.context.ContextRepository' 4 13

org/woehlke/java/simpleworklist/domain/security/login/LoginSuccessServiceImpl.java

Rule Violation Priority Line
UnnecessaryImport Unused import 'java.util.Date' 4 17