Checkstyle Results

The following document contains the results of Checkstyle 6.11.2 with /Users/prholser/java/junit-quickcheck/conf/src-checkstyle.xml ruleset. rss feed

Summary

Files  Info  Warnings  Errors
63 0 58 0

Files

File  I  W  E
com/pholser/junit/quickcheck/generator/DecimalGenerator.java 0 2 0
com/pholser/junit/quickcheck/generator/InRange.java 0 1 0
com/pholser/junit/quickcheck/generator/IntegralGenerator.java 0 2 0
com/pholser/junit/quickcheck/generator/Precision.java 0 1 0
com/pholser/junit/quickcheck/generator/internal/Comparables.java 0 2 0
com/pholser/junit/quickcheck/generator/java/lang/AbstractStringGenerator.java 0 1 0
com/pholser/junit/quickcheck/generator/java/lang/ByteGenerator.java 0 1 0
com/pholser/junit/quickcheck/generator/java/lang/CharacterGenerator.java 0 1 0
com/pholser/junit/quickcheck/generator/java/lang/DoubleGenerator.java 0 2 0
com/pholser/junit/quickcheck/generator/java/lang/FloatGenerator.java 0 2 0
com/pholser/junit/quickcheck/generator/java/lang/IntegerGenerator.java 0 1 0
com/pholser/junit/quickcheck/generator/java/lang/LongGenerator.java 0 1 0
com/pholser/junit/quickcheck/generator/java/lang/ShortGenerator.java 0 1 0
com/pholser/junit/quickcheck/generator/java/lang/strings/CodePoints.java 0 3 0
com/pholser/junit/quickcheck/generator/java/math/BigDecimalGenerator.java 0 1 0
com/pholser/junit/quickcheck/generator/java/math/BigIntegerGenerator.java 0 1 0
com/pholser/junit/quickcheck/generator/java/util/CollectionGenerator.java 0 3 0
com/pholser/junit/quickcheck/generator/java/util/LocaleGenerator.java 0 1 0
com/pholser/junit/quickcheck/generator/java/util/MapGenerator.java 0 3 0
com/pholser/junit/quickcheck/generator/java/util/OptionalDoubleGenerator.java 0 1 0
com/pholser/junit/quickcheck/generator/java/util/OptionalGenerator.java 0 1 0
com/pholser/junit/quickcheck/generator/java/util/OptionalIntGenerator.java 0 1 0
com/pholser/junit/quickcheck/generator/java/util/OptionalLongGenerator.java 0 1 0
com/pholser/junit/quickcheck/generator/java/util/RFC4122.java 0 23 0
com/pholser/junit/quickcheck/generator/java/util/TimeZoneGenerator.java 0 1 0

Rules

Category Rule Violations Severity
coding HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
2  Warning
MagicNumber
  • ignoreNumbers: "-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 100"
27  Warning
ReturnCount
  • max: "4"
1  Warning
design VisibilityModifier
  • publicMemberPattern: "^$"
4  Warning
imports ImportOrder
  • ordered: "true"
  • groups: "/^javax?\./,."
  • separated: "true"
  • option: "bottom"
18  Warning
UnusedImports 4  Warning
metrics NPathComplexity
  • max: "20"
1  Warning
whitespace NoWhitespaceAfter 1  Warning

Details

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

Severity Category Rule Message Line
 Warning imports ImportOrder Wrong order for 'java.util.Collections.*' import. 40
 Warning coding MagicNumber '15' is a magic number. 87

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

Severity Category Rule Message Line
 Warning imports UnusedImports Unused import - com.pholser.junit.quickcheck.Property. 31

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

Severity Category Rule Message Line
 Warning imports ImportOrder Wrong order for 'java.util.Collections.*' import. 38
 Warning coding MagicNumber '15' is a magic number. 66

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

Severity Category Rule Message Line
 Warning imports UnusedImports Unused import - com.pholser.junit.quickcheck.Property. 31

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

Severity Category Rule Message Line
 Warning metrics NPathComplexity NPath Complexity is 72 (max allowed is 20). 47
 Warning coding ReturnCount Return count is 6 (max allowed is 4). 47

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

Severity Category Rule Message Line
 Warning imports ImportOrder Wrong order for 'java.util.stream.StreamSupport.*' import. 40

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

Severity Category Rule Message Line
 Warning imports ImportOrder Wrong order for 'java.util.Arrays.*' import. 39

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

