Checkstyle Results

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

Summary

Files
 Info
 Warnings
 Errors
24 0 160 0

Files

File
 I
 W
 E
org/mybatis/logging/Logger.java 0 3 0
org/mybatis/logging/LoggerFactory.java 0 1 0
org/mybatis/spring/MyBatisExceptionTranslator.java 0 4 0
org/mybatis/spring/MyBatisSystemException.java 0 2 0
org/mybatis/spring/SqlSessionFactoryBean.java 0 24 0
org/mybatis/spring/SqlSessionTemplate.java 0 10 0
org/mybatis/spring/SqlSessionUtils.java 0 6 0
org/mybatis/spring/annotation/MapperScan.java 0 13 0
org/mybatis/spring/annotation/MapperScannerRegistrar.java 0 1 0
org/mybatis/spring/annotation/MapperScans.java 0 4 0
org/mybatis/spring/annotation/package-info.java 0 1 0
org/mybatis/spring/batch/MyBatisBatchItemWriter.java 0 11 0
org/mybatis/spring/batch/MyBatisCursorItemReader.java 0 2 0
org/mybatis/spring/batch/MyBatisPagingItemReader.java 0 3 0
org/mybatis/spring/batch/builder/MyBatisBatchItemWriterBuilder.java 0 1 0
org/mybatis/spring/batch/builder/MyBatisCursorItemReaderBuilder.java 0 1 0
org/mybatis/spring/batch/builder/MyBatisPagingItemReaderBuilder.java 0 1 0
org/mybatis/spring/config/MapperScannerBeanDefinitionParser.java 0 1 0
org/mybatis/spring/mapper/ClassPathMapperScanner.java 0 6 0
org/mybatis/spring/mapper/MapperFactoryBean.java 0 10 0
org/mybatis/spring/mapper/MapperScannerConfigurer.java 0 37 0
org/mybatis/spring/support/SqlSessionDaoSupport.java 0 8 0
org/mybatis/spring/transaction/SpringManagedTransaction.java 0 8 0
org/mybatis/spring/transaction/SpringManagedTransactionFactory.java 0 2 0

Rules

Category Rule Violations Severity
imports CustomImportOrder
  • separateLineBetweenGroups: "true"
  • sortImportsInGroupAlphabetically: "true"
  • customImportOrderRules: "STATIC###THIRD_PARTY_PACKAGE"
  • tokens: "IMPORT, STATIC_IMPORT, PACKAGE_DEF"
23
 Warning
javadoc AtclauseOrder
  • tagOrder: "@param, @return, @throws, @deprecated"
  • target: "CLASS_DEF, INTERFACE_DEF, ENUM_DEF, METHOD_DEF, CTOR_DEF, VARIABLE_DEF"
2
 Warning
JavadocParagraph 117
 Warning
MissingJavadocMethod
  • scope: "public"
  • tokens: "METHOD_DEF, CTOR_DEF, ANNOTATION_FIELD_DEF, COMPACT_CTOR_DEF"
  • minLineCount: "2"
  • allowedAnnotations: "Override, Test"
3
 Warning
SummaryJavadoc
  • forbiddenSummaryFragments: "^@return the *|^This method returns |^A [{]@code [a-zA-Z0-9]+[}]( is a )"
9
 Warning
naming ParameterName
  • format: "^[a-z]([a-z0-9][a-zA-Z0-9]*)?$"
1
 Warning
sizes LineLength
  • fileExtensions: "java"
  • max: "120"
  • ignorePattern: "^package.*|^import.*|a href|href|http://|https://|ftp://"
4
 Error
whitespace WhitespaceAround
  • allowEmptyConstructors: "true"
  • ignoreEnhancedForColon: "false"
  • allowEmptyLambdas: "true"
  • allowEmptyMethods: "true"
  • allowEmptyLoops: "true"
  • tokens: "ASSIGN, BAND, BAND_ASSIGN, BOR, BOR_ASSIGN, BSR, BSR_ASSIGN, BXOR, BXOR_ASSIGN, COLON, DIV, DIV_ASSIGN, DO_WHILE, EQUAL, GE, GT, LAMBDA, LAND, LCURLY, LE, LITERAL_CATCH, LITERAL_DO, LITERAL_ELSE, LITERAL_FINALLY, LITERAL_FOR, LITERAL_IF, LITERAL_RETURN, LITERAL_SWITCH, LITERAL_SYNCHRONIZED, LITERAL_TRY, LITERAL_WHILE, LOR, LT, MINUS, MINUS_ASSIGN, MOD, MOD_ASSIGN, NOT_EQUAL, PLUS, PLUS_ASSIGN, QUESTION, RCURLY, SL, SLIST, SL_ASSIGN, SR, SR_ASSIGN, STAR, STAR_ASSIGN, LITERAL_ASSERT, TYPE_EXTENSION_AND"
  • allowEmptyTypes: "true"
