Checkstyle Results

The following document contains the results of Checkstyle 9.3 with google_checks.xml ruleset.

Summary

Files  Info  Warnings  Errors
20 0 28 0

Files

File  I  W  E
com/jibi/common/Util.java 0 3 0
com/jibi/config/Swagger2Config.java 0 2 0
com/jibi/controller/FileController.java 0 17 0
com/jibi/controller/SystemInfoController.java 0 3 0
com/jibi/schedule/Schedulers.java 0 1 0
com/jibi/service/BusyService.java 0 2 0

Rules

Category Rule Violations Severity
coding VariableDeclarationUsageDistance 1  Warning
imports AvoidStarImport 1  Warning
javadoc InvalidJavadocPosition 1  Warning
SummaryJavadoc
  • forbiddenSummaryFragments: "^@return the *|^This method returns |^A [{]@code [a-zA-Z0-9]+[}]( is a )"
10  Warning
naming AbbreviationAsWordInName
  • tokens: "CLASS_DEF, INTERFACE_DEF, ENUM_DEF, ANNOTATION_DEF, ANNOTATION_FIELD_DEF, PARAMETER_DEF, VARIABLE_DEF, METHOD_DEF, PATTERN_VARIABLE_DEF, RECORD_DEF, RECORD_COMPONENT_DEF"
  • ignoreFinal: "false"
  • allowedAbbreviationLength: "0"
4  Warning
LocalVariableName
  • format: "^[a-z]([a-z0-9][a-zA-Z0-9]*)?$"
2  Warning
sizes LineLength
  • fileExtensions: "java"
  • max: "100"
  • ignorePattern: "^package.*|^import.*|a href|href|http://|https://|ftp://"
9  Error

Details

com/jibi/common/Util.java

Severity Category Rule Message Line
 Warning javadoc SummaryJavadoc First sentence of Javadoc is missing an ending period. 10
 Warning javadoc SummaryJavadoc First sentence of Javadoc is missing an ending period. 13
 Warning javadoc SummaryJavadoc First sentence of Javadoc is missing an ending period. 16

com/jibi/config/Swagger2Config.java

Severity Category Rule Message Line
 Warning naming AbbreviationAsWordInName Abbreviation in name 'customOpenAPI' must contain no more than '1' consecutive capital letters. 20
 Warning sizes LineLength Line is longer than 100 characters (found 108). 27

com/jibi/controller/FileController.java

Severity Category Rule Message Line
 Warning imports AvoidStarImport Using the '.*' form of import should be avoided - java.util.*. 13
 Warning javadoc SummaryJavadoc First sentence of Javadoc is missing an ending period. 116
 Warning sizes LineLength Line is longer than 100 characters (found 146). 117
 Warning javadoc SummaryJavadoc First sentence of Javadoc is missing an ending period. 157
 Warning sizes LineLength Line is longer than 100 characters (found 146). 158
 Warning javadoc SummaryJavadoc First sentence of Javadoc is missing an ending period. 349
 Warning sizes LineLength Line is longer than 100 characters (found 146). 350
 Warning javadoc SummaryJavadoc First sentence of Javadoc is missing an ending period. 524
 Warning sizes LineLength Line is longer than 100 characters (found 146). 525
 Warning javadoc SummaryJavadoc First sentence of Javadoc is missing an ending period. 699
 Warning sizes LineLength Line is longer than 100 characters (found 146). 700
 Warning javadoc SummaryJavadoc First sentence of Javadoc is missing an ending period. 804
 Warning sizes LineLength Line is longer than 100 characters (found 146). 805
 Warning javadoc SummaryJavadoc First sentence of Javadoc is missing an ending period. 1154
 Warning sizes LineLength Line is longer than 100 characters (found 146). 1155
 Warning javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 1293
 Warning sizes LineLength Line is longer than 100 characters (found 146). 1294

com/jibi/controller/SystemInfoController.java

Severity Category Rule Message Line
 Warning naming AbbreviationAsWordInName Abbreviation in name 'operatingSystemMXBean' must contain no more than '1' consecutive capital letters. 55
 Warning naming AbbreviationAsWordInName Abbreviation in name 'operatingSystemMXBean' must contain no more than '1' consecutive capital letters. 68
 Warning coding VariableDeclarationUsageDistance Distance between variable 'filePath' declaration and its first usage is 7, 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). 108

com/jibi/schedule/Schedulers.java

Severity Category Rule Message Line
 Warning naming AbbreviationAsWordInName Abbreviation in name 'performGCSchedule' must contain no more than '1' consecutive capital letters. 14

com/jibi/service/BusyService.java

Severity Category Rule Message Line
 Warning naming LocalVariableName Local variable name 'iCount' must match pattern '^[a-z]([a-z0-9][a-zA-Z0-9]*)?$'. 26
 Warning naming LocalVariableName Local variable name 'iCount' must match pattern '^[a-z]([a-z0-9][a-zA-Z0-9]*)?$'. 69