Fork me on GitHub

Checkstyle Results

The following document contains the results of Checkstyle 6.11.2 with /Users/pholser/java/junit-quickcheck/target/checkout/conf/src-checkstyle.xml ruleset. 

rss feed

Summary

Files
 Info
 Warnings
 Errors
77 0 68 0

Files

File
 I
 W
 E
com/pholser/junit/quickcheck/generator/DecimalGenerator.java 0 6 0
com/pholser/junit/quickcheck/generator/IntegralGenerator.java 0 6 0
com/pholser/junit/quickcheck/generator/java/lang/strings/CodePoints.java 0 3 0
com/pholser/junit/quickcheck/generator/java/time/DurationGenerator.java 0 1 0
com/pholser/junit/quickcheck/generator/java/time/MonthDayGenerator.java 0 4 0
com/pholser/junit/quickcheck/generator/java/time/PeriodGenerator.java 0 4 0
com/pholser/junit/quickcheck/generator/java/time/YearMonthGenerator.java 0 5 0
com/pholser/junit/quickcheck/generator/java/time/ZonedDateTimeGenerator.java 0 6 0
com/pholser/junit/quickcheck/generator/java/util/CollectionGenerator.java 0 3 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 22 0
com/pholser/junit/quickcheck/generator/java/util/SetGenerator.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"
47
 Warning
design VisibilityModifier
  • publicMemberPattern: "^$"
4
 Warning
imports AvoidStarImport
  • allowStaticMemberImports: "true"
2
 Warning
ImportOrder
  • ordered: "true"
  • groups: "/^javax?\./,."
  • separated: "true"
  • option: "bottom"
7
 Warning
indentation Indentation 1
 Warning
javadoc JavadocMethod
  • allowMissingPropertyJavadoc: "true"
  • allowUndeclaredRTE: "true"
  • scope: "protected"
  • allowMissingJavadoc: "true"
2
 Warning
sizes LineLength
  • max: "120"
2
 Warning
whitespace WhitespaceAround 1
 Warning

Details

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

Severity Category Rule Message Line
 Warning
imports ImportOrder Wrong order for 'java.util.Collections.emptyList' import. 30
 Warning
imports ImportOrder Wrong order for 'java.math.BigDecimal' import. 36
 Warning
indentation Indentation 'method def' child have incorrect indentation level 6, expected level should be 8. 103
 Warning
coding MagicNumber '15' is a magic number. 103
 Warning
sizes LineLength Line is longer than 120 characters (found 168). 126
 Warning
javadoc JavadocMethod Expected @param tag for 'target'. 133

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

Severity Category Rule Message Line
 Warning
imports ImportOrder Wrong order for 'java.util.Collections.emptyList' import. 29
 Warning
imports ImportOrder Wrong order for 'java.math.BigInteger' import. 35
 Warning
whitespace WhitespaceAround '=' is not followed by whitespace. 60
 Warning
coding MagicNumber '15' is a magic number. 77
 Warning
sizes LineLength Line is longer than 120 characters (found 168). 104
 Warning
javadoc JavadocMethod Expected @param tag for 'target'. 111

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/time/DurationGenerator.java

Severity Category Rule Message Line
 Warning
coding MagicNumber '999_999_999' is a magic number. 42

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

Severity Category Rule Message Line
 Warning
coding MagicNumber '12' is a magic number. 44
 Warning
coding MagicNumber '31' is a magic number. 44
 Warning
coding MagicNumber '2000' is a magic number. 80
 Warning
coding MagicNumber '2000' is a magic number. 81

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

Severity Category Rule Message Line
 Warning
coding MagicNumber '-12' is a magic number. 47
 Warning
coding MagicNumber '-31' is a magic number. 47
 Warning
coding MagicNumber '12' is a magic number. 48
 Warning
coding MagicNumber '31' is a magic number. 48

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

Severity Category Rule Message Line
 Warning
coding MagicNumber '12' is a magic number. 44
 Warning
coding MagicNumber '12L' is a magic number. 79
 Warning
coding MagicNumber '12L' is a magic number. 80
 Warning
coding MagicNumber '12' is a magic number. 83
 Warning
coding MagicNumber '12' is a magic number. 84

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

Severity Category Rule Message Line
 Warning
coding MagicNumber '12' is a magic number. 49
 Warning
coding MagicNumber '31' is a magic number. 49
 Warning
coding MagicNumber '23' is a magic number. 49
 Warning
coding MagicNumber '59' is a magic number. 49
 Warning
coding MagicNumber '59' is a magic number. 49
 Warning
coding MagicNumber '999_999_999' is a magic number. 49

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

Severity Category Rule Message Line
 Warning
imports AvoidStarImport Using the '.*' form of import should be avoided - com.pholser.junit.quickcheck.generator.*. 34
 Warning
imports ImportOrder Wrong order for 'com.pholser.junit.quickcheck.internal.Ranges.*' import. 44
 Warning
coding HiddenField 'distinct' hides a field. 90

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

Severity Category Rule Message Line
 Warning
imports AvoidStarImport Using the '.*' form of import should be avoided - com.pholser.junit.quickcheck.generator.*. 37
 Warning
imports ImportOrder Wrong order for 'com.pholser.junit.quickcheck.internal.Ranges.*' import. 46
 Warning
coding HiddenField 'distinct' hides a field. 95

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

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

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

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

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

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

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

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

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

Severity Category Rule Message Line
 Warning
coding MagicNumber '0x0F' is a magic number. 64
 Warning
coding MagicNumber '0x3F' is a magic number. 69
 Warning
coding MagicNumber '0x80' is a magic number. 70
 Warning
coding MagicNumber '0x30' is a magic number. 138
 Warning
coding MagicNumber '16' is a magic number. 161
 Warning
coding MagicNumber '0x40' is a magic number. 162
 Warning
coding MagicNumber '0x50' is a magic number. 174
 Warning
design VisibilityModifier Variable 'bytes' must be private and have accessor methods. 218
 Warning
coding MagicNumber '0x6B' is a magic number. 222
 Warning
coding MagicNumber '0xA7' is a magic number. 222
 Warning
coding MagicNumber '0xB8' is a magic number. 222
 Warning
coding MagicNumber '0x9D' is a magic number. 223
 Warning
coding MagicNumber '0xAD' is a magic number. 223
 Warning
coding MagicNumber '0x11' is a magic number. 224
 Warning
coding MagicNumber '0xD1' is a magic number. 224
 Warning
coding MagicNumber '0x80' is a magic number. 225
 Warning
coding MagicNumber '0xB4' is a magic number. 225
 Warning
coding MagicNumber '0xC0' is a magic number. 226
 Warning
coding MagicNumber '0x4F' is a magic number. 226
 Warning
coding MagicNumber '0xD4' is a magic number. 226
 Warning
coding MagicNumber '0x30' is a magic number. 226
 Warning
coding MagicNumber '0xC8' is a magic number. 226

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

Severity Category Rule Message Line
 Warning
imports ImportOrder Wrong order for 'java.util.Set' import. 30