Checkstyle Results

The following document contains the results of Checkstyle 8.16 with checkstyle.xml ruleset. rss feed

Summary

Files  Info  Warnings  Errors
21 0 149 0

Rules

Category Rule Violations Severity
imports CustomImportOrder
  • separateLineBetweenGroups: "true"
  • sortImportsInGroupAlphabetically: "true"
  • customImportOrderRules: "STATIC###THIRD_PARTY_PACKAGE"
33  Warning
javadoc JavadocMethod
  • scope: "public"
  • allowMissingThrowsTags: "true"
  • allowThrowsTagsForSubclasses: "true"
  • allowMissingReturnTag: "true"
  • allowMissingParamTags: "true"
  • minLineCount: "2"
  • allowedAnnotations: "Override, Test"
3  Warning
JavadocParagraph 99  Warning
SummaryJavadoc
  • forbiddenSummaryFragments: "^@return the *|^This method returns |^A [{]@code [a-zA-Z0-9]+[}]( is a )"
8  Warning
naming ParameterName
  • format: "^[a-z]([a-z0-9][a-zA-Z0-9]*)?$"
1  Warning
sizes LineLength
  • max: "120"
  • ignorePattern: "^package.*|^import.*|a href|href|http://|https://|ftp://"
4  Warning
whitespace WhitespaceAround
  • allowEmptyConstructors: "true"
  • allowEmptyMethods: "true"
  • allowEmptyLoops: "true"
  • allowEmptyTypes: "true"
1  Warning

Details

org/mybatis/logging/Logger.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Wrong lexicographical order for 'java.util.function.Supplier' import. Should be before 'org.apache.ibatis.logging.Log'. 20
 Warning javadoc JavadocMethod Missing a Javadoc comment. 47
 Warning javadoc JavadocMethod 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 javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 32

org/mybatis/spring/MyBatisSystemException.java

Severity Category Rule Message Line
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 23

org/mybatis/spring/SqlSessionFactoryBean.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Wrong lexicographical order for 'java.io.IOException' import. Should be before 'javax.sql.DataSource'. 19
 Warning imports CustomImportOrder Wrong lexicographical order for 'java.lang.reflect.Modifier' import. Should be before 'javax.sql.DataSource'. 20
 Warning imports CustomImportOrder Wrong lexicographical order for 'java.sql.SQLException' import. Should be before 'javax.sql.DataSource'. 21
 Warning imports CustomImportOrder Wrong lexicographical order for 'java.util.HashSet' import. Should be before 'javax.sql.DataSource'. 22
 Warning imports CustomImportOrder Wrong lexicographical order for 'java.util.Optional' import. Should be before 'javax.sql.DataSource'. 23
 Warning imports CustomImportOrder Wrong lexicographical order for 'java.util.Properties' import. Should be before 'javax.sql.DataSource'. 24
 Warning imports CustomImportOrder Wrong lexicographical order for 'java.util.Set' import. Should be before 'javax.sql.DataSource'. 25
 Warning imports CustomImportOrder Wrong lexicographical order for 'java.util.stream.Stream' import. Should be before 'javax.sql.DataSource'. 26
 Warning imports CustomImportOrder Import statement for 'org.springframework.util.Assert.notNull' is in the wrong order. Should be in the 'STATIC' group, expecting not assigned imports on this line. 64
 Warning imports CustomImportOrder Import statement for 'org.springframework.util.Assert.state' is in the wrong order. Should be in the 'STATIC' group, expecting not assigned imports on this line. 65
 Warning imports CustomImportOrder Import statement for 'org.springframework.util.ObjectUtils.isEmpty' is in the wrong order. Should be in the 'STATIC' group, expecting not assigned imports on this line. 66
 Warning imports CustomImportOrder Import statement for 'org.springframework.util.StringUtils.hasLength' is in the wrong order. Should be in the 'STATIC' group, expecting not assigned imports on this line. 67
 Warning imports CustomImportOrder Import statement for 'org.springframework.util.StringUtils.tokenizeToStringArray' is in the wrong order. Should be in the 'STATIC' group, expecting not assigned imports on this line. 68
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 74
 Warning javadoc SummaryJavadoc First sentence of Javadoc is missing an ending period. 166
 Warning javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 241
 Warning javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 271
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 346
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 374
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 377
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 402
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 416
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 480
 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) 557

org/mybatis/spring/SqlSessionTemplate.java

Severity Category Rule Message Line
 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. 55
 Warning javadoc JavadocParagraph <p> tag should be preceded with an empty line. 55
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 401
 Warning sizes LineLength Line is longer than 120 characters (found 133). 406

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 Empty line should be followed by <p> tag on the next line. 114
 Warning sizes LineLength Line is longer than 120 characters (found 134). 149
 Warning javadoc SummaryJavadoc First sentence of Javadoc is missing an ending period. 175
 Warning javadoc SummaryJavadoc First sentence of Javadoc is missing an ending period. 199

org/mybatis/spring/annotation/MapperScan.java

Severity Category Rule Message Line
 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 placed immediately before the first word, with no space after. 118
 Warning javadoc JavadocParagraph <p> tag should be preceded with an empty line. 118
 Warning javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 120
 Warning javadoc JavadocParagraph <p> tag should be preceded with an empty line. 120
 Warning javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 129
 Warning javadoc JavadocParagraph <p> tag should be preceded with an empty line. 129
 Warning javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 132
 Warning javadoc JavadocParagraph <p> tag should be preceded with an empty line. 132

