The following document contains the results of PMD 6.38.0.
Rule | Violation | Line |
---|---|---|
EmptyWhileStmt | Avoid empty while statements | 87–89 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 120–122 |
EmptyCatchBlock | Avoid empty catch blocks | 253–255 |
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 10–263 |
EmptyWhileStmt | Avoid empty while statements | 124–126 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'gson': the method is declared in an interface type | 137–142 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'isId': the method is already in a final class | 48–59 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'fromString': the method is already in a final class | 73–81 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'fromLongObjectId': the method is already in a final class | 94–99 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'fromString': the method is already in a final class | 108–114 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'fromHexString': private methods cannot be overridden | 116–130 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'hexUInt64': private methods cannot be overridden | 132–144 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'prefixCompare': the method is already in a final class | 222–238 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'prefixCompare': the method is already in a final class | 254–270 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'prefixCompare': the method is already in a final class | 286–302 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'getFirstByte': the method is already in a final class | 309–311 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'name': the method is already in a final class | 339–356 |
Rule | Violation | Line |
---|---|---|
SimplifiedTernary | Ternary operators that can be simplified with || or && | 267 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'fromHexString': private methods cannot be overridden | 219–232 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyWhileStmt | Avoid empty while statements | 3 | 87–89 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 120–122 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 253–255 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 10–263 |
EmptyWhileStmt | Avoid empty while statements | 3 | 124–126 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'gson': the method is declared in an interface type | 3 | 137–142 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'isId': the method is already in a final class | 3 | 48–59 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'fromString': the method is already in a final class | 3 | 73–81 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'fromLongObjectId': the method is already in a final class | 3 | 94–99 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'fromString': the method is already in a final class | 3 | 108–114 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'fromHexString': private methods cannot be overridden | 3 | 116–130 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'hexUInt64': private methods cannot be overridden | 3 | 132–144 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'prefixCompare': the method is already in a final class | 3 | 222–238 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'prefixCompare': the method is already in a final class | 3 | 254–270 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'prefixCompare': the method is already in a final class | 3 | 286–302 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'getFirstByte': the method is already in a final class | 3 | 309–311 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'name': the method is already in a final class | 3 | 339–356 |
Rule | Violation | Priority | Line |
---|---|---|---|
SimplifiedTernary | Ternary operators that can be simplified with || or && | 3 | 267 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'fromHexString': private methods cannot be overridden | 3 | 219–232 |
Filename | Problem |
---|---|
org/eclipse/jgit/lfs/internal/LfsConnectionFactory.java | PMDException: Error while processing /home/jenkins/agent/workspace/stable/jgit-publish-site/repo/org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/internal/LfsConnectionFactory.java
net.sourceforge.pmd.PMDException: Error while processing /home/jenkins/agent/workspace/stable/jgit-publish-site/repo/org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/internal/LfsConnectionFactory.java at net.sourceforge.pmd.SourceCodeProcessor.processSourceCodeWithoutCache(SourceCodeProcessor.java:128) at net.sourceforge.pmd.SourceCodeProcessor.processSourceCode(SourceCodeProcessor.java:100) at net.sourceforge.pmd.SourceCodeProcessor.processSourceCode(SourceCodeProcessor.java:62) at net.sourceforge.pmd.processor.PmdRunnable.call(PmdRunnable.java:85) at net.sourceforge.pmd.processor.PmdRunnable.call(PmdRunnable.java:29) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829) Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 27565 out of bounds for length 10730 at org.objectweb.asm.ClassReader. |