PMD Results

The following document contains the results of PMD 5.6.1.

Files

org/eclipse/jgit/lfs/LfsBlobFilter.java

Violation Line
Avoid empty while statements 120122

org/eclipse/jgit/lfs/LfsPrePushHook.java

Violation Line
Too many static imports may lead to messy code 43277
Avoid empty while statements 138140

org/eclipse/jgit/lfs/Protocol.java

Violation Line
Avoid modifiers which are implied by the context 170175

org/eclipse/jgit/lfs/internal/LfsConnectionFactory.java

Violation Line
Useless parentheses. 145146
Avoid using a branching statement as the last in a loop. 151

org/eclipse/jgit/lfs/lib/AbbreviatedLongObjectId.java

Violation Line
Unnecessary final modifier in final class 8192
Unnecessary final modifier in final class 106114
Unnecessary final modifier in final class 127132
Unnecessary final modifier in final class 141147
Unnecessary final modifier in final class 149160
Unnecessary final modifier in final class 162174
Unnecessary final modifier in final class 252268
Unnecessary final modifier in final class 284300
Unnecessary final modifier in final class 316332
Unnecessary final modifier in final class 339341
Unnecessary final modifier in final class 369386

org/eclipse/jgit/lfs/lib/AnyLongObjectId.java

Violation Line
Avoid unused imports such as 'org.eclipse.jgit.lib.AnyObjectId' 51
Ternary operators that can be simplified with || or && 278