PMD Results

The following document contains the results of PMD 6.46.0.

Violations By Priority

Priority 3

org/woehlke/computer/kurzweil/SierpinskiTriangleApplication.java

Rule Violation Line
UnusedLocalVariable Avoid unused local variables such as 'frame'. 23
UnusedLocalVariable Avoid unused local variables such as 'application'. 31

Priority 4

org/woehlke/computer/kurzweil/commons/model/fractal/ComplexNumber.java

Rule Violation Line
UselessParentheses Useless parentheses. 79
UselessParentheses Useless parentheses. 91
UselessParentheses Useless parentheses. 106

org/woehlke/computer/kurzweil/commons/model/fractal/GaussianNumberPlane.java

Rule Violation Line
UselessParentheses Useless parentheses. 9193
UselessParentheses Useless parentheses. 9698
UselessParentheses Useless parentheses. 105
UselessParentheses Useless parentheses. 105108
UselessParentheses Useless parentheses. 111
UselessParentheses Useless parentheses. 111114

org/woehlke/computer/kurzweil/commons/model/turing/MandelbrotTuringPositions.java

Rule Violation Line
UselessParentheses Useless parentheses. 33
UselessParentheses Useless parentheses. 33
UselessParentheses Useless parentheses. 91
UselessParentheses Useless parentheses. 91

org/woehlke/computer/kurzweil/tabs/sierpinskitriangle/SierpinskiTriangleCanvas.java

Rule Violation Line
UnnecessaryImport Unnecessary import from the current package 'org.woehlke.computer.kurzweil.tabs.sierpinskitriangle.SierpinskiTriangleModel' 3
UselessParentheses Useless parentheses. 44

org/woehlke/computer/kurzweil/tabs/sierpinskitriangle/SierpinskiTriangleController.java

Rule Violation Line
UnnecessaryImport Unnecessary import from the current package 'org.woehlke.computer.kurzweil.tabs.sierpinskitriangle.SierpinskiTriangleModel' 3
UnnecessaryImport Unnecessary import from the current package 'org.woehlke.computer.kurzweil.tabs.sierpinskitriangle.SierpinskiTriangleTab' 4

org/woehlke/computer/kurzweil/tabs/sierpinskitriangle/model/SierpinskiTriangleTabStateMachine.java

Rule Violation Line
UnnecessaryImport Unnecessary import from the current package 'org.woehlke.computer.kurzweil.tabs.sierpinskitriangle.model.SierpinskiTriangleTabState' 4
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'SierpinskiTriangleTabState.MANDELBROT' due to existing static import 'org.woehlke.computer.kurzweil.tabs.sierpinskitriangle.model.SierpinskiTriangleTabState.*' 26

Files

org/woehlke/computer/kurzweil/SierpinskiTriangleApplication.java

Rule Violation Priority Line
UnusedLocalVariable Avoid unused local variables such as 'frame'. 3 23
UnusedLocalVariable Avoid unused local variables such as 'application'. 3 31

org/woehlke/computer/kurzweil/commons/model/fractal/ComplexNumber.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 79
UselessParentheses Useless parentheses. 4 91
UselessParentheses Useless parentheses. 4 106

org/woehlke/computer/kurzweil/commons/model/fractal/GaussianNumberPlane.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 9193
UselessParentheses Useless parentheses. 4 9698
UselessParentheses Useless parentheses. 4 105
UselessParentheses Useless parentheses. 4 105108
UselessParentheses Useless parentheses. 4 111
UselessParentheses Useless parentheses. 4 111114

org/woehlke/computer/kurzweil/commons/model/turing/MandelbrotTuringPositions.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 33
UselessParentheses Useless parentheses. 4 33
UselessParentheses Useless parentheses. 4 91
UselessParentheses Useless parentheses. 4 91

org/woehlke/computer/kurzweil/tabs/sierpinskitriangle/SierpinskiTriangleCanvas.java

Rule Violation Priority Line
UnnecessaryImport Unnecessary import from the current package 'org.woehlke.computer.kurzweil.tabs.sierpinskitriangle.SierpinskiTriangleModel' 4 3
UselessParentheses Useless parentheses. 4 44

org/woehlke/computer/kurzweil/tabs/sierpinskitriangle/SierpinskiTriangleController.java

Rule Violation Priority Line
UnnecessaryImport Unnecessary import from the current package 'org.woehlke.computer.kurzweil.tabs.sierpinskitriangle.SierpinskiTriangleModel' 4 3
UnnecessaryImport Unnecessary import from the current package 'org.woehlke.computer.kurzweil.tabs.sierpinskitriangle.SierpinskiTriangleTab' 4 4

org/woehlke/computer/kurzweil/tabs/sierpinskitriangle/model/SierpinskiTriangleTabStateMachine.java

Rule Violation Priority Line
UnnecessaryImport Unnecessary import from the current package 'org.woehlke.computer.kurzweil.tabs.sierpinskitriangle.model.SierpinskiTriangleTabState' 4 4
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'SierpinskiTriangleTabState.MANDELBROT' due to existing static import 'org.woehlke.computer.kurzweil.tabs.sierpinskitriangle.model.SierpinskiTriangleTabState.*' 4 26