Checkstyle Results

The following document contains the results of Checkstyle 10.17.0 with checkstyle.xml ruleset.

Summary

Files  Info  Warnings  Errors
17 0 49 0

Files

File  I  W  E
org/mybatis/scripting/freemarker/FreeMarkerLanguageDriver.java 0 6 0
org/mybatis/scripting/freemarker/FreeMarkerLanguageDriverConfig.java 0 1 0
org/mybatis/scripting/freemarker/FreeMarkerSqlSource.java 0 7 0
org/mybatis/scripting/freemarker/GeneratedParamsTemplateModel.java 0 2 0
org/mybatis/scripting/freemarker/MyBatisParamDirective.java 0 15 0
org/mybatis/scripting/freemarker/ParamObjectAdapter.java 0 7 0
org/mybatis/scripting/freemarker/support/TemplateFilePathProvider.java 0 11 0

Rules

Category Rule Violations Severity
imports CustomImportOrder
  • separateLineBetweenGroups: "true"
  • sortImportsInGroupAlphabetically: "true"
  • customImportOrderRules: "STATIC###THIRD_PARTY_PACKAGE"
  • tokens: "IMPORT, STATIC_IMPORT, PACKAGE_DEF"
36  Warning
javadoc JavadocParagraph 12  Warning
MissingJavadocMethod
  • scope: "public"
  • tokens: "METHOD_DEF, CTOR_DEF, ANNOTATION_FIELD_DEF, COMPACT_CTOR_DEF"
  • minLineCount: "2"
  • allowedAnnotations: "Override, Test"
1  Warning

Details

org/mybatis/scripting/freemarker/FreeMarkerLanguageDriver.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'org.apache.ibatis.executor.parameter.ParameterHandler' 22
 Warning imports CustomImportOrder Extra separation in import group before 'freemarker.cache.ClassTemplateLoader' 32
 Warning imports CustomImportOrder Wrong lexicographical order for 'freemarker.cache.ClassTemplateLoader' import. Should be before 'org.mybatis.scripting.freemarker.support.TemplateFilePathProvider'. 32
 Warning imports CustomImportOrder Wrong lexicographical order for 'freemarker.cache.TemplateLoader' import. Should be before 'org.mybatis.scripting.freemarker.support.TemplateFilePathProvider'. 33
 Warning imports CustomImportOrder Wrong lexicographical order for 'freemarker.template.Template' import. Should be before 'org.mybatis.scripting.freemarker.support.TemplateFilePathProvider'. 34
 Warning imports CustomImportOrder Wrong lexicographical order for 'freemarker.template.TemplateException' import. Should be before 'org.mybatis.scripting.freemarker.support.TemplateFilePathProvider'. 35

org/mybatis/scripting/freemarker/FreeMarkerLanguageDriverConfig.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'org.apache.commons.text.WordUtils' 33

org/mybatis/scripting/freemarker/FreeMarkerSqlSource.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'org.apache.ibatis.builder.SqlSourceBuilder' 24
 Warning imports CustomImportOrder Extra separation in import group before 'freemarker.template.SimpleScalar' 29
 Warning imports CustomImportOrder Wrong lexicographical order for 'freemarker.template.SimpleScalar' import. Should be before 'org.apache.ibatis.session.Configuration'. 29
 Warning imports CustomImportOrder Wrong lexicographical order for 'freemarker.template.Template' import. Should be before 'org.apache.ibatis.session.Configuration'. 30
 Warning imports CustomImportOrder Wrong lexicographical order for 'freemarker.template.TemplateException' import. Should be before 'org.apache.ibatis.session.Configuration'. 31
 Warning imports CustomImportOrder Wrong lexicographical order for 'freemarker.template.Version' import. Should be before 'org.apache.ibatis.session.Configuration'. 32
 Warning javadoc MissingJavadocMethod Missing a Javadoc comment. 48

org/mybatis/scripting/freemarker/GeneratedParamsTemplateModel.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'freemarker.template.TemplateModel' 20
 Warning imports CustomImportOrder Wrong lexicographical order for 'freemarker.template.TemplateModel' import. Should be before 'java.util.List'. 20