1
 Warning

Details

org/mybatis/logging/Logger.java

Severity Category Rule Message Line
 Warning
imports CustomImportOrder Extra separation in import group before 'org.apache.ibatis.logging.Log' 20
 Warning
javadoc MissingJavadocMethod Missing a Javadoc comment. 47
 Warning
javadoc MissingJavadocMethod Missing a Javadoc comment. 53

org/mybatis/logging/LoggerFactory.java

Severity Category Rule Message Line
 Warning
naming ParameterName Parameter name 'aClass' must match pattern '^[a-z]([a-z0-9][a-zA-Z0-9]*)?$'. 31

org/mybatis/spring/MyBatisExceptionTranslator.java

Severity Category Rule Message Line
 Warning
imports CustomImportOrder Extra separation in import group before 'javax.sql.DataSource' 21
 Warning
imports CustomImportOrder Extra separation in import group before 'org.apache.ibatis.exceptions.PersistenceException' 23
 Warning
javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 33
 Warning
javadoc JavadocParagraph <p> tag should be preceded with an empty line. 33

org/mybatis/spring/MyBatisSystemException.java

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

org/mybatis/spring/SqlSessionFactoryBean.java

Severity Category Rule Message Line
 Warning
imports CustomImportOrder Extra separation in import group before 'javax.sql.DataSource' 33
 Warning
imports CustomImportOrder Extra separation in import group before 'org.apache.ibatis.builder.xml.XMLConfigBuilder' 35
 Warning
javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 74
 Warning
javadoc JavadocParagraph <p> tag should be preceded with an empty line. 74
 Warning
javadoc SummaryJavadoc First sentence of Javadoc is missing an ending period. 172
 Warning
javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 247
 Warning
javadoc JavadocParagraph <p> tag should be preceded with an empty line. 247
 Warning
javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 274
 Warning
javadoc JavadocParagraph <p> tag should be preceded with an empty line. 274
 Warning
javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 362
 Warning
javadoc JavadocParagraph <p> tag should be preceded with an empty line. 362
 Warning
javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 390
 Warning
javadoc JavadocParagraph <p> tag should be preceded with an empty line. 390
 Warning
javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 393
 Warning
javadoc JavadocParagraph <p> tag should be preceded with an empty line. 393
 Warning
javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 417
 Warning
javadoc JavadocParagraph <p> tag should be preceded with an empty line. 417
 Warning
javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 430
 Warning
javadoc JavadocParagraph <p> tag should be preceded with an empty line. 430
 Warning
javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 434
 Warning
javadoc JavadocParagraph <p> tag should be preceded with an empty line. 434
 Warning
javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 497
 Warning
javadoc JavadocParagraph <p> tag should be preceded with an empty line. 497
 Warning
whitespace WhitespaceAround WhitespaceAround: '{' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) 577

org/mybatis/spring/SqlSessionTemplate.java

Severity Category Rule Message Line
 Warning
imports CustomImportOrder Extra separation in import group before 'org.apache.ibatis.reflection.ExceptionUtil.unwrapThrowable' 20
 Warning
imports CustomImportOrder Extra separation in import group before 'org.apache.ibatis.cursor.Cursor' 32
 Warning
javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 49
 Warning
javadoc JavadocParagraph <p> tag should be preceded with an empty line. 49
 Warning
javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 53
 Warning
javadoc JavadocParagraph <p> tag should be preceded with an empty line. 53
 Warning
javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 56
 Warning
javadoc JavadocParagraph <p> tag should be preceded with an empty line. 56
 Warning
javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 400
 Warning
sizes LineLength Line is longer than 120 characters (found 133). 405

org/mybatis/spring/SqlSessionUtils.java

Severity Category Rule Message Line
 Warning
javadoc SummaryJavadoc First sentence of Javadoc is missing an ending period. 57
 Warning
javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 119
 Warning
javadoc JavadocParagraph <p> tag should be preceded with an empty line. 119
 Warning
