Fork me on GitHub

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–458
Avoid unused private fields such as 'zilch'. 66
Unnecessary use of fully qualified name 'Types.forJavaLangReflectType' due to existing static import 'org.javaruntype.type.Types.*' 84
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.*' 113
Unnecessary use of fully qualified name 'Types.forJavaLangReflectType' due to existing static import 'org.javaruntype.type.Types.*' 121
Unnecessary use of fully qualified name 'Types.forJavaLangReflectType' due to existing static import 'org.javaruntype.type.Types.*' 150
Unnecessary use of fully qualified name 'Types.forJavaLangReflectType' due to existing static import 'org.javaruntype.type.Types.*' 229
Unnecessary use of fully qualified name 'Types.forJavaLangReflectType' due to existing static import 'org.javaruntype.type.Types.*' 408

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

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

com/pholser/junit/quickcheck/internal/conversion/StringConversions.java

Violation Line
Avoid empty catch blocks 55–57

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

Violation Line
Too many static imports may lead to messy code 26–189
Unnecessary use of fully qualified name 'BigDecimal.valueOf' due to existing static import 'java.math.BigDecimal.*' 151
Useless parentheses. 171

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

Violation Line
Too many static imports may lead to messy code 26–404
Unnecessary use of fully qualified name 'Arrays.stream' due to existing static import 'java.util.Arrays.*' 162
Unnecessary use of fully qualified name 'Arrays.stream' due to existing static import 'java.util.Arrays.*' 184
Unnecessary use of fully qualified name 'Collections.addAll' due to existing static import 'java.util.Collections.*' 200
Unnecessary use of fully qualified name 'Arrays.stream' due to existing static import 'java.util.Arrays.*' 399

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

Violation Line
Avoid unused imports such as 'java.util.Comparator' 30
Unnecessary use of fully qualified name 'Collections.sort' due to existing static import 'java.util.Collections.*' 53

com/pholser/junit/quickcheck/internal/sampling/ExhaustiveParameterSampler.java

Violation Line
Unnecessary use of fully qualified name 'Arrays.stream' due to existing static import 'java.util.Arrays.*' 109
Unnecessary use of fully qualified name 'Arrays.stream' due to existing static import 'java.util.Arrays.*' 119

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.*' 278
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/NoValuesSatisfiedPropertyAssumptions.java

Violation Line
Avoid unused private fields such as 'violations'. 11

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

Violation Line
Avoid empty catch blocks 85–86

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

Violation Line
Avoid empty catch blocks 97–98