PMD Results
The following document contains the results of PMD 6.13.0.
Violations By Priority
Priority 3
org/eclipse/jgit/pgm/Command.java
Rule |
Violation |
Line |
UnnecessaryModifier |
Unnecessary modifier 'public' on method 'name': the method is declared in an annotation type |
69 |
UnnecessaryModifier |
Unnecessary modifier 'public' on method 'usage': the method is declared in an annotation type |
76 |
UnnecessaryModifier |
Unnecessary modifier 'public' on method 'common': the method is declared in an annotation type |
83 |
org/eclipse/jgit/pgm/CommandCatalog.java
Rule |
Violation |
Line |
EmptyCatchBlock |
Avoid empty catch blocks |
152–154 |
org/eclipse/jgit/pgm/LsFiles.java
Rule |
Violation |
Line |
TooManyStaticImports |
Too many static imports may lead to messy code |
43–110 |
org/eclipse/jgit/pgm/RevWalkTextBuiltin.java
Rule |
Violation |
Line |
EmptyCatchBlock |
Avoid empty catch blocks |
178–180 |
org/eclipse/jgit/pgm/TextBuiltin.java
Rule |
Violation |
Line |
TooManyStaticImports |
Too many static imports may lead to messy code |
45–502 |
org/eclipse/jgit/pgm/debug/BenchmarkReftable.java
Rule |
Violation |
Line |
TooManyStaticImports |
Too many static imports may lead to messy code |
44–316 |
org/eclipse/jgit/pgm/debug/LfsStore.java
Rule |
Violation |
Line |
UnnecessaryModifier |
Unnecessary modifier 'static' on enum 'StoreType': nested enums are implicitly static |
164–166 |
UnnecessaryModifier |
Unnecessary modifier 'static' on enum 'StorageClass': nested enums are implicitly static |
168–170 |
org/eclipse/jgit/pgm/debug/RebuildCommitGraph.java
Rule |
Violation |
Line |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'br': resource specifications are implicitly final |
144–146 |
EmptyCatchBlock |
Avoid empty catch blocks |
155–157 |
org/eclipse/jgit/pgm/debug/ShowCommands.java
Rule |
Violation |
Line |
UnnecessaryModifier |
Unnecessary modifier 'static' on enum 'Format': nested enums are implicitly static |
86–129 |
org/eclipse/jgit/pgm/debug/WriteReftable.java
Rule |
Violation |
Line |
TooManyStaticImports |
Too many static imports may lead to messy code |
44–302 |
org/eclipse/jgit/pgm/opt/CmdLineParser.java
Rule |
Violation |
Line |
SimplifiedTernary |
Ternary operators that can be simplified with || or && |
295 |
Priority 4
org/eclipse/jgit/pgm/debug/TextHashFunctions.java
Rule |
Violation |
Line |
UselessParentheses |
Useless parentheses. |
115 |
Files
org/eclipse/jgit/pgm/Blame.java
Rule |
Violation |
Priority |
Line |
UselessParentheses |
Useless parentheses. |
4 |
382 |
org/eclipse/jgit/pgm/Command.java
Rule |
Violation |
Priority |
Line |
UnnecessaryModifier |
Unnecessary modifier 'public' on method 'name': the method is declared in an annotation type |
3 |
69 |
UnnecessaryModifier |
Unnecessary modifier 'public' on method 'usage': the method is declared in an annotation type |
3 |
76 |
UnnecessaryModifier |
Unnecessary modifier 'public' on method 'common': the method is declared in an annotation type |
3 |
83 |
org/eclipse/jgit/pgm/CommandCatalog.java
Rule |
Violation |
Priority |
Line |
EmptyCatchBlock |
Avoid empty catch blocks |
3 |
152–154 |
org/eclipse/jgit/pgm/Fetch.java
Rule |
Violation |
Priority |
Line |
EmptyCatchBlock |
Avoid empty catch blocks |
3 |
190–192 |
org/eclipse/jgit/pgm/LsFiles.java
Rule |
Violation |
Priority |
Line |
TooManyStaticImports |
Too many static imports may lead to messy code |
3 |
43–110 |
org/eclipse/jgit/pgm/Main.java
Rule |
Violation |
Priority |
Line |
UselessParentheses |
Useless parentheses. |
4 |
388 |
org/eclipse/jgit/pgm/RevWalkTextBuiltin.java
Rule |
Violation |
Priority |
Line |
EmptyCatchBlock |
Avoid empty catch blocks |
3 |
178–180 |
org/eclipse/jgit/pgm/TextBuiltin.java
Rule |
Violation |
Priority |
Line |
TooManyStaticImports |
Too many static imports may lead to messy code |
3 |
45–502 |
org/eclipse/jgit/pgm/Version.java
Rule |
Violation |
Priority |
Line |
EmptyCatchBlock |
Avoid empty catch blocks |
3 |
109–111 |
org/eclipse/jgit/pgm/debug/BenchmarkReftable.java
Rule |
Violation |
Priority |
Line |
TooManyStaticImports |
Too many static imports may lead to messy code |
3 |
44–316 |
org/eclipse/jgit/pgm/debug/LfsStore.java
Rule |
Violation |
Priority |
Line |
UnnecessaryModifier |
Unnecessary modifier 'static' on enum 'StoreType': nested enums are implicitly static |
3 |
164–166 |
UnnecessaryModifier |
Unnecessary modifier 'static' on enum 'StorageClass': nested enums are implicitly static |
3 |
168–170 |
org/eclipse/jgit/pgm/debug/RebuildCommitGraph.java
Rule |
Violation |
Priority |
Line |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'br': resource specifications are implicitly final |
3 |
144–146 |
EmptyCatchBlock |
Avoid empty catch blocks |
3 |
155–157 |
org/eclipse/jgit/pgm/debug/ShowCommands.java
Rule |
Violation |
Priority |
Line |
UnnecessaryModifier |
Unnecessary modifier 'static' on enum 'Format': nested enums are implicitly static |
3 |
86–129 |
org/eclipse/jgit/pgm/debug/TextHashFunctions.java
Rule |
Violation |
Priority |
Line |
UselessParentheses |
Useless parentheses. |
4 |
115 |
org/eclipse/jgit/pgm/debug/WriteReftable.java
Rule |
Violation |
Priority |
Line |
TooManyStaticImports |
Too many static imports may lead to messy code |
3 |
44–302 |
org/eclipse/jgit/pgm/opt/CmdLineParser.java
Rule |
Violation |
Priority |
Line |
SimplifiedTernary |
Ternary operators that can be simplified with || or && |
3 |
295 |