PMD Results

The following document contains the results of PMD 6.53.0.

Violations By Priority

Priority 3

org/eclipse/jgit/internal/transport/sshd/CachingKeyPairProvider.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 112115
EmptyCatchBlock Avoid empty catch blocks 185187

org/eclipse/jgit/internal/transport/sshd/GssApiMechanisms.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 183185

org/eclipse/jgit/internal/transport/sshd/GssApiWithMicAuthentication.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 243245

org/eclipse/jgit/internal/transport/sshd/GssApiWithMicAuthenticationReporter.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifiers 'static final' on field 'GSS_AUTHENTICATION_REPORTER': the field is declared in an interface type 27

org/eclipse/jgit/internal/transport/sshd/JGitClientSession.java

Rule Violation Line
UselessQualifiedThis Useless qualified this usage in the same class. 168
UselessQualifiedThis Useless qualified this usage in the same class. 186

org/eclipse/jgit/internal/transport/sshd/JGitPublicKeyAuthentication.java

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

org/eclipse/jgit/internal/transport/sshd/proxy/HttpClientConnector.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'getName': the method is declared in an interface type 281

org/eclipse/jgit/internal/transport/sshd/proxy/StatefulProxyConnector.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifiers 'static final' on field 'TIMEOUT_PROPERTY': the field is declared in an interface type 3233

org/eclipse/jgit/transport/sshd/JGitKeyCache.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 4951

org/eclipse/jgit/transport/sshd/SshdSessionFactory.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 251253

Priority 4

org/eclipse/jgit/internal/transport/sshd/JGitPublicKeyAuthentication.java

Rule Violation Line
UselessParentheses Useless parentheses. 166
UselessParentheses Useless parentheses. 469

org/eclipse/jgit/internal/transport/sshd/JGitSshClient.java

Rule Violation Line
UselessParentheses Useless parentheses. 473

org/eclipse/jgit/internal/transport/sshd/JGitUserInteraction.java

Rule Violation Line
UselessParentheses Useless parentheses. 132

org/eclipse/jgit/internal/transport/sshd/agent/SshAgentClient.java

Rule Violation Line
UselessParentheses Useless parentheses. 251

org/eclipse/jgit/internal/transport/sshd/auth/BasicAuthentication.java

Rule Violation Line
UselessParentheses Useless parentheses. 99
UselessParentheses Useless parentheses. 100

org/eclipse/jgit/internal/transport/sshd/proxy/AbstractClientProxyConnector.java

Rule Violation Line
UselessParentheses Useless parentheses. 91

org/eclipse/jgit/internal/transport/sshd/proxy/HttpClientConnector.java

Rule Violation Line
UselessParentheses Useless parentheses. 116
UselessParentheses Useless parentheses. 117

Files

org/eclipse/jgit/internal/transport/sshd/CachingKeyPairProvider.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 112115
EmptyCatchBlock Avoid empty catch blocks 3 185187

org/eclipse/jgit/internal/transport/sshd/GssApiMechanisms.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 183185

org/eclipse/jgit/internal/transport/sshd/GssApiWithMicAuthentication.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 243245

org/eclipse/jgit/internal/transport/sshd/GssApiWithMicAuthenticationReporter.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifiers 'static final' on field 'GSS_AUTHENTICATION_REPORTER': the field is declared in an interface type 3 27

org/eclipse/jgit/internal/transport/sshd/JGitClientSession.java

Rule Violation Priority Line
UselessQualifiedThis Useless qualified this usage in the same class. 3 168
UselessQualifiedThis Useless qualified this usage in the same class. 3 186

org/eclipse/jgit/internal/transport/sshd/JGitPublicKeyAuthentication.java

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

org/eclipse/jgit/internal/transport/sshd/JGitSshClient.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 473

org/eclipse/jgit/internal/transport/sshd/JGitUserInteraction.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 132

org/eclipse/jgit/internal/transport/sshd/agent/SshAgentClient.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 251

org/eclipse/jgit/internal/transport/sshd/auth/BasicAuthentication.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 99
UselessParentheses Useless parentheses. 4 100

org/eclipse/jgit/internal/transport/sshd/proxy/AbstractClientProxyConnector.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 91

org/eclipse/jgit/internal/transport/sshd/proxy/HttpClientConnector.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 116
UselessParentheses Useless parentheses. 4 117
UnnecessaryModifier Unnecessary modifier 'public' on method 'getName': the method is declared in an interface type 3 281

org/eclipse/jgit/internal/transport/sshd/proxy/StatefulProxyConnector.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifiers 'static final' on field 'TIMEOUT_PROPERTY': the field is declared in an interface type 3 3233

org/eclipse/jgit/transport/sshd/JGitKeyCache.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 4951

org/eclipse/jgit/transport/sshd/SshdSessionFactory.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 251253