Fork me on GitHub

PMD Results

The following document contains the results of PMD 6.55.0.

Violations By Priority

Priority 3

org/newsclub/net/unix/demo/SimpleTestServer.java

Rule Violation Line
EmptyControlStatement Empty if statement 141147

org/newsclub/net/unix/demo/server/NullServer.java

Rule Violation Line
EmptyControlStatement Empty while statement 4244

org/newsclub/net/unix/demo/ssl/SSLDemoPrerequisites.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'final' on method 'runCommand': private methods cannot be overridden 110154

Priority 4

org/newsclub/net/unix/demo/SimpleTestServer.java

Rule Violation Line
UselessParentheses Useless parentheses. 136

org/newsclub/net/unix/demo/server/ChargenServer.java

Rule Violation Line
UselessParentheses Useless parentheses. 100
UselessParentheses Useless parentheses. 142
UselessParentheses Useless parentheses. 155

org/newsclub/net/unix/demo/server/DemoServerBase.java

Rule Violation Line
UselessParentheses Useless parentheses. 47

org/newsclub/net/unix/demo/ssl/SSLDemoPrerequisites.java

Rule Violation Line
UselessParentheses Useless parentheses. 170
UselessParentheses Useless parentheses. 185

Files

org/newsclub/net/unix/demo/SimpleTestServer.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 136
EmptyControlStatement Empty if statement 3 141147

org/newsclub/net/unix/demo/server/ChargenServer.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 100
UselessParentheses Useless parentheses. 4 142
UselessParentheses Useless parentheses. 4 155

org/newsclub/net/unix/demo/server/DemoServerBase.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 47

org/newsclub/net/unix/demo/server/NullServer.java

Rule Violation Priority Line
EmptyControlStatement Empty while statement 3 4244

org/newsclub/net/unix/demo/ssl/SSLDemoPrerequisites.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'final' on method 'runCommand': private methods cannot be overridden 3 110154
UselessParentheses Useless parentheses. 4 170
UselessParentheses Useless parentheses. 4 185

Processing Errors

Filename Problem
module-info.java PMDException: Error while parsing /Users/ck/Entwicklung/workspace/junixsocket/junixsocket-demo/src/main/java/module-info.java
net.sourceforge.pmd.PMDException: Error while parsing /Users/ck/Entwicklung/workspace/junixsocket/junixsocket-demo/src/main/java/module-info.java
	at net.sourceforge.pmd.SourceCodeProcessor.processSourceCodeWithoutCache(SourceCodeProcessor.java:124)
	at net.sourceforge.pmd.SourceCodeProcessor.processSourceCode(SourceCodeProcessor.java:100)
	at net.sourceforge.pmd.SourceCodeProcessor.processSourceCode(SourceCodeProcessor.java:62)
	at net.sourceforge.pmd.processor.PmdRunnable.call(PmdRunnable.java:89)
	at net.sourceforge.pmd.processor.PmdRunnable.call(PmdRunnable.java:30)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
	at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: net.sourceforge.pmd.lang.java.ast.ParseException: Line 5, Column 1: Cannot use module declaration when running in JDK inferior to 9 mode!
	at net.sourceforge.pmd.lang.java.ast.JavaParser.throwParseException(JavaParser.java:30)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.checkForBadModuleUsage(JavaParser.java:170)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ModuleDeclaration(JavaParser.java:8046)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.CompilationUnit(JavaParser.java:535)
	at net.sourceforge.pmd.lang.java.AbstractJavaParser.parse(AbstractJavaParser.java:62)
	at net.sourceforge.pmd.lang.AbstractParser.doParse(AbstractParser.java:45)
	at net.sourceforge.pmd.SourceCodeProcessor.parse(SourceCodeProcessor.java:136)
	at net.sourceforge.pmd.SourceCodeProcessor.processSource(SourceCodeProcessor.java:200)
	at net.sourceforge.pmd.SourceCodeProcessor.processSourceCodeWithoutCache(SourceCodeProcessor.java:118)
	... 10 more