org/mybatis/scripting/freemarker/MyBatisParamDirective.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'freemarker.core.Environment' 22
 Warning imports CustomImportOrder Wrong lexicographical order for 'freemarker.core.Environment' import. Should be before 'java.util.Map'. 22
 Warning imports CustomImportOrder Wrong lexicographical order for 'freemarker.ext.util.WrapperTemplateModel' import. Should be before 'java.util.Map'. 23
 Warning imports CustomImportOrder Wrong lexicographical order for 'freemarker.template.DefaultListAdapter' import. Should be before 'java.util.Map'. 24
 Warning imports CustomImportOrder Wrong lexicographical order for 'freemarker.template.SimpleScalar' import. Should be before 'java.util.Map'. 25
 Warning imports CustomImportOrder Wrong lexicographical order for 'freemarker.template.TemplateBooleanModel' import. Should be before 'java.util.Map'. 26
 Warning imports CustomImportOrder Wrong lexicographical order for 'freemarker.template.TemplateDateModel' import. Should be before 'java.util.Map'. 27
 Warning imports CustomImportOrder Wrong lexicographical order for 'freemarker.template.TemplateDirectiveBody' import. Should be before 'java.util.Map'. 28
 Warning imports CustomImportOrder Wrong lexicographical order for 'freemarker.template.TemplateDirectiveModel' import. Should be before 'java.util.Map'. 29
 Warning imports CustomImportOrder Wrong lexicographical order for 'freemarker.template.TemplateException' import. Should be before 'java.util.Map'. 30
 Warning imports CustomImportOrder Wrong lexicographical order for 'freemarker.template.TemplateModel' import. Should be before 'java.util.Map'. 31
 Warning imports CustomImportOrder Wrong lexicographical order for 'freemarker.template.TemplateNumberModel' import. Should be before 'java.util.Map'. 32
 Warning imports CustomImportOrder Wrong lexicographical order for 'freemarker.template.TemplateScalarModel' import. Should be before 'java.util.Map'. 33
 Warning javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 39
 Warning javadoc JavadocParagraph <p> tag should be preceded with an empty line. 39

org/mybatis/scripting/freemarker/ParamObjectAdapter.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'freemarker.ext.beans.BeanModel' 21
 Warning imports CustomImportOrder Wrong lexicographical order for 'freemarker.ext.beans.BeanModel' import. Should be before 'java.util.HashMap'. 21
 Warning imports CustomImportOrder Wrong lexicographical order for 'freemarker.ext.beans.BeansWrapperBuilder' import. Should be before 'java.util.HashMap'. 22
 Warning imports CustomImportOrder Wrong lexicographical order for 'freemarker.template.TemplateHashModel' import. Should be before 'java.util.HashMap'. 23
 Warning imports CustomImportOrder Wrong lexicographical order for 'freemarker.template.TemplateModel' import. Should be before 'java.util.HashMap'. 24
 Warning imports CustomImportOrder Wrong lexicographical order for 'freemarker.template.TemplateModelException' import. Should be before 'java.util.HashMap'. 25
 Warning imports CustomImportOrder Wrong lexicographical order for 'freemarker.template.Version' import. Should be before 'java.util.HashMap'. 26

org/mybatis/scripting/freemarker/support/TemplateFilePathProvider.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'org.apache.ibatis.builder.annotation.ProviderContext' 24
 Warning javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 32
 Warning javadoc JavadocParagraph <p> tag should be preceded with an empty line. 32
 Warning javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 35
 Warning javadoc JavadocParagraph <p> tag should be preceded with an empty line. 35
 Warning javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 100
 Warning javadoc JavadocParagraph <p> tag should be preceded with an empty line. 100
 Warning javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 102
 Warning javadoc JavadocParagraph <p> tag should be preceded with an empty line. 102
 Warning javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 116
 Warning javadoc JavadocParagraph <p> tag should be preceded with an empty line. 116