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 |
78 |
0 |
54 |
0 |
Rules
Category |
Rule |
Violations |
Severity |
coding |
MagicNumber
- ignoreNumbers: "-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 100"
|
47 |
Warning |
|
ReturnCount
|
1 |
Warning |
design |
VisibilityModifier
- publicMemberPattern: "^$"
|
4 |
Warning |
metrics |
NPathComplexity
|
1 |
Warning |
whitespace |
NoWhitespaceAfter |
1 |
Warning |
Details
com/pholser/junit/quickcheck/generator/DecimalGenerator.java
Severity |
Category |
Rule |
Message |
Line |
Warning |
coding |
MagicNumber |
'15' is a magic number. |
88 |
com/pholser/junit/quickcheck/generator/IntegralGenerator.java
Severity |
Category |
Rule |
Message |
Line |
Warning |
coding |
MagicNumber |
'15' is a magic number. |
67 |
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/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/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 |