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
571700

org.kuali.rice.edl.impl.EDLXmlUtils

BugCategoryDetailsLinePriority
Method org.kuali.rice.edl.impl.EDLXmlUtils.addErrorsAndMessagesToDocument(Document, List, List, Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR240Medium

org.kuali.rice.edl.impl.UserAction

BugCategoryDetailsLinePriority
org.kuali.rice.edl.impl.UserAction.ANNOTATABLE_ACTIONS is a mutable arrayMALICIOUS_CODEMS_MUTABLE_ARRAY78High
org.kuali.rice.edl.impl.UserAction.EDITABLE_ACTIONS is a mutable arrayMALICIOUS_CODEMS_MUTABLE_ARRAY88High
org.kuali.rice.edl.impl.UserAction.LOAD_ACTIONS should be package protectedMALICIOUS_CODEMS_PKGPROTECT58Medium
org.kuali.rice.edl.impl.UserAction.REPLACE_VERSION_ACTIONS should be package protectedMALICIOUS_CODEMS_PKGPROTECT63Medium
org.kuali.rice.edl.impl.UserAction.VALIDATABLE_ACTIONS should be package protectedMALICIOUS_CODEMS_PKGPROTECT67Medium

org.kuali.rice.edl.impl.components.NoteConfigComponent

BugCategoryDetailsLinePriority
org.kuali.rice.edl.impl.components.NoteConfigComponent.retrieveNoteList(NoteConfigComponent$NoteForm, EDLContext) invokes inefficient Boolean constructor; use Boolean.valueOf(...) insteadPERFORMANCEDM_BOOLEAN_CTOR193Medium
Method org.kuali.rice.edl.impl.components.NoteConfigComponent.editNote(NoteConfigComponent$NoteForm) invokes inefficient new Long(long) constructor; use Long.valueOf(long) insteadPERFORMANCEDM_NUMBER_CTOR208Medium
Method org.kuali.rice.edl.impl.components.NoteConfigComponent.retrieveNoteList(NoteConfigComponent$NoteForm, EDLContext) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR192Medium
Method org.kuali.rice.edl.impl.components.NoteConfigComponent.retrieveNoteList(NoteConfigComponent$NoteForm, EDLContext) invokes inefficient new Long(long) constructor; use Long.valueOf(long) insteadPERFORMANCEDM_NUMBER_CTOR168Medium
note could be null and is guaranteed to be dereferenced in org.kuali.rice.edl.impl.components.NoteConfigComponent.getAuthorData(Note)CORRECTNESSNP_GUARANTEED_DEREF862Medium

org.kuali.rice.edl.impl.components.NoteConfigComponent$NoteForm

BugCategoryDetailsLinePriority
Method new org.kuali.rice.edl.impl.components.NoteConfigComponent$NoteForm(RequestParser) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR636Medium

org.kuali.rice.edl.impl.components.SelectControlEDLComponent

BugCategoryDetailsLinePriority
Method org.kuali.rice.edl.impl.components.SelectControlEDLComponent.updateDOM(Document, Element, EDLContext) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION64Medium

org.kuali.rice.edl.impl.components.ValidationComponent

BugCategoryDetailsLinePriority
Unused field: org.kuali.rice.edl.impl.components.ValidationComponent.edlContextPERFORMANCEUUF_UNUSED_FIELDMedium

org.kuali.rice.edl.impl.components.VersioningPreprocessor

BugCategoryDetailsLinePriority
org.kuali.rice.edl.impl.components.VersioningPreprocessor.findCurrentVersion(Document) invokes inefficient Boolean constructor; use Boolean.valueOf(...) insteadPERFORMANCEDM_BOOLEAN_CTOR82Medium
Method org.kuali.rice.edl.impl.components.VersioningPreprocessor.updateDOM(Document, Element, EDLContext) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR56Medium

org.kuali.rice.edl.impl.components.WorkflowDocumentActions

BugCategoryDetailsLinePriority
Dead store to requestParser in org.kuali.rice.edl.impl.components.WorkflowDocumentActions.doPostProcessWork(Document, EDLContext)STYLEDLS_DEAD_LOCAL_STORE94Medium