PMD Results

The following document contains the results of PMD 6.49.0.

Violations By Priority

Priority 3

org/mybatis/spring/SqlSessionFactoryBean.java

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 16690

org/mybatis/spring/SqlSessionTemplate.java

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 16453

org/mybatis/spring/mapper/ClassPathMapperScanner.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 244246

Priority 4

org/mybatis/spring/SqlSessionFactoryBean.java

Rule Violation Line
UselessParentheses Useless parentheses. 489

org/mybatis/spring/SqlSessionUtils.java

Rule Violation Line
UselessParentheses Useless parentheses. 195
UselessParentheses Useless parentheses. 195
UselessParentheses Useless parentheses. 220
UselessParentheses Useless parentheses. 220

org/mybatis/spring/support/SqlSessionDaoSupport.java

Rule Violation Line
UselessParentheses Useless parentheses. 81

Files

org/mybatis/spring/SqlSessionFactoryBean.java

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 16690
UselessParentheses Useless parentheses. 4 489

org/mybatis/spring/SqlSessionTemplate.java

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 16453

org/mybatis/spring/SqlSessionUtils.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 195
UselessParentheses Useless parentheses. 4 195
UselessParentheses Useless parentheses. 4 220
UselessParentheses Useless parentheses. 4 220

org/mybatis/spring/mapper/ClassPathMapperScanner.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 244246

org/mybatis/spring/support/SqlSessionDaoSupport.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 81