PMD Results

The following document contains the results of PMD 6.13.0.

Violations By Priority

Priority 3

org/eclipse/jgit/http/server/FileSender.java

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 44225
EmptyCatchBlock Avoid empty catch blocks 100102
EmptyCatchBlock Avoid empty catch blocks 114116

org/eclipse/jgit/http/server/GitSmartHttpTools.java

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

org/eclipse/jgit/http/server/ObjectFileServlet.java

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

org/eclipse/jgit/http/server/ReceivePackServlet.java

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

org/eclipse/jgit/http/server/RepositoryFilter.java

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

org/eclipse/jgit/http/server/ServletUtils.java

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 44290
EmptyCatchBlock Avoid empty catch blocks 136138
EmptyWhileStmt Avoid empty while statements 156158
EmptyCatchBlock Avoid empty catch blocks 159161
EmptyCatchBlock Avoid empty catch blocks 164166

org/eclipse/jgit/http/server/SmartOutputStream.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 120124

org/eclipse/jgit/http/server/SmartServiceInfoRefs.java

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

org/eclipse/jgit/http/server/UploadPackServlet.java

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

org/eclipse/jgit/http/server/glue/ServletBinder.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'through': the method is declared in an interface type 60
UnnecessaryModifier Unnecessary modifier 'public' on method 'with': the method is declared in an interface type 68

Priority 4

org/eclipse/jgit/http/server/GitSmartHttpTools.java

Rule Violation Line
UselessParentheses Useless parentheses. 250251

org/eclipse/jgit/http/server/ReceivePackServlet.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'GitSmartHttpTools.sendError' due to existing static import 'org.eclipse.jgit.http.server.GitSmartHttpTools.sendError' 179

org/eclipse/jgit/http/server/UploadPackServlet.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'GitSmartHttpTools.sendError' due to existing static import 'org.eclipse.jgit.http.server.GitSmartHttpTools.sendError' 198

Files

org/eclipse/jgit/http/server/FileSender.java

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 44225
EmptyCatchBlock Avoid empty catch blocks 3 100102
EmptyCatchBlock Avoid empty catch blocks 3 114116

org/eclipse/jgit/http/server/GitSmartHttpTools.java

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 44419
UselessParentheses Useless parentheses. 4 250251

org/eclipse/jgit/http/server/ObjectFileServlet.java

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

org/eclipse/jgit/http/server/ReceivePackServlet.java

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 44229
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'GitSmartHttpTools.sendError' due to existing static import 'org.eclipse.jgit.http.server.GitSmartHttpTools.sendError' 4 179

org/eclipse/jgit/http/server/RepositoryFilter.java

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

org/eclipse/jgit/http/server/ServletUtils.java

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 44290
EmptyCatchBlock Avoid empty catch blocks 3 136138
EmptyWhileStmt Avoid empty while statements 3 156158
EmptyCatchBlock Avoid empty catch blocks 3 159161
EmptyCatchBlock Avoid empty catch blocks 3 164166

org/eclipse/jgit/http/server/SmartOutputStream.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 120124

org/eclipse/jgit/http/server/SmartServiceInfoRefs.java

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

org/eclipse/jgit/http/server/UploadPackServlet.java

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 44249
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'GitSmartHttpTools.sendError' due to existing static import 'org.eclipse.jgit.http.server.GitSmartHttpTools.sendError' 4 198

org/eclipse/jgit/http/server/glue/ServletBinder.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'through': the method is declared in an interface type 3 60
UnnecessaryModifier Unnecessary modifier 'public' on method 'with': the method is declared in an interface type 3 68