sizes LineLength Line is longer than 120 characters (found 134). 154
 Warning
javadoc SummaryJavadoc First sentence of Javadoc is missing an ending period. 180
 Warning
javadoc SummaryJavadoc First sentence of Javadoc is missing an ending period. 204

org/mybatis/spring/annotation/MapperScan.java

Severity Category Rule Message Line
 Warning
imports CustomImportOrder Extra separation in import group before 'org.mybatis.spring.mapper.MapperFactoryBean' 26
 Warning
javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 36
 Warning
javadoc JavadocParagraph <p> tag should be preceded with an empty line. 36
 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
 Warning
javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 122
 Warning
javadoc JavadocParagraph <p> tag should be preceded with an empty line. 122
 Warning
javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 124
 Warning
javadoc JavadocParagraph <p> tag should be preceded with an empty line. 124
 Warning
javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 133
 Warning
javadoc JavadocParagraph <p> tag should be preceded with an empty line. 133
 Warning
javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 136
 Warning
javadoc JavadocParagraph <p> tag should be preceded with an empty line. 136

org/mybatis/spring/annotation/MapperScannerRegistrar.java

Severity Category Rule Message Line
 Warning
imports CustomImportOrder Extra separation in import group before 'org.mybatis.spring.mapper.ClassPathMapperScanner' 24

org/mybatis/spring/annotation/MapperScans.java

Severity Category Rule Message Line
 Warning
imports CustomImportOrder Extra separation in import group before 'org.springframework.context.annotation.Import' 24
 Warning
javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 28
 Warning
javadoc JavadocParagraph <p> tag should be preceded with an empty line. 28
 Warning
javadoc MissingJavadocMethod Missing a Javadoc comment. 44

org/mybatis/spring/annotation/package-info.java

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

org/mybatis/spring/batch/MyBatisBatchItemWriter.java

Severity Category Rule Message Line
 Warning
imports CustomImportOrder Extra separation in import group before 'org.apache.ibatis.executor.BatchResult' 23
 Warning
javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 40
 Warning
javadoc JavadocParagraph <p> tag should be preceded with an empty line. 40
 Warning
javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 42
 Warning
javadoc JavadocParagraph <p> tag should be preceded with an empty line. 42
 Warning
javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 44
 Warning
javadoc JavadocParagraph <p> tag should be preceded with an empty line. 44
 Warning
javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 47
 Warning
javadoc JavadocParagraph <p> tag should be preceded with an empty line. 47
 Warning
javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 112
 Warning
javadoc JavadocParagraph <p> tag should be preceded with an empty line. 112

org/mybatis/spring/batch/MyBatisCursorItemReader.java

Severity Category Rule Message Line
 Warning
imports CustomImportOrder Extra separation in import group before 'org.apache.ibatis.cursor.Cursor' 27
 Warning
javadoc SummaryJavadoc Summary javadoc is missing. 34

org/mybatis/spring/batch/MyBatisPagingItemReader.java

Severity Category Rule Message Line
 Warning
imports CustomImportOrder Extra separation in import group before 'org.apache.ibatis.session.ExecutorType' 27
 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

org/mybatis/spring/batch/builder/MyBatisBatchItemWriterBuilder.java

Severity Category Rule Message Line
 Warning
imports CustomImportOrder Extra separation in import group before 'org.apache.ibatis.session.SqlSessionFactory' 20

org/mybatis/spring/batch/builder/MyBatisCursorItemReaderBuilder.java

Severity Category Rule Message Line
 Warning
imports CustomImportOrder Extra separation in import group before 'org.apache.ibatis.session.SqlSessionFactory' 22

org/mybatis/spring/batch/builder/MyBatisPagingItemReaderBuilder.java

Severity Category Rule Message Line
 Warning
imports CustomImportOrder Extra separation in import group before 'org.apache.ibatis.session.SqlSessionFactory' 22

org/mybatis/spring/config/MapperScannerBeanDefinitionParser.java

Severity Category Rule Message Line
 Warning
imports CustomImportOrder Extra separation in import group before 'org.mybatis.spring.mapper.ClassPathMapperScanner' 20

org/mybatis/spring/mapper/ClassPathMapperScanner.java

Severity Category Rule Message Line
 Warning
imports CustomImportOrder Extra separation in import group before 'org.apache.ibatis.io.Resources' 23
 Warning
javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 47
 Warning
javadoc JavadocParagraph <p> tag should be preceded with an empty line. 47
 Warning
