Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
48 0 37 0

Rules

Category Rule Violations Severity
annotation MissingDeprecated 5  Warning
coding EmptyStatement 2  Warning
HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
1  Warning
IllegalCatch 2  Warning
IllegalThrows 6  Warning
MagicNumber
  • ignoreNumbers: "-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 100"
2  Warning
MultipleStringLiterals 3  Warning
NestedIfDepth 1  Warning
ReturnCount
  • max: "4"
1  Warning
design VisibilityModifier
  • publicMemberPattern: "^$"
1  Warning
sizes AnonInnerLength 3  Warning
ParameterNumber
  • max: "4"
6  Warning
whitespace NoWhitespaceAfter 2  Warning
WhitespaceAround 2  Warning

Details

com/pholser/junit/quickcheck/Property.java

Severity Category Rule Message Line
 Warning coding MagicNumber '20' is a magic number. 71
 Warning coding MagicNumber '60_000' is a magic number. 77

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

Severity Category Rule Message Line
 Warning whitespace WhitespaceAround '{' is not followed by whitespace. 310
 Warning whitespace WhitespaceAround '}' is not preceded with whitespace. 310

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

Severity Category Rule Message Line
 Warning whitespace NoWhitespaceAfter '{' is followed by whitespace. 88
 Warning coding IllegalThrows Throwing 'Throwable' is not allowed. 135

com/pholser/junit/quickcheck/internal/ParameterContext.java

Severity Category Rule Message Line
 Warning annotation MissingDeprecated Must include both @java.lang.Deprecated annotation and @deprecated Javadoc tag with description. 34
 Warning coding MultipleStringLiterals The String "seed" appears 2 times in the file. 42

com/pholser/junit/quickcheck/internal/ParameterTypeContext.java

Severity Category Rule Message Line
 Warning sizes ParameterNumber More than 4 parameters (found 5). 102

com/pholser/junit/quickcheck/internal/PropertyParameterContext.java

Severity Category Rule Message Line
 Warning coding MultipleStringLiterals The String "seed" appears 2 times in the file. 40

com/pholser/junit/quickcheck/internal/RandomValueSupplier.java

Severity Category Rule Message Line
 Warning annotation MissingDeprecated Must include both @java.lang.Deprecated annotation and @deprecated Javadoc tag with description. 40

com/pholser/junit/quickcheck/internal/Reflection.java

Severity Category Rule Message Line
 Warning coding MultipleStringLiterals The String "java.lang.annotation" appears 2 times in the file. 139
 Warning coding ReturnCount Return count is 5 (max allowed is 4). 254

com/pholser/junit/quickcheck/internal/SampleSizer.java

Severity Category Rule Message Line
 Warning annotation MissingDeprecated Must include both @java.lang.Deprecated annotation and @deprecated Javadoc tag with description. 31

com/pholser/junit/quickcheck/internal/Sequences.java

Severity Category Rule Message Line
 Warning sizes AnonInnerLength Anonymous inner class length is 21 lines (max allowed is 20). 41
 Warning sizes AnonInnerLength Anonymous inner class length is 21 lines (max allowed is 20). 65
 Warning sizes AnonInnerLength Anonymous inner class length is 22 lines (max allowed is 20). 89

com/pholser/junit/quickcheck/internal/Weighted.java

Severity Category Rule Message Line
 Warning design VisibilityModifier Variable 'item' must be private and have accessor methods. 29

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

Severity Category Rule Message Line
 Warning annotation MissingDeprecated Must include both @java.lang.Deprecated annotation and @deprecated Javadoc tag with description. 37
 Warning coding HiddenField 'random' hides a field. 60
 Warning coding EmptyStatement Empty statement. 65

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

Severity Category Rule Message Line
 Warning sizes ParameterNumber More than 4 parameters (found 5). 52
 Warning coding EmptyStatement Empty statement. 83

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

Severity Category Rule Message Line
 Warning annotation MissingDeprecated Must include both @java.lang.Deprecated annotation and @deprecated Javadoc tag with description. 37

com/pholser/junit/quickcheck/random/SourceOfRandomness.java

Severity Category Rule Message Line
 Warning whitespace NoWhitespaceAfter '{' is followed by whitespace. 341

com/pholser/junit/quickcheck/runner/PropertyStatement.java

Severity Category Rule Message Line
 Warning sizes ParameterNumber More than 4 parameters (found 5). 66
 Warning coding IllegalThrows Throwing 'Throwable' is not allowed. 103
 Warning coding IllegalCatch Catching 'Throwable' is not allowed. 129
 Warning coding IllegalThrows Throwing 'Throwable' is not allowed. 141

com/pholser/junit/quickcheck/runner/PropertyVerifier.java

Severity Category Rule Message Line
 Warning sizes ParameterNumber More than 4 parameters (found 6). 47
 Warning coding IllegalThrows Throwing 'Throwable' is not allowed. 64
 Warning coding IllegalCatch Catching 'Throwable' is not allowed. 79

com/pholser/junit/quickcheck/runner/ShrinkNode.java

Severity Category Rule Message Line
 Warning sizes ParameterNumber More than 4 parameters (found 6). 47
 Warning coding IllegalThrows Throwing 'Throwable' is not allowed. 82

com/pholser/junit/quickcheck/runner/Shrinker.java

Severity Category Rule Message Line
 Warning sizes ParameterNumber More than 4 parameters (found 6). 45
 Warning coding IllegalThrows Throwing 'Throwable' is not allowed. 62
 Warning coding NestedIfDepth Nested if-else depth is 2 (max allowed is 1). 80