PMD Results

The following document contains the results of PMD 4.2.5.

Files

org/apache/ojb/broker/platforms/KualiMySQLSequenceManagerImpl.java

ViolationLine
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

ViolationLine
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

ViolationLine
Avoid unused private fields such as 'LOG'.40

org/kuali/rice/core/framework/persistence/jdbc/datasource/RiceXADataSource.java

ViolationLine
These nested if statements could be combined66 - 68

org/kuali/rice/core/framework/persistence/jdbc/sql/Criteria.java

ViolationLine
Avoid unused method parameters such as 'parentCriteria'.348 - 373

org/kuali/rice/core/framework/persistence/jdbc/sql/SqlBuilder.java

ViolationLine
Avoid unused method parameters such as 'allowWildcards'.339 - 350

org/kuali/rice/core/framework/persistence/jpa/CompositePrimaryKeyBase.java

ViolationLine
Avoid unused local variables such as 'otherClass'.33

org/kuali/rice/core/framework/persistence/jpa/OrmUtils.java

ViolationLine
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

ViolationLine
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 statements1225 - 1227

org/kuali/rice/core/framework/persistence/jpa/metadata/MetadataManager.java

ViolationLine
Avoid empty catch blocks246
Avoid empty catch blocks311

org/kuali/rice/core/framework/persistence/jpa/type/HibernateKualiDecimalPercentFieldType.java

ViolationLine
Avoid creating BigDecimal with a decimal (float/double) literal. Use a String literal37

org/kuali/rice/core/framework/persistence/jpa/type/HibernateKualiDecimalPercentageFieldType.java

ViolationLine
Avoid creating BigDecimal with a decimal (float/double) literal. Use a String literal37

org/kuali/rice/core/framework/persistence/jpa/type/HibernateKualiHashType.java

ViolationLine
Avoid unused local variables such as 'converted'.45

org/kuali/rice/core/framework/persistence/jta/KualiTransactionInterceptor.java

ViolationLine
These nested if statements could be combined44 - 60
These nested if statements could be combined75 - 91
These nested if statements could be combined104 - 120

org/kuali/rice/core/framework/persistence/ojb/BaseOjbConfigurer.java

ViolationLine
Overriding method merely calls super124 - 126

org/kuali/rice/core/framework/persistence/ojb/conversion/OjbCharBooleanConversion4.java

ViolationLine
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

ViolationLine
These nested if statements could be combined33 - 36
These nested if statements could be combined47 - 53

org/kuali/rice/core/framework/persistence/ojb/conversion/OjbDecimalPercentageFieldConversion.java

ViolationLine
Avoid creating BigDecimal with a decimal (float/double) literal. Use a String literal29

org/kuali/rice/core/framework/persistence/platform/MySQLDatabasePlatform.java

ViolationLine
Avoid empty catch blocks77 - 78
Avoid empty catch blocks83 - 84

org/kuali/rice/core/framework/persistence/platform/OracleDatabasePlatform.java

ViolationLine
Avoid empty catch blocks90 - 91
Avoid empty catch blocks96 - 97

org/kuali/rice/core/framework/resourceloader/BeanFactoryResourceLoader.java

ViolationLine
Avoid unused imports such as 'java.util.HashSet'18

org/kuali/rice/core/framework/resourceloader/ObjectDefinitionResolver.java

ViolationLine
Avoid unused private fields such as 'LOG'.43

org/springframework/transaction/jta/JotmFactoryBean.java

ViolationLine
Avoid empty catch blocks113 - 115