Checkstyle Results
The following document contains the results of Checkstyle 11.1.0 with checkstyle.xml ruleset.
Summary
| Files | |||
|---|---|---|---|
| 24 | 0 | 180 | 0 |
Files
Rules
| Category | Rule | Violations | Severity |
|---|---|---|---|
| imports | CustomImportOrder
|
22 | |
| javadoc | AtclauseOrder
|
2 | |
JavadocParagraph
|
135 | ||
SummaryJavadoc
|
9 | ||
| misc | TodoComment
|
2 | |
| naming | ParameterName
|
1 | |
| sizes | LineLength
|
8 | |
| whitespace | WhitespaceAround
|
1 |
Details
org/mybatis/logging/Logger.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'org.apache.ibatis.logging.Log' | 20 |
org/mybatis/logging/LoggerFactory.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| naming | ParameterName | Parameter name 'aClass' must match pattern '^[a-z]([a-z0-9][a-zA-Z0-9]*)?$'. | 42 |
org/mybatis/spring/MyBatisExceptionTranslator.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'javax.sql.DataSource' | 22 | |
| imports | CustomImportOrder | Extra separation in import group before 'org.apache.ibatis.exceptions.PersistenceException' | 24 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 34 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 34 |
org/mybatis/spring/MyBatisSystemException.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 23 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 23 |
org/mybatis/spring/SqlSessionFactoryBean.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'javax.sql.DataSource' | 37 | |
| imports | CustomImportOrder | Extra separation in import group before 'org.apache.ibatis.builder.xml.XMLConfigBuilder' | 39 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 76 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 76 | |
| javadoc | SummaryJavadoc | First sentence of Javadoc is missing an ending period. | 174 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 249 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 249 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 276 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 276 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 364 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 364 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 392 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 392 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 395 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 395 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 419 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 419 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 432 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 432 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 436 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 436 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 487 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 487 | |
| misc | TodoComment | 'TODO:' must be written in all caps and followed by a colon. | 568 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 577 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 577 | |
| 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) | 657 |
org/mybatis/spring/SqlSessionTemplate.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'org.apache.ibatis.reflection.ExceptionUtil.unwrapThrowable' | 20 | |
| imports | CustomImportOrder | Extra separation in import group before 'org.apache.ibatis.cursor.Cursor' | 32 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 49 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 49 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 53 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 53 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 56 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 56 | |
| javadoc | JavadocParagraph | Empty line should be followed by <p> tag on the next line. | 323 | |
| sizes | LineLength | Line is longer than 120 characters (found 133). | 328 |
org/mybatis/spring/SqlSessionUtils.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | SummaryJavadoc | First sentence of Javadoc is missing an ending period. | 55 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 117 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 117 | |
| sizes | LineLength | Line is longer than 120 characters (found 132). | 151 | |
| javadoc | SummaryJavadoc | First sentence of Javadoc is missing an ending period. | 176 | |
| javadoc | SummaryJavadoc | First sentence of Javadoc is missing an ending period. | 200 | |
| misc | TodoComment | 'TODO:' must be written in all caps and followed by a colon. | 269 |
org/mybatis/spring/annotation/MapperScan.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'org.mybatis.spring.mapper.MapperFactoryBean' | 26 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 37 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 37 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 41 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 41 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 105 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 105 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 122 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 122 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 124 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 124 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 133 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 133 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 136 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 136 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 168 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 168 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 179 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 179 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 188 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 188 |
org/mybatis/spring/annotation/MapperScannerRegistrar.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'org.mybatis.spring.mapper.ClassPathMapperScanner' | 26 | |
| javadoc | SummaryJavadoc | First sentence of Javadoc is missing an ending period. | 163 | |
| javadoc | SummaryJavadoc | First sentence of Javadoc is missing an ending period. | 193 |
org/mybatis/spring/annotation/MapperScans.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'org.springframework.context.annotation.Import' | 24 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 28 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 28 |
org/mybatis/spring/annotation/package-info.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | SummaryJavadoc | First sentence of Javadoc is missing an ending period. | 16 |
org/mybatis/spring/batch/MyBatisBatchItemWriter.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 37 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 37 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 39 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 39 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 41 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 41 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 44 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 44 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 112 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 112 |
org/mybatis/spring/batch/MyBatisCursorItemReader.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'org.apache.ibatis.cursor.Cursor' | 27 |
org/mybatis/spring/batch/MyBatisPagingItemReader.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'org.apache.ibatis.session.ExecutorType' | 27 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 36 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 36 |
org/mybatis/spring/batch/builder/MyBatisBatchItemWriterBuilder.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| 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 |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'org.apache.ibatis.session.SqlSessionFactory' | 22 | |
| sizes | LineLength | Line is longer than 120 characters (found 126). | 118 | |
| sizes | LineLength | Line is longer than 120 characters (found 125). | 133 |
org/mybatis/spring/batch/builder/MyBatisPagingItemReaderBuilder.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'org.apache.ibatis.session.SqlSessionFactory' | 22 | |
| sizes | LineLength | Line is longer than 120 characters (found 126). | 134 | |
| sizes | LineLength | Line is longer than 120 characters (found 125). | 149 |
org/mybatis/spring/config/MapperScannerBeanDefinitionParser.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'org.mybatis.spring.mapper.ClassPathMapperScanner' | 24 |
org/mybatis/spring/mapper/ClassPathMapperScanner.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'org.apache.ibatis.io.Resources' | 24 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 52 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 52 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 144 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 144 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 158 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 158 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 257 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 257 | |
| sizes | LineLength | Line is longer than 120 characters (found 121). | 380 | |
| sizes | LineLength | Line is longer than 120 characters (found 121). | 388 |
org/mybatis/spring/mapper/MapperFactoryBean.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 28 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 28 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 46 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 46 | |
| javadoc | SummaryJavadoc | First sentence of Javadoc is missing an ending period. | 115 | |
| javadoc | SummaryJavadoc | First sentence of Javadoc is missing an ending period. | 125 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 137 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 137 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 139 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 139 |
org/mybatis/spring/mapper/MapperScannerConfigurer.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'org.apache.ibatis.session.SqlSessionFactory' | 27 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 57 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 57 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 61 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 61 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 63 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 63 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 69 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 69 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 76 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 76 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 81 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 81 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 139 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 139 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 141 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 141 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 165 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 165 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 179 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 179 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 181 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 181 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 193 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 193 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 196 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 196 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 208 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 208 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 222 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 222 | |
| javadoc | AtclauseOrder | Block tags have to appear in the order '[@param, @return, @throws, @deprecated]'. | 240 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 251 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 251 | |
| javadoc | AtclauseOrder | Block tags have to appear in the order '[@param, @return, @throws, @deprecated]'. | 270 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 281 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 281 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 296 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 296 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 355 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 355 |
org/mybatis/spring/support/SqlSessionDaoSupport.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 28 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 28 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 58 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 58 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 107 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 107 |
org/mybatis/spring/transaction/SpringManagedTransaction.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'javax.sql.DataSource' | 23 | |
| imports | CustomImportOrder | Extra separation in import group before 'org.apache.ibatis.transaction.Transaction' | 25 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 35 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 35 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 38 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 38 | |
| javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 78 | |
| javadoc | JavadocParagraph | <p> tag should be preceded with an empty line. | 78 |
org/mybatis/spring/transaction/SpringManagedTransactionFactory.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Extra separation in import group before 'javax.sql.DataSource' | 21 | |
| imports | CustomImportOrder | Extra separation in import group before 'org.apache.ibatis.session.TransactionIsolationLevel' | 23 |
MyBatis