Fork me on GitHub

PMD Results

The following document contains the results of PMD 5.3.5.

Files

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

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

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

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

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–184
Unnecessary use of fully qualified name 'BigDecimal.valueOf' due to existing static import 'java.math.BigDecimal.*' 151
Useless parentheses. 160

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

Violation Line
Overriding method merely calls super 46–48

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

Violation Line
Too many static imports may lead to messy code 26–243
Overriding method merely calls super 69–71
Useless parentheses. 183
Unnecessary use of fully qualified name 'Lists.isDistinct' due to existing static import 'com.pholser.junit.quickcheck.internal.Lists.*' 238

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