PMD Results

The following document contains the results of PMD 6.38.0.

Violations By Priority

Priority 3

org/eclipse/jgit/gpg/bc/internal/BouncyCastleGpgKeyLocator.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 143145
EmptyCatchBlock Avoid empty catch blocks 641643

org/eclipse/jgit/gpg/bc/internal/BouncyCastleGpgSignatureVerifier.java

Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 204206

org/eclipse/jgit/gpg/bc/internal/BouncyCastleGpgSigner.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 130132
EmptyCatchBlock Avoid empty catch blocks 164166

org/eclipse/jgit/gpg/bc/internal/keys/KeyGrip.java

Rule Violation Line
AvoidUsingHardCodedIP Do not hard code the IP address 50
AvoidUsingHardCodedIP Do not hard code the IP address 52

Priority 4

org/eclipse/jgit/gpg/bc/internal/BouncyCastleGpgKeyLocator.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'Files.exists' due to existing static import 'java.nio.file.Files.exists' 499

org/eclipse/jgit/gpg/bc/internal/keys/SecretKeys.java

Rule Violation Line
UselessParentheses Useless parentheses. 570
UselessParentheses Useless parentheses. 570
UselessParentheses Useless parentheses. 571
UselessParentheses Useless parentheses. 579
UselessParentheses Useless parentheses. 579
UselessParentheses Useless parentheses. 580
UselessParentheses Useless parentheses. 584

Files

org/eclipse/jgit/gpg/bc/internal/BouncyCastleGpgKeyLocator.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 143145
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'Files.exists' due to existing static import 'java.nio.file.Files.exists' 4 499
EmptyCatchBlock Avoid empty catch blocks 3 641643

org/eclipse/jgit/gpg/bc/internal/BouncyCastleGpgSignatureVerifier.java

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 204206

org/eclipse/jgit/gpg/bc/internal/BouncyCastleGpgSigner.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 130132
EmptyCatchBlock Avoid empty catch blocks 3 164166

org/eclipse/jgit/gpg/bc/internal/keys/KeyGrip.java

Rule Violation Priority Line
AvoidUsingHardCodedIP Do not hard code the IP address 3 50
AvoidUsingHardCodedIP Do not hard code the IP address 3 52

org/eclipse/jgit/gpg/bc/internal/keys/SecretKeys.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 570
UselessParentheses Useless parentheses. 4 570
UselessParentheses Useless parentheses. 4 571
UselessParentheses Useless parentheses. 4 579
UselessParentheses Useless parentheses. 4 579
UselessParentheses Useless parentheses. 4 580
UselessParentheses Useless parentheses. 4 584