org/mybatis/spring/annotation/MapperScans.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Wrong lexicographical order for 'java.lang.annotation.Documented' import. Should be before 'org.springframework.context.annotation.Import'. 20
 Warning imports CustomImportOrder Wrong lexicographical order for 'java.lang.annotation.ElementType' import. Should be before 'org.springframework.context.annotation.Import'. 21
 Warning imports CustomImportOrder Wrong lexicographical order for 'java.lang.annotation.Retention' import. Should be before 'org.springframework.context.annotation.Import'. 22
 Warning imports CustomImportOrder Wrong lexicographical order for 'java.lang.annotation.RetentionPolicy' import. Should be before 'org.springframework.context.annotation.Import'. 23
 Warning imports CustomImportOrder Wrong lexicographical order for 'java.lang.annotation.Target' import. Should be before 'org.springframework.context.annotation.Import'. 24
 Warning javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 29
 Warning javadoc JavadocMethod Missing a Javadoc comment. 43

org/mybatis/spring/batch/MyBatisBatchItemWriter.java

Severity Category Rule Message Line
 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
 Warning javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 41
 Warning javadoc JavadocParagraph <p> tag should be preceded with an empty line. 41
 Warning javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 43
 Warning javadoc JavadocParagraph <p> tag should be preceded with an empty line. 43
 Warning javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 46
 Warning javadoc JavadocParagraph <p> tag should be preceded with an empty line. 46
 Warning javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 111
 Warning javadoc JavadocParagraph <p> tag should be preceded with an empty line. 111

org/mybatis/spring/batch/MyBatisCursorItemReader.java

Severity Category Rule Message Line
 Warning javadoc SummaryJavadoc Summary javadoc is missing. 32

org/mybatis/spring/batch/MyBatisPagingItemReader.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Wrong lexicographical order for 'java.util.HashMap' import. Should be before 'org.springframework.batch.item.database.AbstractPagingItemReader'. 24
 Warning imports CustomImportOrder Wrong lexicographical order for 'java.util.Map' import. Should be before 'org.springframework.batch.item.database.AbstractPagingItemReader'. 25
 Warning imports CustomImportOrder Wrong lexicographical order for 'java.util.concurrent.CopyOnWriteArrayList' import. Should be before 'org.springframework.batch.item.database.AbstractPagingItemReader'. 26
 Warning imports CustomImportOrder Import statement for 'org.springframework.util.Assert.notNull' is in the wrong order. Should be in the 'STATIC' group, expecting not assigned imports on this line. 28
 Warning imports CustomImportOrder Import statement for 'org.springframework.util.ClassUtils.getShortName' is in the wrong order. Should be in the 'STATIC' group, expecting not assigned imports on this line. 29
 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/batch/builder/MyBatisBatchItemWriterBuilder.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Wrong lexicographical order for 'java.util.Optional' import. Should be before 'org.springframework.core.convert.converter.Converter'. 23

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

Severity Category Rule Message Line
 Warning imports CustomImportOrder Wrong lexicographical order for 'java.util.Map' import. Should be before 'org.mybatis.spring.batch.MyBatisCursorItemReader'. 21
 Warning imports CustomImportOrder Wrong lexicographical order for 'java.util.Optional' import. Should be before 'org.mybatis.spring.batch.MyBatisCursorItemReader'. 22

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

Severity Category Rule Message Line
 Warning imports CustomImportOrder Wrong lexicographical order for 'java.util.Map' import. Should be before 'org.mybatis.spring.batch.MyBatisPagingItemReader'. 21
 Warning imports CustomImportOrder Wrong lexicographical order for 'java.util.Optional' import. Should be before 'org.mybatis.spring.batch.MyBatisPagingItemReader'. 22

org/mybatis/spring/config/MapperScannerBeanDefinitionParser.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Wrong lexicographical order for 'org.mybatis.spring.mapper.ClassPathMapperScanner' import. Should be before 'org.mybatis.spring.mapper.MapperFactoryBean'. 21

org/mybatis/spring/mapper/ClassPathMapperScanner.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Wrong lexicographical order for 'java.lang.annotation.Annotation' import. Should be before 'org.springframework.util.StringUtils'. 34
 Warning imports CustomImportOrder Wrong lexicographical order for 'java.util.Arrays' import. Should be before 'org.springframework.util.StringUtils'. 35
 Warning imports CustomImportOrder Wrong lexicographical order for 'java.util.Set' import. Should be before 'org.springframework.util.StringUtils'. 36
 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 SummaryJavadoc Summary javadoc is missing. 120
 Warning sizes LineLength Line is longer than 120 characters (found 121). 221
 Warning sizes LineLength Line is longer than 120 characters (found 121). 229

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 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. 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. 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. 163
 Warning javadoc JavadocParagraph <p> tag should be preceded with an empty line. 163
 Warning javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 165
 Warning javadoc JavadocParagraph <p> tag should be preceded with an empty line. 165
 Warning javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 177
 Warning javadoc JavadocParagraph <p> tag should be preceded with an empty line. 177
 Warning javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 180
 Warning javadoc JavadocParagraph <p> tag should be preceded with an empty line. 180
 Warning javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 193
 Warning javadoc JavadocParagraph <p> tag should be preceded with an empty line. 193
 Warning javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 208
 Warning javadoc JavadocParagraph <p> tag should be preceded with an empty line. 208
 Warning javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 224
 Warning javadoc JavadocParagraph <p> tag should be preceded with an empty line. 224
 Warning javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 239
 Warning javadoc JavadocParagraph <p> tag should be preceded with an empty line. 239
 Warning javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 254
 Warning javadoc JavadocParagraph <p> tag should be preceded with an empty line. 254

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. 105
 Warning javadoc JavadocParagraph <p> tag should be preceded with an empty line. 105

org/mybatis/spring/transaction/SpringManagedTransaction.java

Severity Category Rule Message Line
 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