javadoc SummaryJavadoc Summary javadoc is missing. 132
 Warning
sizes LineLength Line is longer than 120 characters (found 121). 269
 Warning
sizes LineLength Line is longer than 120 characters (found 121). 277

org/mybatis/spring/mapper/MapperFactoryBean.java

Severity Category Rule Message Line
 Warning
javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 29
 Warning
javadoc JavadocParagraph <p> tag should be preceded with an empty line. 29
 Warning
javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 47
 Warning
javadoc JavadocParagraph <p> tag should be preceded with an empty line. 47
 Warning
javadoc SummaryJavadoc First sentence of Javadoc is missing an ending period. 116
 Warning
javadoc SummaryJavadoc First sentence of Javadoc is missing an ending period. 126
 Warning
javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 138
 Warning
javadoc JavadocParagraph <p> tag should be preceded with an empty line. 138
 Warning
javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 140
 Warning
javadoc JavadocParagraph <p> tag should be preceded with an empty line. 140

org/mybatis/spring/mapper/MapperScannerConfigurer.java

Severity Category Rule Message Line
 Warning
imports CustomImportOrder Extra separation in import group before 'org.apache.ibatis.session.SqlSessionFactory' 24
 Warning
javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 48
 Warning
javadoc JavadocParagraph <p> tag should be preceded with an empty line. 48
 Warning
javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 52
 Warning
javadoc JavadocParagraph <p> tag should be preceded with an empty line. 52
 Warning
javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 54
 Warning
javadoc JavadocParagraph <p> tag should be preceded with an empty line. 54
 Warning
javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 60
 Warning
javadoc JavadocParagraph <p> tag should be preceded with an empty line. 60
 Warning
javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 67
 Warning
javadoc JavadocParagraph <p> tag should be preceded with an empty line. 67
 Warning
javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 72
 Warning
javadoc JavadocParagraph <p> tag should be preceded with an empty line. 72
 Warning
javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 126
 Warning
javadoc JavadocParagraph <p> tag should be preceded with an empty line. 126
 Warning
javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 128
 Warning
javadoc JavadocParagraph <p> tag should be preceded with an empty line. 128
 Warning
javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 167
 Warning
javadoc JavadocParagraph <p> tag should be preceded with an empty line. 167
 Warning
javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 169
 Warning
javadoc JavadocParagraph <p> tag should be preceded with an empty line. 169
 Warning
javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 181
 Warning
javadoc JavadocParagraph <p> tag should be preceded with an empty line. 181
 Warning
javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 184
 Warning
javadoc JavadocParagraph <p> tag should be preceded with an empty line. 184
 Warning
javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 197
 Warning
javadoc JavadocParagraph <p> tag should be preceded with an empty line. 197
 Warning
javadoc AtclauseOrder Block tags have to appear in the order '[@param, @return, @throws, @deprecated]'. 201
 Warning
javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 212
 Warning
javadoc JavadocParagraph <p> tag should be preceded with an empty line. 212
 Warning
javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 228
 Warning
javadoc JavadocParagraph <p> tag should be preceded with an empty line. 228
 Warning
javadoc AtclauseOrder Block tags have to appear in the order '[@param, @return, @throws, @deprecated]'. 232
 Warning
javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 243
 Warning
javadoc JavadocParagraph <p> tag should be preceded with an empty line. 243
 Warning
javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 258
 Warning
javadoc JavadocParagraph <p> tag should be preceded with an empty line. 258

org/mybatis/spring/support/SqlSessionDaoSupport.java

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

org/mybatis/spring/transaction/SpringManagedTransaction.java

Severity Category Rule Message Line
 Warning
imports CustomImportOrder Extra separation in import group before 'javax.sql.DataSource' 23
 Warning
imports CustomImportOrder Extra separation in import group before 'org.apache.ibatis.transaction.Transaction' 25
 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. 38
 Warning
javadoc JavadocParagraph <p> tag should be preceded with an empty line. 38
 Warning
javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 75
 Warning
javadoc JavadocParagraph <p> tag should be preceded with an empty line. 75

org/mybatis/spring/transaction/SpringManagedTransactionFactory.java

Severity Category Rule Message Line
 Warning
imports CustomImportOrder Extra separation in import group before 'javax.sql.DataSource' 21
 Warning
imports CustomImportOrder Extra separation in import group before 'org.apache.ibatis.session.TransactionIsolationLevel' 23