FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.3.9

Threshold is medium

Effort is min

Summary

ClassesBugsErrorsMissing Classes
741500

org.kuali.rice.krad.UserSession

BugCategoryDetailsLinePriority
Method org.kuali.rice.krad.UserSession.hasMatchingSessionTicket(String, Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR299Medium

org.kuali.rice.krad.app.persistence.jpa.RiceLocalContainerEntityManagerFactoryBean

BugCategoryDetailsLinePriority
org.kuali.rice.krad.app.persistence.jpa.RiceLocalContainerEntityManagerFactoryBean.prepareJpaVendorAdapter(Config, String) invokes inefficient Boolean constructor; use Boolean.valueOf(...) insteadPERFORMANCEDM_BOOLEAN_CTOR81Medium

org.kuali.rice.krad.bo.AdHocRoutePerson

BugCategoryDetailsLinePriority
The field org.kuali.rice.krad.bo.AdHocRoutePerson.person is transient but isn't set by deserializationBAD_PRACTICESE_TRANSIENT_FIELD_NOT_RESTOREDHigh

org.kuali.rice.krad.bo.AdHocRoutePersonId

BugCategoryDetailsLinePriority
Redundant nullcheck of o, which is known to be non-null in org.kuali.rice.krad.bo.AdHocRoutePersonId.equals(Object)STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE66Medium

org.kuali.rice.krad.bo.AdHocRouteRecipient

BugCategoryDetailsLinePriority
Method org.kuali.rice.krad.bo.AdHocRouteRecipient.<static initializer>() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR38Medium
Method new org.kuali.rice.krad.bo.AdHocRouteRecipient() invokes inefficient new Long(long) constructor; use Long.valueOf(long) insteadPERFORMANCEDM_NUMBER_CTOR58Medium

org.kuali.rice.krad.bo.PersistableAttachmentBase

BugCategoryDetailsLinePriority
org.kuali.rice.krad.bo.PersistableAttachmentBase.getAttachmentContent() may expose internal representation by returning PersistableAttachmentBase.attachmentContentMALICIOUS_CODEEI_EXPOSE_REP44Medium
org.kuali.rice.krad.bo.PersistableAttachmentBase.setAttachmentContent(byte[]) may expose internal representation by storing an externally mutable object into PersistableAttachmentBase.attachmentContentMALICIOUS_CODEEI_EXPOSE_REP253Medium

org.kuali.rice.krad.util.AuditError

BugCategoryDetailsLinePriority
org.kuali.rice.krad.util.AuditError.getParams() may expose internal representation by returning AuditError.paramsMALICIOUS_CODEEI_EXPOSE_REP103Medium
org.kuali.rice.krad.util.AuditError.setParams(String[]) may expose internal representation by storing an externally mutable object into AuditError.paramsMALICIOUS_CODEEI_EXPOSE_REP2112Medium

org.kuali.rice.krad.util.BeanPropertyComparator

BugCategoryDetailsLinePriority
org.kuali.rice.krad.util.BeanPropertyComparator$1 stored into non-transient field BeanPropertyComparator.booleanComparatorBAD_PRACTICESE_BAD_FIELD_STORE78High

org.kuali.rice.krad.util.ErrorMessage

BugCategoryDetailsLinePriority
org.kuali.rice.krad.util.ErrorMessage.getMessageParameters() may expose internal representation by returning ErrorMessage.messageParametersMALICIOUS_CODEEI_EXPOSE_REP75Medium
org.kuali.rice.krad.util.ErrorMessage.setMessageParameters(String[]) may expose internal representation by storing an externally mutable object into ErrorMessage.messageParametersMALICIOUS_CODEEI_EXPOSE_REP271Medium

org.kuali.rice.krad.util.MessageMap

BugCategoryDetailsLinePriority
Method org.kuali.rice.krad.util.MessageMap.getMessageCount(Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR358Medium
Method org.kuali.rice.krad.util.MessageMap.merge(Map, Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR88Medium