Fork me on GitHub

PMD Results

The following document contains the results of PMD 6.21.0.

Violations By Priority

Priority 3

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

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

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

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

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

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

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

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 26–188

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

Rule Violation Line
UselessOverridingMethod Overriding method merely calls super 46–48

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

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 26–243
UselessOverridingMethod Overriding method merely calls super 69–71

Priority 4

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

Rule Violation Line
UnnecessaryFullyQualifiedName 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

Rule Violation Line
UnnecessaryFullyQualifiedName 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

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

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

Rule Violation Line
UnnecessaryFullyQualifiedName 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

Rule Violation Line
UnnecessaryFullyQualifiedName 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

Rule Violation Line
UnnecessaryFullyQualifiedName 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

Rule Violation Line
UselessParentheses Useless parentheses. 81

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

Rule Violation Line
UselessParentheses Useless parentheses. 164

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

Rule Violation Line
UselessParentheses Useless parentheses. 183
UnnecessaryFullyQualifiedName 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

Rule Violation Line
UnnecessaryFullyQualifiedName 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

Rule Violation Line
UnnecessaryFullyQualifiedName 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

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

Files

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

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 26–142

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

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 26–120

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

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

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

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

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

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

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

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 26–175

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

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

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

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

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

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

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 81

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

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 26–188
UselessParentheses Useless parentheses. 4 164

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

Rule Violation Priority Line
UselessOverridingMethod Overriding method merely calls super 3 46–48

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

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

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

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

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

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

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

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'BigDecimal.valueOf' due to existing static import 'java.math.BigDecimal.*' 4 101