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
741400

org.kuali.rice.kns.UserSession

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

org.kuali.rice.kns.bo.AdHocRoutePersonId

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

org.kuali.rice.kns.bo.AdHocRouteRecipient

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

org.kuali.rice.kns.bo.PersistableAttachmentBase

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

org.kuali.rice.kns.util.AuditError

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

org.kuali.rice.kns.util.BeanPropertyComparator

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

org.kuali.rice.kns.util.ErrorMessage

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

org.kuali.rice.kns.util.MessageMap

BugCategoryDetailsLinePriority
Method org.kuali.rice.kns.util.MessageMap.getMessageCount(Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR353Medium
Method org.kuali.rice.kns.util.MessageMap.merge(Map, Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR83Medium

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