Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
9 0 25 0

Files

File  I  W  E
org/mybatis/cdi/CDIUtils.java 0 7 0
org/mybatis/cdi/LocalTransactionInterceptor.java 0 2 0
org/mybatis/cdi/Mapper.java 0 1 0
org/mybatis/cdi/MyBatisBean.java 0 2 0
org/mybatis/cdi/MybatisExtension.java 0 3 0
org/mybatis/cdi/SerializableMapperProxy.java 0 3 0
org/mybatis/cdi/SessionFactoryProvider.java 0 1 0
org/mybatis/cdi/SqlSessionManagerRegistry.java 0 3 0
org/mybatis/cdi/Transactional.java 0 3 0

Rules

Category Rule Violations Severity
imports CustomImportOrder
  • separateLineBetweenGroups: "true"
  • sortImportsInGroupAlphabetically: "true"
  • customImportOrderRules: "STATIC###THIRD_PARTY_PACKAGE"
  • tokens: "IMPORT, STATIC_IMPORT, PACKAGE_DEF"
16  Warning
javadoc MissingJavadocType
  • scope: "protected"
  • excludeScope: "nothing"
  • tokens: "CLASS_DEF, INTERFACE_DEF, ENUM_DEF, RECORD_DEF, ANNOTATION_DEF"
2  Warning
SummaryJavadoc
  • forbiddenSummaryFragments: "^@return the *|^This method returns |^A [{]@code [a-zA-Z0-9]+[}]( is a )"
5  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"
  • allowedAbbreviations: "XML,URL"
  • allowedAbbreviationLength: "0"
1  Warning
sizes LineLength
  • fileExtensions: "java"
  • max: "120"
  • ignorePattern: "^package.*|^import.*|a href|href|http://|https://|ftp://"
1  Error

Details

org/mybatis/cdi/CDIUtils.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'java.lang.annotation.Annotation' 26
 Warning imports CustomImportOrder Extra separation in import group before 'org.apache.ibatis.session.SqlSessionFactory' 30
 Warning javadoc SummaryJavadoc Summary javadoc is missing. 32
 Warning naming AbbreviationAsWordInName Abbreviation in name 'CDIUtils' must contain no more than '1' consecutive capital letters. 35
 Warning javadoc SummaryJavadoc First sentence of Javadoc is missing an ending period. 41
 Warning javadoc MissingJavadocType Missing a Javadoc comment. 93
 Warning javadoc MissingJavadocType Missing a Javadoc comment. 97

org/mybatis/cdi/LocalTransactionInterceptor.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'java.io.Serializable' 28
 Warning imports CustomImportOrder Extra separation in import group before 'org.apache.ibatis.session.SqlSessionManager' 32

org/mybatis/cdi/Mapper.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'java.lang.annotation.Inherited' 23

org/mybatis/cdi/MyBatisBean.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'java.io.Serializable' 24
 Warning imports CustomImportOrder Extra separation in import group before 'org.apache.ibatis.executor.ErrorContext' 32

org/mybatis/cdi/MybatisExtension.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'java.lang.annotation.Annotation' 32
 Warning imports CustomImportOrder Extra separation in import group before 'org.apache.ibatis.session.SqlSession' 40
 Warning sizes LineLength Line is longer than 120 characters (found 129). 105

org/mybatis/cdi/SerializableMapperProxy.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'java.io.IOException' 20
 Warning imports CustomImportOrder Extra separation in import group before 'org.apache.ibatis.session.SqlSessionFactory' 28
 Warning javadoc SummaryJavadoc Summary javadoc is missing. 30

org/mybatis/cdi/SessionFactoryProvider.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'java.lang.annotation.ElementType' 22

org/mybatis/cdi/SqlSessionManagerRegistry.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'java.util.Collection' 24
 Warning imports CustomImportOrder Extra separation in import group before 'org.apache.ibatis.session.SqlSessionFactory' 29
 Warning javadoc SummaryJavadoc Summary javadoc is missing. 32

org/mybatis/cdi/Transactional.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'java.lang.annotation.ElementType' 21
 Warning imports CustomImportOrder Extra separation in import group before 'org.apache.ibatis.session.ExecutorType' 26
 Warning javadoc SummaryJavadoc First sentence of Javadoc is missing an ending period. 54