PMD Results

The following document contains the results of PMD 6.49.0.

Violations By Priority

Priority 3

org/eclipse/jgit/benchmarks/SHA1Benchmark.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 67–69

Priority 4

org/eclipse/jgit/benchmarks/jmh_generated/CreateFileSnapshotBenchmark_jmhType_B1.java

Rule Violation Line
UnnecessaryImport Unused import 'org.eclipse.jgit.benchmarks.CreateFileSnapshotBenchmark' 2
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.eclipse.jgit.benchmarks.CreateFileSnapshotBenchmark' due to existing import 'org.eclipse.jgit.benchmarks.CreateFileSnapshotBenchmark' 3

org/eclipse/jgit/benchmarks/jmh_generated/CreateFileSnapshotBenchmark_testCreateFileSnapshot_jmhTest.java

Rule Violation Line
UnnecessaryImport Unused import 'java.util.List' 3
UnnecessaryImport Unused import 'java.util.concurrent.atomic.AtomicInteger' 4
UnnecessaryImport Unused import 'java.util.Collection' 5
UnnecessaryImport Unused import 'java.util.ArrayList' 6
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.CompilerControl' 8
UnnecessaryImport Unused import 'org.openjdk.jmh.results.Result' 12
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Mode' 18
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Fork' 19
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Measurement' 20
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Threads' 21
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Warmup' 22
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.BenchmarkMode' 23
UnnecessaryImport Unused import 'java.lang.reflect.Field' 26
UnnecessaryImport Unused import 'org.openjdk.jmh.results.ScalarResult' 31
UnnecessaryImport Unused import 'org.openjdk.jmh.results.AggregationPolicy' 32
UnnecessaryImport Unnecessary import from the current package 'org.eclipse.jgit.benchmarks.jmh_generated.CreateFileSnapshotBenchmark_jmhType' 35
UselessParentheses Useless parentheses. 260

org/eclipse/jgit/benchmarks/jmh_generated/CreateFileSnapshotBenchmark_testCreateFile_jmhTest.java

Rule Violation Line
UnnecessaryImport Unused import 'java.util.List' 3
UnnecessaryImport Unused import 'java.util.concurrent.atomic.AtomicInteger' 4
UnnecessaryImport Unused import 'java.util.Collection' 5
UnnecessaryImport Unused import 'java.util.ArrayList' 6
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.CompilerControl' 8
UnnecessaryImport Unused import 'org.openjdk.jmh.results.Result' 12
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Mode' 18
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Fork' 19
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Measurement' 20
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Threads' 21
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Warmup' 22
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.BenchmarkMode' 23
UnnecessaryImport Unused import 'java.lang.reflect.Field' 26
UnnecessaryImport Unused import 'org.openjdk.jmh.results.ScalarResult' 31
UnnecessaryImport Unused import 'org.openjdk.jmh.results.AggregationPolicy' 32
UnnecessaryImport Unnecessary import from the current package 'org.eclipse.jgit.benchmarks.jmh_generated.CreateFileSnapshotBenchmark_jmhType' 35
UselessParentheses Useless parentheses. 260

org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_jmhType_B1.java

Rule Violation Line
UnnecessaryImport Unused import 'org.eclipse.jgit.benchmarks.FileMoveBenchmark' 2
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.eclipse.jgit.benchmarks.FileMoveBenchmark' due to existing import 'org.eclipse.jgit.benchmarks.FileMoveBenchmark' 3

org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToExistingDirExists_jmhTest.java

Rule Violation Line
UnnecessaryImport Unused import 'java.util.List' 3
UnnecessaryImport Unused import 'java.util.concurrent.atomic.AtomicInteger' 4
UnnecessaryImport Unused import 'java.util.Collection' 5
UnnecessaryImport Unused import 'java.util.ArrayList' 6
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.CompilerControl' 8
UnnecessaryImport Unused import 'org.openjdk.jmh.results.Result' 12
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Mode' 18
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Fork' 19
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Measurement' 20
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Threads' 21
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Warmup' 22
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.BenchmarkMode' 23
UnnecessaryImport Unused import 'java.lang.reflect.Field' 26
UnnecessaryImport Unused import 'org.openjdk.jmh.results.ScalarResult' 31
UnnecessaryImport Unused import 'org.openjdk.jmh.results.AggregationPolicy' 32
UnnecessaryImport Unnecessary import from the current package 'org.eclipse.jgit.benchmarks.jmh_generated.FileMoveBenchmark_jmhType' 35
UselessParentheses Useless parentheses. 260

