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–367
Avoid unused private fields such as 'zilch'. 63
Unnecessary use of fully qualified name 'Types.forJavaLangReflectType' due to existing static import 'org.javaruntype.type.Types.*' 97
Unnecessary use of fully qualified name 'Types.forJavaLangReflectType' due to existing static import 'org.javaruntype.type.Types.*' 120
Unnecessary use of fully qualified name 'Types.forJavaLangReflectType' due to existing static import 'org.javaruntype.type.Types.*' 131
Unnecessary use of fully qualified name 'Types.forJavaLangReflectType' due to existing static import 'org.javaruntype.type.Types.*' 180
Unnecessary use of fully qualified name 'Types.forJavaLangReflectType' due to existing static import 'org.javaruntype.type.Types.*' 318

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

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

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

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

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.*' 181
Unnecessary use of fully qualified name 'Collections.addAll' due to existing static import 'java.util.Collections.*' 194

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.*' 277
Unnecessary use of fully qualified name 'Ranges.choose' due to existing static import 'com.pholser.junit.quickcheck.internal.Ranges.*' 385

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 110–111