Checkstyle Results
The following document contains the results of Checkstyle 10.12.4 with config/checkstyle/checkstyle.xml ruleset.
Summary
Files | ![]() |
![]() |
![]() |
---|---|---|---|
18 | 0 | 0 | 11 |
Files
Rules
Category | Rule | Violations | Severity |
---|---|---|---|
coding | ReturnCount | 3 | ![]() |
VariableDeclarationUsageDistance | 8 | ![]() |
Details
jp/sourceforge/jindolf/corelib/DateUtils.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
coding | VariableDeclarationUsageDistance | Distance between variable 'year' declaration and its first usage is 4, but allowed 3. Consider making that variable final if you still need to store its value in advance (before method calls that might have side effects on the original value). | 91 |
![]() |
coding | VariableDeclarationUsageDistance | Distance between variable 'month' declaration and its first usage is 4, but allowed 3. Consider making that variable final if you still need to store its value in advance (before method calls that might have side effects on the original value). | 92 |
![]() |
coding | VariableDeclarationUsageDistance | Distance between variable 'day' declaration and its first usage is 4, but allowed 3. Consider making that variable final if you still need to store its value in advance (before method calls that might have side effects on the original value). | 93 |
![]() |
coding | VariableDeclarationUsageDistance | Distance between variable 'hour' declaration and its first usage is 4, but allowed 3. Consider making that variable final if you still need to store its value in advance (before method calls that might have side effects on the original value). | 94 |
![]() |
coding | VariableDeclarationUsageDistance | Distance between variable 'minute' declaration and its first usage is 4, but allowed 3. Consider making that variable final if you still need to store its value in advance (before method calls that might have side effects on the original value). | 95 |
![]() |
coding | VariableDeclarationUsageDistance | Distance between variable 'second' declaration and its first usage is 4, but allowed 3. Consider making that variable final if you still need to store its value in advance (before method calls that might have side effects on the original value). | 96 |
jp/sourceforge/jindolf/corelib/DomUtils.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
coding | ReturnCount | Return count is 3 (max allowed for non-void methods/lambdas is 2). | 153 |
jp/sourceforge/jindolf/corelib/GameRole.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
coding | ReturnCount | Return count is 3 (max allowed for non-void methods/lambdas is 2). | 90 |
jp/sourceforge/jindolf/corelib/LandDef.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
coding | VariableDeclarationUsageDistance | Distance between variable 'landPrefix' declaration and its first usage is 5, but allowed 3. Consider making that variable final if you still need to store its value in advance (before method calls that might have side effects on the original value). | 216 |
![]() |
coding | VariableDeclarationUsageDistance | Distance between variable 'contactInfo' declaration and its first usage is 4, but allowed 3. Consider making that variable final if you still need to store its value in advance (before method calls that might have side effects on the original value). | 385 |
jp/sourceforge/jindolf/corelib/VillageTag.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
coding | ReturnCount | Return count is 3 (max allowed for non-void methods/lambdas is 2). | 158 |