org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToExistingDir_jmhTest.java

Rule Violation Line
UnnecessaryImport Unused import 'java.util.List' 3
UnnecessaryImport Unused import 'java.util.concurrent.atomic.AtomicInteger' 4
UnnecessaryImport Unused import 'java.util.Collection' 5
UnnecessaryImport Unused import 'java.util.ArrayList' 6
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.CompilerControl' 8
UnnecessaryImport Unused import 'org.openjdk.jmh.results.Result' 12
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Mode' 18
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Fork' 19
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Measurement' 20
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Threads' 21
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Warmup' 22
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.BenchmarkMode' 23
UnnecessaryImport Unused import 'java.lang.reflect.Field' 26
UnnecessaryImport Unused import 'org.openjdk.jmh.results.ScalarResult' 31
UnnecessaryImport Unused import 'org.openjdk.jmh.results.AggregationPolicy' 32
UnnecessaryImport Unnecessary import from the current package 'org.eclipse.jgit.benchmarks.jmh_generated.FileMoveBenchmark_jmhType' 35
UselessParentheses Useless parentheses. 260

org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToMissingDirExists_jmhTest.java

Rule Violation Line
UnnecessaryImport Unused import 'java.util.List' 3
UnnecessaryImport Unused import 'java.util.concurrent.atomic.AtomicInteger' 4
UnnecessaryImport Unused import 'java.util.Collection' 5
UnnecessaryImport Unused import 'java.util.ArrayList' 6
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.CompilerControl' 8
UnnecessaryImport Unused import 'org.openjdk.jmh.results.Result' 12
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Mode' 18
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Fork' 19
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Measurement' 20
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Threads' 21
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Warmup' 22
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.BenchmarkMode' 23
UnnecessaryImport Unused import 'java.lang.reflect.Field' 26
UnnecessaryImport Unused import 'org.openjdk.jmh.results.ScalarResult' 31
UnnecessaryImport Unused import 'org.openjdk.jmh.results.AggregationPolicy' 32
UnnecessaryImport Unnecessary import from the current package 'org.eclipse.jgit.benchmarks.jmh_generated.FileMoveBenchmark_jmhType' 35
UselessParentheses Useless parentheses. 260

org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToMissingDir_jmhTest.java

Rule Violation Line
UnnecessaryImport Unused import 'java.util.List' 3
UnnecessaryImport Unused import 'java.util.concurrent.atomic.AtomicInteger' 4
UnnecessaryImport Unused import 'java.util.Collection' 5
UnnecessaryImport Unused import 'java.util.ArrayList' 6
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.CompilerControl' 8
UnnecessaryImport Unused import 'org.openjdk.jmh.results.Result' 12
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Mode' 18
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Fork' 19
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Measurement' 20
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Threads' 21
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Warmup' 22
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.BenchmarkMode' 23
UnnecessaryImport Unused import 'java.lang.reflect.Field' 26
UnnecessaryImport Unused import 'org.openjdk.jmh.results.ScalarResult' 31
UnnecessaryImport Unused import 'org.openjdk.jmh.results.AggregationPolicy' 32
UnnecessaryImport Unnecessary import from the current package 'org.eclipse.jgit.benchmarks.jmh_generated.FileMoveBenchmark_jmhType' 35
UselessParentheses Useless parentheses. 260

org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_BenchmarkState_jmhType_B1.java

Rule Violation Line
UnnecessaryImport Unused import 'org.eclipse.jgit.benchmarks.GetRefsBenchmark.BenchmarkState' 2
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.eclipse.jgit.benchmarks.GetRefsBenchmark.BenchmarkState' due to existing import 'org.eclipse.jgit.benchmarks.GetRefsBenchmark.BenchmarkState' 3

org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_jmhType_B1.java

Rule Violation Line
UnnecessaryImport Unused import 'org.eclipse.jgit.benchmarks.GetRefsBenchmark' 2
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.eclipse.jgit.benchmarks.GetRefsBenchmark' due to existing import 'org.eclipse.jgit.benchmarks.GetRefsBenchmark' 3

