PMD Results
The following document contains the results of PMD 6.13.0.
Violations By Priority
Priority 3
org/eclipse/jgit/internal/transport/sshd/EncryptedFileKeyPairProvider.java
Rule |
Violation |
Line |
EmptyCatchBlock |
Avoid empty catch blocks |
150–152 |
org/eclipse/jgit/internal/transport/sshd/GssApiMechanisms.java
Rule |
Violation |
Line |
EmptyCatchBlock |
Avoid empty catch blocks |
216–218 |
org/eclipse/jgit/internal/transport/sshd/GssApiWithMicAuthentication.java
Rule |
Violation |
Line |
EmptyCatchBlock |
Avoid empty catch blocks |
267–269 |
org/eclipse/jgit/internal/transport/sshd/OpenSshServerKeyVerifier.java
Rule |
Violation |
Line |
CollapsibleIfStatements |
These nested if statements could be combined |
367–382 |
org/eclipse/jgit/internal/transport/sshd/RepeatingFilePasswordProvider.java
Rule |
Violation |
Line |
UnnecessaryModifier |
Unnecessary modifier 'public' on enum 'ResourceDecodeResult': the enum is declared in an interface type |
85–92 |
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 |
313 |
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 |
65–66 |
org/eclipse/jgit/transport/sshd/JGitKeyCache.java
Rule |
Violation |
Line |
EmptyCatchBlock |
Avoid empty catch blocks |
82–84 |
Priority 4
org/eclipse/jgit/internal/transport/sshd/JGitPasswordAuthentication.java
Rule |
Violation |
Line |
UselessParentheses |
Useless parentheses. |
98 |
Files
org/eclipse/jgit/internal/transport/sshd/EncryptedFileKeyPairProvider.java
Rule |
Violation |
Priority |
Line |
EmptyCatchBlock |
Avoid empty catch blocks |
3 |
150–152 |
org/eclipse/jgit/internal/transport/sshd/GssApiMechanisms.java
Rule |
Violation |
Priority |
Line |
EmptyCatchBlock |
Avoid empty catch blocks |
3 |
216–218 |
org/eclipse/jgit/internal/transport/sshd/GssApiWithMicAuthentication.java
Rule |
Violation |
Priority |
Line |
EmptyCatchBlock |
Avoid empty catch blocks |
3 |
267–269 |
org/eclipse/jgit/internal/transport/sshd/JGitClientSession.java
Rule |
Violation |
Priority |
Line |
UselessQualifiedThis |
Useless qualified this usage in the same class. |
3 |
159 |
UselessQualifiedThis |
Useless qualified this usage in the same class. |
3 |
184 |
org/eclipse/jgit/internal/transport/sshd/JGitPasswordAuthentication.java
Rule |
Violation |
Priority |
Line |
UselessParentheses |
Useless parentheses. |
4 |
98 |
org/eclipse/jgit/internal/transport/sshd/OpenSshServerKeyVerifier.java
Rule |
Violation |
Priority |
Line |
CollapsibleIfStatements |
These nested if statements could be combined |
3 |
367–382 |
org/eclipse/jgit/internal/transport/sshd/RepeatingFilePasswordProvider.java
Rule |
Violation |
Priority |
Line |
UnnecessaryModifier |
Unnecessary modifier 'public' on enum 'ResourceDecodeResult': the enum is declared in an interface type |
3 |
85–92 |
org/eclipse/jgit/internal/transport/sshd/proxy/HttpClientConnector.java
Rule |
Violation |
Priority |
Line |
UnnecessaryModifier |
Unnecessary modifier 'public' on method 'getName': the method is declared in an interface type |
3 |
313 |
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 |
65–66 |
org/eclipse/jgit/transport/sshd/JGitKeyCache.java
Rule |
Violation |
Priority |
Line |
EmptyCatchBlock |
Avoid empty catch blocks |
3 |
82–84 |