PMD Results

The following document contains the results of PMD 5.3.5.

Files

com/pholser/junit/quickcheck/generator/DecimalGenerator.java

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

com/pholser/junit/quickcheck/generator/IntegralGenerator.java

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

com/pholser/junit/quickcheck/generator/java/lang/AbstractStringGenerator.java

Violation Line
Unnecessary use of fully qualified name 'Lists.removeFrom' due to existing static import 'com.pholser.junit.quickcheck.internal.Lists.*' 98

com/pholser/junit/quickcheck/generator/java/lang/CodePointShrink.java

Violation Line
Unnecessary use of fully qualified name 'Character.toLowerCase' due to existing static import 'java.lang.Character.*' 55

com/pholser/junit/quickcheck/generator/java/lang/strings/CodePoints.java

Violation Line
Unnecessary use of fully qualified name 'String.valueOf' due to existing static import 'java.lang.String.*' 74

com/pholser/junit/quickcheck/generator/java/math/BigDecimalGenerator.java

Violation Line
Too many static imports may lead to messy code 26–175

com/pholser/junit/quickcheck/generator/java/math/BigIntegerGenerator.java

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

com/pholser/junit/quickcheck/generator/java/nio/charset/CharsetGenerator.java

Violation Line
Unnecessary use of fully qualified name 'Charset.forName' due to existing static import 'java.nio.charset.Charset.*' 45

com/pholser/junit/quickcheck/generator/java/time/ZoneIdGenerator.java

Violation Line
Unnecessary use of fully qualified name 'ZoneId.of' due to existing static import 'java.time.ZoneId.*' 45

com/pholser/junit/quickcheck/generator/java/time/ZoneOffsetGenerator.java

Violation Line
Useless parentheses. 81

com/pholser/junit/quickcheck/generator/java/util/CollectionGenerator.java

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

com/pholser/junit/quickcheck/generator/java/util/MapGenerator.java

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

com/pholser/junit/quickcheck/generator/java/util/OptionalIntGenerator.java

Violation Line
Unnecessary use of fully qualified name 'BigDecimal.valueOf' due to existing static import 'java.math.BigDecimal.*' 97

com/pholser/junit/quickcheck/generator/java/util/OptionalLongGenerator.java

Violation Line
Unnecessary use of fully qualified name 'BigDecimal.valueOf' due to existing static import 'java.math.BigDecimal.*' 97

com/pholser/junit/quickcheck/generator/java/util/PropertiesGenerator.java

Violation Line
Unnecessary use of fully qualified name 'BigDecimal.valueOf' due to existing static import 'java.math.BigDecimal.*' 100

com/pholser/junit/quickcheck/generator/java/util/RFC4122.java

Violation Line
Unnecessary use of fully qualified name 'Namespaces.URL' due to existing static import 'com.pholser.junit.quickcheck.generator.java.util.RFC4122.Namespaces.*' 90