org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetExactRef_jmhTest.java

Rule Violation Line
UnnecessaryImport Unused import 'java.util.List' 3
UnnecessaryImport Unused import 'java.util.concurrent.atomic.AtomicInteger' 4
UnnecessaryImport Unused import 'java.util.Collection' 5
UnnecessaryImport Unused import 'java.util.ArrayList' 6
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.CompilerControl' 8
UnnecessaryImport Unused import 'org.openjdk.jmh.results.Result' 12
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Mode' 18
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Fork' 19
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Measurement' 20
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Threads' 21
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Warmup' 22
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.BenchmarkMode' 23
UnnecessaryImport Unused import 'org.openjdk.jmh.results.ScalarResult' 31
UnnecessaryImport Unused import 'org.openjdk.jmh.results.AggregationPolicy' 32
UnnecessaryImport Unnecessary import from the current package 'org.eclipse.jgit.benchmarks.jmh_generated.GetRefsBenchmark_BenchmarkState_jmhType' 35
UnnecessaryImport Unnecessary import from the current package 'org.eclipse.jgit.benchmarks.jmh_generated.GetRefsBenchmark_jmhType' 36
UselessParentheses Useless parentheses. 336

org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetRefsByPrefix_jmhTest.java

Rule Violation Line
UnnecessaryImport Unused import 'java.util.List' 3
UnnecessaryImport Unused import 'java.util.concurrent.atomic.AtomicInteger' 4
UnnecessaryImport Unused import 'java.util.Collection' 5
UnnecessaryImport Unused import 'java.util.ArrayList' 6
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.CompilerControl' 8
UnnecessaryImport Unused import 'org.openjdk.jmh.results.Result' 12
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Mode' 18
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Fork' 19
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Measurement' 20
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Threads' 21
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Warmup' 22
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.BenchmarkMode' 23
UnnecessaryImport Unused import 'org.openjdk.jmh.results.ScalarResult' 31
UnnecessaryImport Unused import 'org.openjdk.jmh.results.AggregationPolicy' 32
UnnecessaryImport Unnecessary import from the current package 'org.eclipse.jgit.benchmarks.jmh_generated.GetRefsBenchmark_BenchmarkState_jmhType' 35
UnnecessaryImport Unnecessary import from the current package 'org.eclipse.jgit.benchmarks.jmh_generated.GetRefsBenchmark_jmhType' 36
UselessParentheses Useless parentheses. 336

org/eclipse/jgit/benchmarks/jmh_generated/LookupFileStoreBenchmark_jmhType_B1.java

Rule Violation Line
UnnecessaryImport Unused import 'org.eclipse.jgit.benchmarks.LookupFileStoreBenchmark' 2
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.eclipse.jgit.benchmarks.LookupFileStoreBenchmark' due to existing import 'org.eclipse.jgit.benchmarks.LookupFileStoreBenchmark' 3

org/eclipse/jgit/benchmarks/jmh_generated/LookupFileStoreBenchmark_testLookupFileStore_jmhTest.java

Rule Violation Line
UnnecessaryImport Unused import 'java.util.List' 3
UnnecessaryImport Unused import 'java.util.concurrent.atomic.AtomicInteger' 4
UnnecessaryImport Unused import 'java.util.Collection' 5
UnnecessaryImport Unused import 'java.util.ArrayList' 6
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.CompilerControl' 8
UnnecessaryImport Unused import 'org.openjdk.jmh.results.Result' 12
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Mode' 18
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Fork' 19
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Measurement' 20
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Threads' 21
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Warmup' 22
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.BenchmarkMode' 23
UnnecessaryImport Unused import 'java.lang.reflect.Field' 26
UnnecessaryImport Unused import 'org.openjdk.jmh.results.ScalarResult' 31
UnnecessaryImport Unused import 'org.openjdk.jmh.results.AggregationPolicy' 32
UnnecessaryImport Unnecessary import from the current package 'org.eclipse.jgit.benchmarks.jmh_generated.LookupFileStoreBenchmark_jmhType' 35
UselessParentheses Useless parentheses. 260

org/eclipse/jgit/benchmarks/jmh_generated/SHA1Benchmark_BenchmarkState_jmhType_B1.java

