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 44–225
EmptyCatchBlock Avoid empty catch blocks 100–102
EmptyCatchBlock Avoid empty catch blocks 114–116

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

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 44–419

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

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 44–182

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

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 44–229

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

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 44–162

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

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 44–290
EmptyCatchBlock Avoid empty catch blocks 136–138
EmptyWhileStmt Avoid empty while statements 156–158
EmptyCatchBlock Avoid empty catch blocks 159–161
EmptyCatchBlock Avoid empty catch blocks 164–166

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

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 120–124

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

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 44–222

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

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 44–249

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. 250–251

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 44–225
EmptyCatchBlock Avoid empty catch blocks 3 100–102
EmptyCatchBlock Avoid empty catch blocks 3 114–116

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

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 44–419
UselessParentheses Useless parentheses. 4 250–251

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

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 44–182

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

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 44–229
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 44–162

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

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 44–290
EmptyCatchBlock Avoid empty catch blocks 3 136–138
EmptyWhileStmt Avoid empty while statements 3 156–158
EmptyCatchBlock Avoid empty catch blocks 3 159–161
EmptyCatchBlock Avoid empty catch blocks 3 164–166

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

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 120–124

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

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 44–222

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

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 44–249
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