PMD Results

The following document contains the results of PMD 6.55.0.

Violations By Priority

Priority 2

Multi module build example - Core library - com/garbuz/core/Main.java

Rule Violation Line
SystemPrintln System.out.println is used 13

Priority 3

Multi module build example - Core library - com/garbuz/core/Main.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'args' is not assigned and could be declared final 11
LocalVariableCouldBeFinal Local variable 'main' could be declared final 12

Multi module build example - Web UI - com/garbuz/web/WebApplication.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'args' is not assigned and could be declared final 10

Multi module build example - Web UI - com/garbuz/web/controller/HomeController.java

Rule Violation Line
MethodArgumentCouldBeFinal Parameter 'model' is not assigned and could be declared final 12
MethodArgumentCouldBeFinal Parameter 'name' is not assigned and could be declared final 19
MethodArgumentCouldBeFinal Parameter 'model' is not assigned and could be declared final 20

Files

Multi module build example - Core library - com/garbuz/core/Main.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'args' is not assigned and could be declared final 3 11
LocalVariableCouldBeFinal Local variable 'main' could be declared final 3 12
SystemPrintln System.out.println is used 2 13

Multi module build example - Web UI - com/garbuz/web/WebApplication.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'args' is not assigned and could be declared final 3 10

Multi module build example - Web UI - com/garbuz/web/controller/HomeController.java

Rule Violation Priority Line
MethodArgumentCouldBeFinal Parameter 'model' is not assigned and could be declared final 3 12
MethodArgumentCouldBeFinal Parameter 'name' is not assigned and could be declared final 3 19
MethodArgumentCouldBeFinal Parameter 'model' is not assigned and could be declared final 3 20