Rule Violation Line
UnnecessaryImport Unused import 'org.eclipse.jgit.benchmarks.SHA1Benchmark.BenchmarkState' 2
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.eclipse.jgit.benchmarks.SHA1Benchmark.BenchmarkState' due to existing import 'org.eclipse.jgit.benchmarks.SHA1Benchmark.BenchmarkState' 3

org/eclipse/jgit/benchmarks/jmh_generated/SHA1Benchmark_jmhType_B1.java

Rule Violation Line
UnnecessaryImport Unused import 'org.eclipse.jgit.benchmarks.SHA1Benchmark' 2
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.eclipse.jgit.benchmarks.SHA1Benchmark' due to existing import 'org.eclipse.jgit.benchmarks.SHA1Benchmark' 3

org/eclipse/jgit/benchmarks/jmh_generated/SHA1Benchmark_testSHA1_jmhTest.java

Rule Violation Line
UnnecessaryImport Unused import 'java.util.List' 3
UnnecessaryImport Unused import 'java.util.concurrent.atomic.AtomicInteger' 4
UnnecessaryImport Unused import 'java.util.Collection' 5
UnnecessaryImport Unused import 'java.util.ArrayList' 6
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.CompilerControl' 8
UnnecessaryImport Unused import 'org.openjdk.jmh.results.Result' 12
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Mode' 18
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Fork' 19
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Measurement' 20
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Threads' 21
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Warmup' 22
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.BenchmarkMode' 23
UnnecessaryImport Unused import 'org.openjdk.jmh.results.ScalarResult' 31
UnnecessaryImport Unused import 'org.openjdk.jmh.results.AggregationPolicy' 32
UnnecessaryImport Unnecessary import from the current package 'org.eclipse.jgit.benchmarks.jmh_generated.SHA1Benchmark_BenchmarkState_jmhType' 35
UnnecessaryImport Unnecessary import from the current package 'org.eclipse.jgit.benchmarks.jmh_generated.SHA1Benchmark_jmhType' 36
UselessParentheses Useless parentheses. 336

org/eclipse/jgit/benchmarks/jmh_generated/SimpleLruCacheBenchmark_jmhType_B1.java

Rule Violation Line
UnnecessaryImport Unused import 'org.eclipse.jgit.benchmarks.SimpleLruCacheBenchmark' 2
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.eclipse.jgit.benchmarks.SimpleLruCacheBenchmark' due to existing import 'org.eclipse.jgit.benchmarks.SimpleLruCacheBenchmark' 3

org/eclipse/jgit/benchmarks/jmh_generated/SimpleLruCacheBenchmark_readwrite_jmhTest.java

Rule Violation Line
UnnecessaryImport Unused import 'java.util.List' 3
UnnecessaryImport Unused import 'java.util.concurrent.atomic.AtomicInteger' 4
UnnecessaryImport Unused import 'java.util.Collection' 5
UnnecessaryImport Unused import 'java.util.ArrayList' 6
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.CompilerControl' 8
UnnecessaryImport Unused import 'org.openjdk.jmh.results.Result' 12
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Mode' 18
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Fork' 19
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Measurement' 20
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Threads' 21
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Warmup' 22
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.BenchmarkMode' 23
UnnecessaryImport Unused import 'java.lang.reflect.Field' 26
UnnecessaryImport Unused import 'org.openjdk.jmh.results.ScalarResult' 31
UnnecessaryImport Unused import 'org.openjdk.jmh.results.AggregationPolicy' 32
UnnecessaryImport Unnecessary import from the current package 'org.eclipse.jgit.benchmarks.jmh_generated.SimpleLruCacheBenchmark_jmhType' 35
UselessParentheses Useless parentheses. 560
UselessParentheses Useless parentheses. 592

Files

org/eclipse/jgit/benchmarks/jmh_generated/CreateFileSnapshotBenchmark_jmhType_B1.java

Rule Violation Priority Line
UnnecessaryImport Unused import 'org.eclipse.jgit.benchmarks.CreateFileSnapshotBenchmark' 4 2
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.eclipse.jgit.benchmarks.CreateFileSnapshotBenchmark' due to existing import 'org.eclipse.jgit.benchmarks.CreateFileSnapshotBenchmark' 4 3