Severity Category Rule Message Line
 Warning imports ImportOrder Wrong order for 'java.util.Arrays.*' import. 37

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

Severity Category Rule Message Line
 Warning imports UnusedImports Unused import - com.pholser.junit.quickcheck.internal.Ranges. 36
 Warning imports ImportOrder Wrong order for 'java.util.Arrays.*' import. 40

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

Severity Category Rule Message Line
 Warning imports UnusedImports Unused import - com.pholser.junit.quickcheck.internal.Ranges. 36
 Warning imports ImportOrder Wrong order for 'java.util.Arrays.*' import. 40

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

Severity Category Rule Message Line
 Warning imports ImportOrder Wrong order for 'java.util.Arrays.*' import. 39

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

Severity Category Rule Message Line
 Warning imports ImportOrder Wrong order for 'java.util.Arrays.*' import. 39

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

Severity Category Rule Message Line
 Warning imports ImportOrder Wrong order for 'java.util.Arrays.*' import. 39

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

Severity Category Rule Message Line
 Warning design VisibilityModifier Variable 'low' must be private and have accessor methods. 156
 Warning design VisibilityModifier Variable 'high' must be private and have accessor methods. 157
 Warning design VisibilityModifier Variable 'previousCount' must be private and have accessor methods. 158

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

Severity Category Rule Message Line
 Warning imports ImportOrder Wrong order for 'java.lang.Math.*' import. 43

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

Severity Category Rule Message Line
 Warning imports ImportOrder Wrong order for 'java.math.BigInteger.*' import. 41

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

Severity Category Rule Message Line
 Warning imports ImportOrder Wrong order for 'com.pholser.junit.quickcheck.internal.Ranges.*' import. 41
 Warning imports ImportOrder Wrong order for 'java.util.stream.StreamSupport.*' import. 44
 Warning coding HiddenField 'sizeRange' hides a field. 76

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

Severity Category Rule Message Line
 Warning imports ImportOrder Wrong order for 'java.util.Locale.getAvailableLocales' import. 37

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

Severity Category Rule Message Line
 Warning imports ImportOrder Wrong order for 'com.pholser.junit.quickcheck.internal.Ranges.*' import. 45
 Warning imports ImportOrder Wrong order for 'java.util.stream.StreamSupport.*' import. 48
 Warning coding HiddenField 'sizeRange' hides a field. 77

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

Severity Category Rule Message Line
 Warning coding MagicNumber '0.25' is a magic number. 66

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

Severity Category Rule Message Line
 Warning coding MagicNumber '0.25' is a magic number. 47

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

Severity Category Rule Message Line
 Warning coding MagicNumber '0.25' is a magic number. 65

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

Severity Category Rule Message Line
 Warning coding MagicNumber '0.25' is a magic number. 65

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

Severity Category Rule Message Line
 Warning coding MagicNumber '0x0F' is a magic number. 62
 Warning coding MagicNumber '0x3F' is a magic number. 67
 Warning coding MagicNumber '0x80' is a magic number. 68
 Warning coding MagicNumber '0x30' is a magic number. 124
 Warning coding MagicNumber '16' is a magic number. 144
 Warning coding MagicNumber '0x40' is a magic number. 145
 Warning coding MagicNumber '0x50' is a magic number. 157
 Warning design VisibilityModifier Variable 'bytes' must be private and have accessor methods. 201
 Warning whitespace NoWhitespaceAfter '{' is followed by whitespace. 204
 Warning coding MagicNumber '0x6B' is a magic number. 204
 Warning coding MagicNumber '0xA7' is a magic number. 204
 Warning coding MagicNumber '0xB8' is a magic number. 204
 Warning coding MagicNumber '0x9D' is a magic number. 205
 Warning coding MagicNumber '0xAD' is a magic number. 205
 Warning coding MagicNumber '0x11' is a magic number. 206
 Warning coding MagicNumber '0xD1' is a magic number. 206
 Warning coding MagicNumber '0x80' is a magic number. 207
 Warning coding MagicNumber '0xB4' is a magic number. 207
 Warning coding MagicNumber '0xC0' is a magic number. 208
 Warning coding MagicNumber '0x4F' is a magic number. 208
 Warning coding MagicNumber '0xD4' is a magic number. 208
 Warning coding MagicNumber '0x30' is a magic number. 208
 Warning coding MagicNumber '0xC8' is a magic number. 208

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

Severity Category Rule Message Line
 Warning imports ImportOrder Wrong order for 'java.util.TimeZone.*' import. 37