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–380
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.*' 122
Unnecessary use of fully qualified name 'Types.forJavaLangReflectType' due to existing static import 'org.javaruntype.type.Types.*' 132
Unnecessary use of fully qualified name 'Types.forJavaLangReflectType' due to existing static import 'org.javaruntype.type.Types.*' 187
Unnecessary use of fully qualified name 'Types.forJavaLangReflectType' due to existing static import 'org.javaruntype.type.Types.*' 331

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/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–414
Unnecessary use of fully qualified name 'Arrays.stream' due to existing static import 'java.util.Arrays.*' 159
Unnecessary use of fully qualified name 'Arrays.stream' due to existing static import 'java.util.Arrays.*' 189
Unnecessary use of fully qualified name 'Collections.addAll' due to existing static import 'java.util.Collections.*' 202
Unnecessary use of fully qualified name 'Arrays.stream' due to existing static import 'java.util.Arrays.*' 409

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