org/eclipse/jgit/benchmarks/jmh_generated/CreateFileSnapshotBenchmark_testCreateFileSnapshot_jmhTest.java

Rule Violation Priority Line
UnnecessaryImport Unused import 'java.util.List' 4 3
UnnecessaryImport Unused import 'java.util.concurrent.atomic.AtomicInteger' 4 4
UnnecessaryImport Unused import 'java.util.Collection' 4 5
UnnecessaryImport Unused import 'java.util.ArrayList' 4 6
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.CompilerControl' 4 8
UnnecessaryImport Unused import 'org.openjdk.jmh.results.Result' 4 12
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Mode' 4 18
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Fork' 4 19
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Measurement' 4 20
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Threads' 4 21
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Warmup' 4 22
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.BenchmarkMode' 4 23
UnnecessaryImport Unused import 'java.lang.reflect.Field' 4 26
UnnecessaryImport Unused import 'org.openjdk.jmh.results.ScalarResult' 4 31
UnnecessaryImport Unused import 'org.openjdk.jmh.results.AggregationPolicy' 4 32
UnnecessaryImport Unnecessary import from the current package 'org.eclipse.jgit.benchmarks.jmh_generated.CreateFileSnapshotBenchmark_jmhType' 4 35
UselessParentheses Useless parentheses. 4 260

org/eclipse/jgit/benchmarks/jmh_generated/CreateFileSnapshotBenchmark_testCreateFile_jmhTest.java

Rule Violation Priority Line
UnnecessaryImport Unused import 'java.util.List' 4 3
UnnecessaryImport Unused import 'java.util.concurrent.atomic.AtomicInteger' 4 4
UnnecessaryImport Unused import 'java.util.Collection' 4 5
UnnecessaryImport Unused import 'java.util.ArrayList' 4 6
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.CompilerControl' 4 8
UnnecessaryImport Unused import 'org.openjdk.jmh.results.Result' 4 12
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Mode' 4 18
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Fork' 4 19
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Measurement' 4 20
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Threads' 4 21
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Warmup' 4 22
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.BenchmarkMode' 4 23
UnnecessaryImport Unused import 'java.lang.reflect.Field' 4 26
UnnecessaryImport Unused import 'org.openjdk.jmh.results.ScalarResult' 4 31
UnnecessaryImport Unused import 'org.openjdk.jmh.results.AggregationPolicy' 4 32
UnnecessaryImport Unnecessary import from the current package 'org.eclipse.jgit.benchmarks.jmh_generated.CreateFileSnapshotBenchmark_jmhType' 4 35
UselessParentheses Useless parentheses. 4 260

org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_jmhType_B1.java

Rule Violation Priority Line
UnnecessaryImport Unused import 'org.eclipse.jgit.benchmarks.FileMoveBenchmark' 4 2
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.eclipse.jgit.benchmarks.FileMoveBenchmark' due to existing import 'org.eclipse.jgit.benchmarks.FileMoveBenchmark' 4 3

org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToExistingDirExists_jmhTest.java

Rule Violation Priority Line
UnnecessaryImport Unused import 'java.util.List' 4 3
UnnecessaryImport Unused import 'java.util.concurrent.atomic.AtomicInteger' 4 4
UnnecessaryImport Unused import 'java.util.Collection' 4 5
UnnecessaryImport Unused import 'java.util.ArrayList' 4 6
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.CompilerControl' 4 8
UnnecessaryImport Unused import 'org.openjdk.jmh.results.Result' 4 12
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Mode' 4 18
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Fork' 4 19
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Measurement' 4 20
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Threads' 4 21
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Warmup' 4 22
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.BenchmarkMode' 4 23
UnnecessaryImport Unused import 'java.lang.reflect.Field' 4 26
UnnecessaryImport Unused import 'org.openjdk.jmh.results.ScalarResult' 4 31
UnnecessaryImport Unused import 'org.openjdk.jmh.results.AggregationPolicy' 4 32
UnnecessaryImport Unnecessary import from the current package 'org.eclipse.jgit.benchmarks.jmh_generated.FileMoveBenchmark_jmhType' 4 35
UselessParentheses Useless parentheses. 4 260

org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToExistingDir_jmhTest.java

