PMD Results
The following document contains the results of PMD 4.2.5.
Files
org/apache/ojb/broker/platforms/KualiMySQLSequenceManagerImpl.java
Violation | Line |
---|
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. | 54 |
org/kuali/rice/core/framework/config/property/AbstractBaseConfig.java
Violation | Line |
---|
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. | 79 |
org/kuali/rice/core/framework/config/property/SimpleConfig.java
Violation | Line |
---|
Avoid unused private fields such as 'LOG'. | 40 |
org/kuali/rice/core/framework/persistence/jdbc/datasource/RiceXADataSource.java
Violation | Line |
---|
These nested if statements could be combined | 66 - 68 |
org/kuali/rice/core/framework/persistence/jdbc/sql/Criteria.java
Violation | Line |
---|
Avoid unused method parameters such as 'parentCriteria'. | 348 - 373 |
org/kuali/rice/core/framework/persistence/jdbc/sql/SqlBuilder.java
Violation | Line |
---|
Avoid unused method parameters such as 'allowWildcards'. | 339 - 350 |
org/kuali/rice/core/framework/persistence/jpa/CompositePrimaryKeyBase.java
Violation | Line |
---|
Avoid unused local variables such as 'otherClass'. | 33 |
org/kuali/rice/core/framework/persistence/jpa/OrmUtils.java
Violation | Line |
---|
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. | 139 |
org/kuali/rice/core/framework/persistence/jpa/criteria/Criteria.java
Violation | Line |
---|
Avoid unused private fields such as 'JPA_PARENT_INITIAL_ALIAS'. | 96 |
Avoid unused private fields such as 'ALIAS_PREFIX_LEN'. | 99 |
Avoid unused local variables such as 'valueLen'. | 393 |
Avoid empty if statements | 1225 - 1227 |
org/kuali/rice/core/framework/persistence/jpa/metadata/MetadataManager.java
Violation | Line |
---|
Avoid empty catch blocks | 246 |
Avoid empty catch blocks | 311 |
org/kuali/rice/core/framework/persistence/jpa/type/HibernateKualiDecimalPercentFieldType.java
Violation | Line |
---|
Avoid creating BigDecimal with a decimal (float/double) literal. Use a String literal | 37 |
org/kuali/rice/core/framework/persistence/jpa/type/HibernateKualiDecimalPercentageFieldType.java
Violation | Line |
---|
Avoid creating BigDecimal with a decimal (float/double) literal. Use a String literal | 37 |
org/kuali/rice/core/framework/persistence/jpa/type/HibernateKualiHashType.java
Violation | Line |
---|
Avoid unused local variables such as 'converted'. | 45 |
org/kuali/rice/core/framework/persistence/jta/KualiTransactionInterceptor.java
Violation | Line |
---|
These nested if statements could be combined | 44 - 60 |
These nested if statements could be combined | 75 - 91 |
These nested if statements could be combined | 104 - 120 |
org/kuali/rice/core/framework/persistence/ojb/BaseOjbConfigurer.java
Violation | Line |
---|
Overriding method merely calls super | 124 - 126 |
org/kuali/rice/core/framework/persistence/ojb/conversion/OjbCharBooleanConversion4.java
Violation | Line |
---|
Avoid unused private fields such as 'S_TRUE'. | 26 |
Avoid unused private fields such as 'S_FALSE'. | 27 |
org/kuali/rice/core/framework/persistence/ojb/conversion/OjbCharBooleanConversionBase.java
Violation | Line |
---|
These nested if statements could be combined | 33 - 36 |
These nested if statements could be combined | 47 - 53 |
org/kuali/rice/core/framework/persistence/ojb/conversion/OjbDecimalPercentageFieldConversion.java
Violation | Line |
---|
Avoid creating BigDecimal with a decimal (float/double) literal. Use a String literal | 29 |
org/kuali/rice/core/framework/persistence/platform/MySQLDatabasePlatform.java
Violation | Line |
---|
Avoid empty catch blocks | 77 - 78 |
Avoid empty catch blocks | 83 - 84 |
org/kuali/rice/core/framework/persistence/platform/OracleDatabasePlatform.java
Violation | Line |
---|
Avoid empty catch blocks | 90 - 91 |
Avoid empty catch blocks | 96 - 97 |
org/kuali/rice/core/framework/resourceloader/BeanFactoryResourceLoader.java
Violation | Line |
---|
Avoid unused imports such as 'java.util.HashSet' | 18 |
org/kuali/rice/core/framework/resourceloader/ObjectDefinitionResolver.java
Violation | Line |
---|
Avoid unused private fields such as 'LOG'. | 43 |
org/springframework/transaction/jta/JotmFactoryBean.java
Violation | Line |
---|
Avoid empty catch blocks | 113 - 115 |