PMD Results
The following document contains the results of PMD 6.21.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 |
36 |
UnnecessaryModifier |
Unnecessary modifier 'public' on method 'usage': the method is declared in an annotation type |
43 |
UnnecessaryModifier |
Unnecessary modifier 'public' on method 'common': the method is declared in an annotation type |
50 |
org/eclipse/jgit/pgm/CommandCatalog.java
Rule |
Violation |
Line |
EmptyCatchBlock |
Avoid empty catch blocks |
119–121 |
org/eclipse/jgit/pgm/LsFiles.java
Rule |
Violation |
Line |
TooManyStaticImports |
Too many static imports may lead to messy code |
10–77 |
org/eclipse/jgit/pgm/RevWalkTextBuiltin.java
Rule |
Violation |
Line |
EmptyCatchBlock |
Avoid empty catch blocks |
145–147 |
org/eclipse/jgit/pgm/TextBuiltin.java
Rule |
Violation |
Line |
TooManyStaticImports |
Too many static imports may lead to messy code |
12–473 |
org/eclipse/jgit/pgm/Version.java
Rule |
Violation |
Line |
EmptyCatchBlock |
Avoid empty catch blocks |
76–78 |
org/eclipse/jgit/pgm/debug/BenchmarkReftable.java
Rule |
Violation |
Line |
TooManyStaticImports |
Too many static imports may lead to messy code |
11–318 |
org/eclipse/jgit/pgm/debug/RebuildCommitGraph.java
Rule |
Violation |
Line |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'br': resource specifications are implicitly final |
111–113 |
EmptyCatchBlock |
Avoid empty catch blocks |
122–124 |
org/eclipse/jgit/pgm/debug/WriteReftable.java
Rule |
Violation |
Line |
TooManyStaticImports |
Too many static imports may lead to messy code |
11–269 |
org/eclipse/jgit/pgm/opt/CmdLineParser.java
Rule |
Violation |
Line |
SimplifiedTernary |
Ternary operators that can be simplified with || or && |
262 |
Priority 4
org/eclipse/jgit/pgm/debug/TextHashFunctions.java
Rule |
Violation |
Line |
UselessParentheses |
Useless parentheses. |
82 |
Files
org/eclipse/jgit/pgm/Blame.java
Rule |
Violation |
Priority |
Line |
UselessParentheses |
Useless parentheses. |
4 |
363 |
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 |
36 |
UnnecessaryModifier |
Unnecessary modifier 'public' on method 'usage': the method is declared in an annotation type |
3 |
43 |
UnnecessaryModifier |
Unnecessary modifier 'public' on method 'common': the method is declared in an annotation type |
3 |
50 |
org/eclipse/jgit/pgm/CommandCatalog.java
Rule |
Violation |
Priority |
Line |
EmptyCatchBlock |
Avoid empty catch blocks |
3 |
119–121 |
org/eclipse/jgit/pgm/Fetch.java
Rule |
Violation |
Priority |
Line |
EmptyCatchBlock |
Avoid empty catch blocks |
3 |
157–159 |
org/eclipse/jgit/pgm/LsFiles.java
Rule |
Violation |
Priority |
Line |
TooManyStaticImports |
Too many static imports may lead to messy code |
3 |
10–77 |
org/eclipse/jgit/pgm/Main.java
Rule |
Violation |
Priority |
Line |
UselessParentheses |
Useless parentheses. |
4 |
355 |
org/eclipse/jgit/pgm/RevWalkTextBuiltin.java
Rule |
Violation |
Priority |
Line |
EmptyCatchBlock |
Avoid empty catch blocks |
3 |
145–147 |
org/eclipse/jgit/pgm/TextBuiltin.java
Rule |
Violation |
Priority |
Line |
TooManyStaticImports |
Too many static imports may lead to messy code |
3 |
12–473 |
org/eclipse/jgit/pgm/Version.java
Rule |
Violation |
Priority |
Line |
EmptyCatchBlock |
Avoid empty catch blocks |
3 |
76–78 |
org/eclipse/jgit/pgm/debug/BenchmarkReftable.java
Rule |
Violation |
Priority |
Line |
TooManyStaticImports |
Too many static imports may lead to messy code |
3 |
11–318 |
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 |
111–113 |
EmptyCatchBlock |
Avoid empty catch blocks |
3 |
122–124 |
org/eclipse/jgit/pgm/debug/TextHashFunctions.java
Rule |
Violation |
Priority |
Line |
UselessParentheses |
Useless parentheses. |
4 |
82 |
org/eclipse/jgit/pgm/debug/WriteReftable.java
Rule |
Violation |
Priority |
Line |
TooManyStaticImports |
Too many static imports may lead to messy code |
3 |
11–269 |
org/eclipse/jgit/pgm/opt/CmdLineParser.java
Rule |
Violation |
Priority |
Line |
SimplifiedTernary |
Ternary operators that can be simplified with || or && |
3 |
262 |