Rule Violation Priority Line
UnnecessaryImport Unused import 'java.util.List' 4 3
UnnecessaryImport Unused import 'java.util.concurrent.atomic.AtomicInteger' 4 4
UnnecessaryImport Unused import 'java.util.Collection' 4 5
UnnecessaryImport Unused import 'java.util.ArrayList' 4 6
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.CompilerControl' 4 8
UnnecessaryImport Unused import 'org.openjdk.jmh.results.Result' 4 12
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Mode' 4 18
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Fork' 4 19
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Measurement' 4 20
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Threads' 4 21
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Warmup' 4 22
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.BenchmarkMode' 4 23
UnnecessaryImport Unused import 'java.lang.reflect.Field' 4 26
UnnecessaryImport Unused import 'org.openjdk.jmh.results.ScalarResult' 4 31
UnnecessaryImport Unused import 'org.openjdk.jmh.results.AggregationPolicy' 4 32
UnnecessaryImport Unnecessary import from the current package 'org.eclipse.jgit.benchmarks.jmh_generated.FileMoveBenchmark_jmhType' 4 35
UselessParentheses Useless parentheses. 4 260

org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToMissingDirExists_jmhTest.java

Rule Violation Priority Line
UnnecessaryImport Unused import 'java.util.List' 4 3
UnnecessaryImport Unused import 'java.util.concurrent.atomic.AtomicInteger' 4 4
UnnecessaryImport Unused import 'java.util.Collection' 4 5
UnnecessaryImport Unused import 'java.util.ArrayList' 4 6
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.CompilerControl' 4 8
UnnecessaryImport Unused import 'org.openjdk.jmh.results.Result' 4 12
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Mode' 4 18
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Fork' 4 19
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Measurement' 4 20
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Threads' 4 21
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Warmup' 4 22
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.BenchmarkMode' 4 23
UnnecessaryImport Unused import 'java.lang.reflect.Field' 4 26
UnnecessaryImport Unused import 'org.openjdk.jmh.results.ScalarResult' 4 31
UnnecessaryImport Unused import 'org.openjdk.jmh.results.AggregationPolicy' 4 32
UnnecessaryImport Unnecessary import from the current package 'org.eclipse.jgit.benchmarks.jmh_generated.FileMoveBenchmark_jmhType' 4 35
UselessParentheses Useless parentheses. 4 260

org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToMissingDir_jmhTest.java

Rule Violation Priority Line
UnnecessaryImport Unused import 'java.util.List' 4 3
UnnecessaryImport Unused import 'java.util.concurrent.atomic.AtomicInteger' 4 4
UnnecessaryImport Unused import 'java.util.Collection' 4 5
UnnecessaryImport Unused import 'java.util.ArrayList' 4 6
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.CompilerControl' 4 8
UnnecessaryImport Unused import 'org.openjdk.jmh.results.Result' 4 12
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Mode' 4 18
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Fork' 4 19
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Measurement' 4 20
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Threads' 4 21
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Warmup' 4 22
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.BenchmarkMode' 4 23
UnnecessaryImport Unused import 'java.lang.reflect.Field' 4 26
UnnecessaryImport Unused import 'org.openjdk.jmh.results.ScalarResult' 4 31
UnnecessaryImport Unused import 'org.openjdk.jmh.results.AggregationPolicy' 4 32
UnnecessaryImport Unnecessary import from the current package 'org.eclipse.jgit.benchmarks.jmh_generated.FileMoveBenchmark_jmhType' 4 35
UselessParentheses Useless parentheses. 4 260

org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_BenchmarkState_jmhType_B1.java

Rule Violation Priority Line
UnnecessaryImport Unused import 'org.eclipse.jgit.benchmarks.GetRefsBenchmark.BenchmarkState' 4 2
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.eclipse.jgit.benchmarks.GetRefsBenchmark.BenchmarkState' due to existing import 'org.eclipse.jgit.benchmarks.GetRefsBenchmark.BenchmarkState' 4 3

org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_jmhType_B1.java

Rule Violation Priority Line
UnnecessaryImport Unused import 'org.eclipse.jgit.benchmarks.GetRefsBenchmark' 4 2
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.eclipse.jgit.benchmarks.GetRefsBenchmark' due to existing import 'org.eclipse.jgit.benchmarks.GetRefsBenchmark' 4 3

org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetExactRef_jmhTest.java

