Checkstyle Results

The following document contains the results of Checkstyle 10.12.4 with config/checkstyle/checkstyle.xml ruleset.

Summary

Files  Info  Warnings  Errors
18 0 0 11

Files

File  I  W  E
jp/sourceforge/jindolf/corelib/DateUtils.java 0 0 6
jp/sourceforge/jindolf/corelib/DomUtils.java 0 0 1
jp/sourceforge/jindolf/corelib/GameRole.java 0 0 1
jp/sourceforge/jindolf/corelib/LandDef.java 0 0 2
jp/sourceforge/jindolf/corelib/VillageTag.java 0 0 1

Rules

Category Rule Violations Severity
coding ReturnCount 3  Error
VariableDeclarationUsageDistance 8  Error

Details

jp/sourceforge/jindolf/corelib/DateUtils.java

Severity Category Rule Message Line
 Error 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
 Error 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
 Error 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
 Error 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
 Error 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
 Error 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
 Error 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
 Error 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
 Error 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
 Error 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
 Error coding ReturnCount Return count is 3 (max allowed for non-void methods/lambdas is 2). 158