PMD Results

The following document contains the results of PMD 6.42.0.

Violations By Priority

Priority 3

org/apache/maven/index/reader/IndexWriter.java

Rule Violation Line
EmptyIfStmt Avoid empty if statements 164166

org/apache/maven/index/reader/RecordExpander.java

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 1252

Priority 4

org/apache/maven/index/reader/ChunkReader.java

Rule Violation Line
UselessParentheses Useless parentheses. 271
UselessParentheses Useless parentheses. 271

org/apache/maven/index/reader/ChunkWriter.java

Rule Violation Line
UselessParentheses Useless parentheses. 148
UselessParentheses Useless parentheses. 148
UselessParentheses Useless parentheses. 168
UselessParentheses Useless parentheses. 168
UselessParentheses Useless parentheses. 177
UselessParentheses Useless parentheses. 177

org/apache/maven/index/reader/resource/BufferedResourceHandler.java

Rule Violation Line
UnnecessaryImport Unused import 'java.io.BufferedInputStream' 22

Files

org/apache/maven/index/reader/ChunkReader.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 271
UselessParentheses Useless parentheses. 4 271

org/apache/maven/index/reader/ChunkWriter.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 148
UselessParentheses Useless parentheses. 4 148
UselessParentheses Useless parentheses. 4 168
UselessParentheses Useless parentheses. 4 168
UselessParentheses Useless parentheses. 4 177
UselessParentheses Useless parentheses. 4 177

org/apache/maven/index/reader/IndexWriter.java

Rule Violation Priority Line
EmptyIfStmt Avoid empty if statements 3 164166

org/apache/maven/index/reader/RecordExpander.java

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 1252

org/apache/maven/index/reader/resource/BufferedResourceHandler.java

Rule Violation Priority Line
UnnecessaryImport Unused import 'java.io.BufferedInputStream' 4 22