Rule Violation Priority Line
UnnecessaryImport Unused import 'java.util.List' 4 3
UnnecessaryImport Unused import 'java.util.concurrent.atomic.AtomicInteger' 4 4
UnnecessaryImport Unused import 'java.util.Collection' 4 5
UnnecessaryImport Unused import 'java.util.ArrayList' 4 6
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.CompilerControl' 4 8
UnnecessaryImport Unused import 'org.openjdk.jmh.results.Result' 4 12
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Mode' 4 18
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Fork' 4 19
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Measurement' 4 20
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Threads' 4 21
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Warmup' 4 22
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.BenchmarkMode' 4 23
UnnecessaryImport Unused import 'org.openjdk.jmh.results.ScalarResult' 4 31
UnnecessaryImport Unused import 'org.openjdk.jmh.results.AggregationPolicy' 4 32
UnnecessaryImport Unnecessary import from the current package 'org.eclipse.jgit.benchmarks.jmh_generated.GetRefsBenchmark_BenchmarkState_jmhType' 4 35
UnnecessaryImport Unnecessary import from the current package 'org.eclipse.jgit.benchmarks.jmh_generated.GetRefsBenchmark_jmhType' 4 36
UselessParentheses Useless parentheses. 4 336

org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetRefsByPrefix_jmhTest.java

Rule Violation Priority Line
UnnecessaryImport Unused import 'java.util.List' 4 3
UnnecessaryImport Unused import 'java.util.concurrent.atomic.AtomicInteger' 4 4
UnnecessaryImport Unused import 'java.util.Collection' 4 5
UnnecessaryImport Unused import 'java.util.ArrayList' 4 6
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.CompilerControl' 4 8
UnnecessaryImport Unused import 'org.openjdk.jmh.results.Result' 4 12
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Mode' 4 18
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Fork' 4 19
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Measurement' 4 20
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Threads' 4 21
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Warmup' 4 22
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.BenchmarkMode' 4 23
UnnecessaryImport Unused import 'org.openjdk.jmh.results.ScalarResult' 4 31
UnnecessaryImport Unused import 'org.openjdk.jmh.results.AggregationPolicy' 4 32
UnnecessaryImport Unnecessary import from the current package 'org.eclipse.jgit.benchmarks.jmh_generated.GetRefsBenchmark_BenchmarkState_jmhType' 4 35
UnnecessaryImport Unnecessary import from the current package 'org.eclipse.jgit.benchmarks.jmh_generated.GetRefsBenchmark_jmhType' 4 36
UselessParentheses Useless parentheses. 4 336

org/eclipse/jgit/benchmarks/jmh_generated/LookupFileStoreBenchmark_jmhType_B1.java

Rule Violation Priority Line
UnnecessaryImport Unused import 'org.eclipse.jgit.benchmarks.LookupFileStoreBenchmark' 4 2
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.eclipse.jgit.benchmarks.LookupFileStoreBenchmark' due to existing import 'org.eclipse.jgit.benchmarks.LookupFileStoreBenchmark' 4 3

org/eclipse/jgit/benchmarks/jmh_generated/LookupFileStoreBenchmark_testLookupFileStore_jmhTest.java

Rule Violation Priority Line
UnnecessaryImport Unused import 'java.util.List' 4 3
UnnecessaryImport Unused import 'java.util.concurrent.atomic.AtomicInteger' 4 4
UnnecessaryImport Unused import 'java.util.Collection' 4 5
UnnecessaryImport Unused import 'java.util.ArrayList' 4 6
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.CompilerControl' 4 8
UnnecessaryImport Unused import 'org.openjdk.jmh.results.Result' 4 12
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Mode' 4 18
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Fork' 4 19
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Measurement' 4 20
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Threads' 4 21
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Warmup' 4 22
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.BenchmarkMode' 4 23
UnnecessaryImport Unused import 'java.lang.reflect.Field' 4 26
UnnecessaryImport Unused import 'org.openjdk.jmh.results.ScalarResult' 4 31
UnnecessaryImport Unused import 'org.openjdk.jmh.results.AggregationPolicy' 4 32
UnnecessaryImport Unnecessary import from the current package 'org.eclipse.jgit.benchmarks.jmh_generated.LookupFileStoreBenchmark_jmhType' 4 35
UselessParentheses Useless parentheses. 4 260

