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.
Summary
Files |
Info |
Warnings |
Errors |
51 |
0 |
43 |
0 |
Rules
Category |
Rule |
Violations |
Severity |
coding |
EmptyStatement |
1 |
Warning |
|
IllegalCatch |
4 |
Warning |
|
IllegalThrows |
6 |
Warning |
|
MagicNumber
- ignoreNumbers: "-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 100"
|
5 |
Warning |
|
MultipleStringLiterals |
2 |
Warning |
|
NestedIfDepth |
1 |
Warning |
|
ReturnCount
|
1 |
Warning |
design |
VisibilityModifier
- publicMemberPattern: "^$"
|
3 |
Warning |
javadoc |
JavadocVariable
|
2 |
Warning |
sizes |
AnonInnerLength |
4 |
Warning |
|
ParameterNumber
|
8 |
Warning |
whitespace |
NoWhitespaceAfter |
2 |
Warning |
|
WhitespaceAround |
4 |
Warning |
Details
com/pholser/junit/quickcheck/Pair.java
Severity |
Category |
Rule |
Message |
Line |
Warning |
javadoc |
JavadocVariable |
Missing a Javadoc comment. |
38 |
Warning |
design |
VisibilityModifier |
Variable 'first' must be private and have accessor methods. |
38 |
Warning |
javadoc |
JavadocVariable |
Missing a Javadoc comment. |
39 |
Warning |
design |
VisibilityModifier |
Variable 'second' must be private and have accessor methods. |
39 |
com/pholser/junit/quickcheck/Property.java
Severity |
Category |
Rule |
Message |
Line |
Warning |
coding |
MagicNumber |
'20' is a magic number. |
73 |
Warning |
coding |
MagicNumber |
'60_000' is a magic number. |
79 |
com/pholser/junit/quickcheck/generator/Generator.java
Severity |
Category |
Rule |
Message |
Line |
Warning |
whitespace |
WhitespaceAround |
'{' is not followed by whitespace. |
319 |
Warning |
whitespace |
WhitespaceAround |
'}' is not preceded with whitespace. |
319 |
com/pholser/junit/quickcheck/generator/Lambdas.java
Severity |
Category |
Rule |
Message |
Line |
Warning |
whitespace |
NoWhitespaceAfter |
'{' is followed by whitespace. |
90 |
Warning |
coding |
IllegalThrows |
Throwing 'Throwable' is not allowed. |
139 |
com/pholser/junit/quickcheck/internal/FakeAnnotatedTypeFactory.java
Severity |
Category |
Rule |
Message |
Line |
Warning |
sizes |
AnonInnerLength |
Anonymous inner class length is 25 lines (max allowed is 20). |
43 |
com/pholser/junit/quickcheck/internal/ParameterTypeContext.java
Severity |
Category |
Rule |
Message |
Line |
Warning |
sizes |
ParameterNumber |
More than 4 parameters (found 5). |
101 |
com/pholser/junit/quickcheck/internal/Ranges.java
Severity |
Category |
Rule |
Message |
Line |
Warning |
coding |
MagicNumber |
'62' is a magic number. |
98 |
Warning |
coding |
MagicNumber |
'62' is a magic number. |
98 |
Warning |
coding |
MagicNumber |
'64' is a magic number. |
126 |
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). |
268 |
com/pholser/junit/quickcheck/internal/Sequences.java
Severity |
Category |
Rule |
Message |
Line |
Warning |
sizes |
AnonInnerLength |
Anonymous inner class length is 23 lines (max allowed is 20). |
44 |
Warning |
sizes |
AnonInnerLength |
Anonymous inner class length is 23 lines (max allowed is 20). |
73 |
Warning |
sizes |
AnonInnerLength |
Anonymous inner class length is 22 lines (max allowed is 20). |
99 |
com/pholser/junit/quickcheck/internal/ShrinkControl.java
Severity |
Category |
Rule |
Message |
Line |
Warning |
sizes |
ParameterNumber |
More than 4 parameters (found 5). |
37 |
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/PropertyParameterGenerationContext.java
Severity |
Category |
Rule |
Message |
Line |
Warning |
coding |
EmptyStatement |
Empty statement. |
76 |
com/pholser/junit/quickcheck/random/SourceOfRandomness.java
Severity |
Category |
Rule |
Message |
Line |
Warning |
whitespace |
NoWhitespaceAfter |
'{' is followed by whitespace. |
388 |
com/pholser/junit/quickcheck/runner/PropertyFalsified.java
Severity |
Category |
Rule |
Message |
Line |
Warning |
coding |
MultipleStringLiterals |
The String "Seeds: %s%n" appears 2 times in the file. |
45 |
Warning |
sizes |
ParameterNumber |
More than 4 parameters (found 6). |
53 |
com/pholser/junit/quickcheck/runner/PropertyStatement.java
Severity |
Category |
Rule |
Message |
Line |
Warning |
coding |
IllegalThrows |
Throwing 'Throwable' is not allowed. |
103 |
Warning |
coding |
IllegalCatch |
Catching 'Throwable' is not allowed. |
135 |
Warning |
sizes |
ParameterNumber |
More than 4 parameters (found 5). |
142 |
Warning |
coding |
IllegalThrows |
Throwing 'Throwable' is not allowed. |
148 |
com/pholser/junit/quickcheck/runner/PropertyVerifier.java
Severity |
Category |
Rule |
Message |
Line |
Warning |
sizes |
ParameterNumber |
More than 4 parameters (found 7). |
48 |
Warning |
coding |
IllegalThrows |
Throwing 'Throwable' is not allowed. |
67 |
Warning |
coding |
IllegalCatch |
Catching 'Throwable' is not allowed. |
84 |
Warning |
whitespace |
WhitespaceAround |
'{' is not followed by whitespace. |
84 |
Warning |
whitespace |
WhitespaceAround |
'}' is not preceded with whitespace. |
84 |
Warning |
coding |
IllegalCatch |
Catching 'Throwable' is not allowed. |
87 |
com/pholser/junit/quickcheck/runner/ShrinkNode.java
Severity |
Category |
Rule |
Message |
Line |
Warning |
sizes |
ParameterNumber |
More than 4 parameters (found 8). |
50 |
Warning |
sizes |
ParameterNumber |
More than 4 parameters (found 6). |
74 |
Warning |
coding |
IllegalThrows |
Throwing 'Throwable' is not allowed. |
95 |
com/pholser/junit/quickcheck/runner/Shrinker.java
Severity |
Category |
Rule |
Message |
Line |
Warning |
sizes |
ParameterNumber |
More than 4 parameters (found 7). |
48 |
Warning |
coding |
IllegalThrows |
Throwing 'Throwable' is not allowed. |
70 |
Warning |
coding |
NestedIfDepth |
Nested if-else depth is 2 (max allowed is 1). |
89 |
Warning |
coding |
IllegalCatch |
Catching 'Throwable' is not allowed. |
110 |