Checkstyle Results

The following document contains the results of Checkstyle 10.13.0 with /home/runner/work/generator/generator/core/mybatis-generator-core/../checkstyle-override.xml ruleset.

Summary

Files  Info  Warnings  Errors
336 0 10 0

Files

File  I  W  E
org/mybatis/generator/api/CompositePlugin.java 0 1 0
org/mybatis/generator/api/Plugin.java 0 2 0
org/mybatis/generator/api/dom/kotlin/render/KotlinTypeRenderer.java 0 2 0
org/mybatis/generator/codegen/mybatis3/MyBatis3FormattingUtilities.java 0 2 0
org/mybatis/generator/config/xml/ConfigurationParser.java 0 1 0
org/mybatis/generator/internal/XmlFileMergerJaxp.java 0 1 0
org/mybatis/generator/runtime/kotlin/elements/KotlinFragmentGenerator.java 0 1 0

Rules

Category Rule Violations Severity
coding OverloadMethodsDeclarationOrder 2  Warning
imports CustomImportOrder
  • separateLineBetweenGroups: "true"
  • sortImportsInGroupAlphabetically: "true"
  • customImportOrderRules: "STATIC###STANDARD_JAVA_PACKAGE###THIRD_PARTY_PACKAGE"
2  Warning
indentation Indentation
  • throwsIndent: "8"
  • arrayInitIndent: "4"
  • caseIndent: "0"
  • basicOffset: "4"
  • braceAdjustment: "0"
  • lineWrappingIndentation: "8"
1  Warning
javadoc JavadocParagraph 3  Warning
sizes LineLength
  • max: "120"
  • ignorePattern: "^package.*|^import.*|a href|href|http://|https://|ftp://"
1  Error
whitespace WhitespaceAround
  • allowEmptyConstructors: "true"
  • allowEmptyMethods: "true"
  • allowEmptyLoops: "true"
  • allowEmptyTypes: "true"
1  Warning

Details

org/mybatis/generator/api/CompositePlugin.java

Severity Category Rule Message Line
 Warning coding OverloadMethodsDeclarationOrder All overloaded methods should be placed next to each other. Placing non-overloaded methods in between overloaded methods with the same type is a violation. Previous overloaded method located at line '1,255'. 1278

org/mybatis/generator/api/Plugin.java

Severity Category Rule Message Line
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 2051
 Warning coding OverloadMethodsDeclarationOrder All overloaded methods should be placed next to each other. Placing non-overloaded methods in between overloaded methods with the same type is a violation. Previous overloaded method located at line '2,033'. 2069

org/mybatis/generator/api/dom/kotlin/render/KotlinTypeRenderer.java

Severity Category Rule Message Line
 Warning indentation Indentation '+' has incorrect indentation level 12, expected level should be 16. 37
 Warning sizes LineLength Line is longer than 120 characters (found 144). 40

org/mybatis/generator/codegen/mybatis3/MyBatis3FormattingUtilities.java

Severity Category Rule Message Line
 Warning javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 105
 Warning javadoc JavadocParagraph <p> tag should be preceded with an empty line. 105

org/mybatis/generator/config/xml/ConfigurationParser.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'javax.xml.XMLConstants' 29

org/mybatis/generator/internal/XmlFileMergerJaxp.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'javax.xml.XMLConstants' 29

org/mybatis/generator/runtime/kotlin/elements/KotlinFragmentGenerator.java

Severity Category Rule Message Line
 Warning whitespace WhitespaceAround WhitespaceAround: 'if' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) 73