org/eclipse/jgit/benchmarks/jmh_generated/SHA1Benchmark_BenchmarkState_jmhType_B1.java

Rule Violation Priority Line
UnnecessaryImport Unused import 'org.eclipse.jgit.benchmarks.SHA1Benchmark.BenchmarkState' 4 2
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.eclipse.jgit.benchmarks.SHA1Benchmark.BenchmarkState' due to existing import 'org.eclipse.jgit.benchmarks.SHA1Benchmark.BenchmarkState' 4 3

org/eclipse/jgit/benchmarks/jmh_generated/SHA1Benchmark_jmhType_B1.java

Rule Violation Priority Line
UnnecessaryImport Unused import 'org.eclipse.jgit.benchmarks.SHA1Benchmark' 4 2
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.eclipse.jgit.benchmarks.SHA1Benchmark' due to existing import 'org.eclipse.jgit.benchmarks.SHA1Benchmark' 4 3

org/eclipse/jgit/benchmarks/jmh_generated/SHA1Benchmark_testSHA1_jmhTest.java

Rule Violation Priority Line
UnnecessaryImport Unused import 'java.util.List' 4 3
UnnecessaryImport Unused import 'java.util.concurrent.atomic.AtomicInteger' 4 4
UnnecessaryImport Unused import 'java.util.Collection' 4 5
UnnecessaryImport Unused import 'java.util.ArrayList' 4 6
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.CompilerControl' 4 8
UnnecessaryImport Unused import 'org.openjdk.jmh.results.Result' 4 12
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Mode' 4 18
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Fork' 4 19
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Measurement' 4 20
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Threads' 4 21
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Warmup' 4 22
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.BenchmarkMode' 4 23
UnnecessaryImport Unused import 'org.openjdk.jmh.results.ScalarResult' 4 31
UnnecessaryImport Unused import 'org.openjdk.jmh.results.AggregationPolicy' 4 32
UnnecessaryImport Unnecessary import from the current package 'org.eclipse.jgit.benchmarks.jmh_generated.SHA1Benchmark_BenchmarkState_jmhType' 4 35
UnnecessaryImport Unnecessary import from the current package 'org.eclipse.jgit.benchmarks.jmh_generated.SHA1Benchmark_jmhType' 4 36
UselessParentheses Useless parentheses. 4 336

org/eclipse/jgit/benchmarks/jmh_generated/SimpleLruCacheBenchmark_jmhType_B1.java

Rule Violation Priority Line
UnnecessaryImport Unused import 'org.eclipse.jgit.benchmarks.SimpleLruCacheBenchmark' 4 2
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.eclipse.jgit.benchmarks.SimpleLruCacheBenchmark' due to existing import 'org.eclipse.jgit.benchmarks.SimpleLruCacheBenchmark' 4 3

org/eclipse/jgit/benchmarks/jmh_generated/SimpleLruCacheBenchmark_readwrite_jmhTest.java

Rule Violation Priority Line
UnnecessaryImport Unused import 'java.util.List' 4 3
UnnecessaryImport Unused import 'java.util.concurrent.atomic.AtomicInteger' 4 4
UnnecessaryImport Unused import 'java.util.Collection' 4 5
UnnecessaryImport Unused import 'java.util.ArrayList' 4 6
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.CompilerControl' 4 8
UnnecessaryImport Unused import 'org.openjdk.jmh.results.Result' 4 12
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Mode' 4 18
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Fork' 4 19
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Measurement' 4 20
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Threads' 4 21
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.Warmup' 4 22
UnnecessaryImport Unused import 'org.openjdk.jmh.annotations.BenchmarkMode' 4 23
UnnecessaryImport Unused import 'java.lang.reflect.Field' 4 26
UnnecessaryImport Unused import 'org.openjdk.jmh.results.ScalarResult' 4 31
UnnecessaryImport Unused import 'org.openjdk.jmh.results.AggregationPolicy' 4 32
UnnecessaryImport Unnecessary import from the current package 'org.eclipse.jgit.benchmarks.jmh_generated.SimpleLruCacheBenchmark_jmhType' 4 35
UselessParentheses Useless parentheses. 4 560
UselessParentheses Useless parentheses. 4 592

org/eclipse/jgit/benchmarks/SHA1Benchmark.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 67–69