PMD Results

The following document contains the results of PMD 5.3.5.

Files

com/pholser/junit/quickcheck/internal/ParameterTypeContext.java

Violation Line
Too many static imports may lead to messy code 26–374
Avoid unused private fields such as 'zilch'. 62
Unnecessary use of fully qualified name 'Types.forJavaLangReflectType' due to existing static import 'org.javaruntype.type.Types.*' 96
Unnecessary use of fully qualified name 'Types.forJavaLangReflectType' due to existing static import 'org.javaruntype.type.Types.*' 119
Unnecessary use of fully qualified name 'Types.forJavaLangReflectType' due to existing static import 'org.javaruntype.type.Types.*' 130
Unnecessary use of fully qualified name 'Types.forJavaLangReflectType' due to existing static import 'org.javaruntype.type.Types.*' 181
Unnecessary use of fully qualified name 'Types.forJavaLangReflectType' due to existing static import 'org.javaruntype.type.Types.*' 325

com/pholser/junit/quickcheck/internal/Reflection.java

Violation Line
Too many static imports may lead to messy code 26–286
Unnecessary use of fully qualified name 'Collections.addAll' due to existing static import 'java.util.Collections.*' 150
Unnecessary use of fully qualified name 'Collections.addAll' due to existing static import 'java.util.Collections.*' 188

com/pholser/junit/quickcheck/internal/generator/ArrayGenerator.java

Violation Line
Too many static imports may lead to messy code 26–147
Useless parentheses. 129

com/pholser/junit/quickcheck/internal/generator/GeneratorRepository.java

Violation Line
Unnecessary use of fully qualified name 'Arrays.stream' due to existing static import 'java.util.Arrays.*' 180
Unnecessary use of fully qualified name 'Collections.addAll' due to existing static import 'java.util.Collections.*' 193

com/pholser/junit/quickcheck/internal/generator/ServiceLoaderGeneratorSource.java

Violation Line
Unnecessary use of fully qualified name 'Collections.sort' due to existing static import 'java.util.Collections.*' 51

com/pholser/junit/quickcheck/random/SourceOfRandomness.java

Violation Line
Unnecessary use of fully qualified name 'Ranges.choose' due to existing static import 'com.pholser.junit.quickcheck.internal.Ranges.*' 276
Unnecessary use of fully qualified name 'Ranges.choose' due to existing static import 'com.pholser.junit.quickcheck.internal.Ranges.*' 384

com/pholser/junit/quickcheck/runner/PropertyVerifier.java

Violation Line
Avoid empty catch blocks 84

com/pholser/junit/quickcheck/runner/Shrinker.java

Violation Line
Avoid empty catch blocks 108–109