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
19811907

Files

ClassBugs
org.kuali.rice.kns.datadictionary.BusinessObjectEntry1
org.kuali.rice.kns.datadictionary.DocumentEntry1
org.kuali.rice.kns.datadictionary.MaintenanceDocumentEntry7
org.kuali.rice.kns.datadictionary.control.ButtonControlDefinition1
org.kuali.rice.kns.datadictionary.control.CheckboxControlDefinition1
org.kuali.rice.kns.datadictionary.control.ControlDefinitionBase1
org.kuali.rice.kns.datadictionary.control.CurrencyControlDefinition1
org.kuali.rice.kns.datadictionary.control.FileControlDefinition1
org.kuali.rice.kns.datadictionary.control.HiddenControlDefinition1
org.kuali.rice.kns.datadictionary.control.KualiUserControlDefinition1
org.kuali.rice.kns.datadictionary.control.LinkControlDefinition1
org.kuali.rice.kns.datadictionary.control.LookupHiddenControlDefinition1
org.kuali.rice.kns.datadictionary.control.LookupReadonlyControlDefinition1
org.kuali.rice.kns.datadictionary.control.MultiselectControlDefinition1
org.kuali.rice.kns.datadictionary.control.RadioControlDefinition1
org.kuali.rice.kns.datadictionary.control.SelectControlDefinition1
org.kuali.rice.kns.datadictionary.control.TextControlDefinition1
org.kuali.rice.kns.datadictionary.control.TextareaControlDefinition1
org.kuali.rice.kns.datadictionary.control.WorkflowWorkgroupControlDefinition1
org.kuali.rice.kns.datadictionary.validation.charlevel.RegexValidationPattern2
org.kuali.rice.kns.document.MaintenanceDocument1
org.kuali.rice.kns.document.MaintenanceDocumentBase2
org.kuali.rice.kns.document.authorization.MaintenanceDocumentRestrictionsBase1
org.kuali.rice.kns.inquiry.Inquirable1
org.kuali.rice.kns.inquiry.KualiInquirableImpl1
org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl5
org.kuali.rice.kns.lookup.HtmlData1
org.kuali.rice.kns.lookup.KualiLookupableHelperServiceImpl3
org.kuali.rice.kns.lookup.LookupUtils5
org.kuali.rice.kns.maintenance.KualiMaintainableImpl7
org.kuali.rice.kns.maintenance.Maintainable1
org.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBase3
org.kuali.rice.kns.rules.PromptBeforeValidationBase2
org.kuali.rice.kns.rules.PromptBeforeValidationBase$ContextSession1
org.kuali.rice.kns.rules.PromptBeforeValidationBase$IsAskingException1
org.kuali.rice.kns.service.DataDictionaryService1
org.kuali.rice.kns.service.DictionaryValidationService1
org.kuali.rice.kns.util.AuditError2
org.kuali.rice.kns.util.FieldUtils4
org.kuali.rice.kns.util.InactiveRecordsHidingUtils1
org.kuali.rice.kns.util.WebUtils6
org.kuali.rice.kns.web.EditablePropertiesHistoryHolder2
org.kuali.rice.kns.web.struts.action.KualiAction3
org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase2
org.kuali.rice.kns.web.struts.action.KualiExceptionHandlerAction1
org.kuali.rice.kns.web.struts.action.KualiHelpAction2
org.kuali.rice.kns.web.struts.action.KualiInquiryAction3
org.kuali.rice.kns.web.struts.action.KualiLookupAction1
org.kuali.rice.kns.web.struts.action.KualiMaintenanceDocumentAction5
org.kuali.rice.kns.web.struts.action.KualiMultipleValueLookupAction3
org.kuali.rice.kns.web.struts.form.InquiryForm1
org.kuali.rice.kns.web.struts.form.KualiForm2
org.kuali.rice.kns.web.struts.form.KualiMaintenanceForm2
org.kuali.rice.kns.web.struts.form.LookupForm2
org.kuali.rice.kns.web.struts.form.MultipleValueLookupForm1
org.kuali.rice.kns.web.struts.form.pojo.PojoFormBase1
org.kuali.rice.kns.web.ui.Field5
org.kuali.rice.kns.web.ui.FieldBridge1
org.kuali.rice.kns.web.ui.FormatAwareDecorator1
org.kuali.rice.kns.web.ui.SectionBridge4

org.kuali.rice.kns.datadictionary.BusinessObjectEntry

BugCategoryDetailsLinePriority

org.kuali.rice.kns.datadictionary.DocumentEntry

BugCategoryDetailsLinePriority

org.kuali.rice.kns.datadictionary.MaintenanceDocumentEntry

BugCategoryDetailsLinePriority
Field MaintenanceDocumentEntry.allowsNewOrCopy masks field in superclass org.kuali.rice.krad.datadictionary.MaintenanceDocumentEntryCORRECTNESSMF_CLASS_MASKS_FIELD43High
Field MaintenanceDocumentEntry.allowsRecordDeletion masks field in superclass org.kuali.rice.krad.datadictionary.MaintenanceDocumentEntryCORRECTNESSMF_CLASS_MASKS_FIELD43High
Field MaintenanceDocumentEntry.documentAuthorizerClass masks field in superclass org.kuali.rice.krad.datadictionary.DocumentEntryCORRECTNESSMF_CLASS_MASKS_FIELD43High
Field MaintenanceDocumentEntry.documentPresentationControllerClass masks field in superclass org.kuali.rice.krad.datadictionary.DocumentEntryCORRECTNESSMF_CLASS_MASKS_FIELD43High
Field MaintenanceDocumentEntry.lockingKeys masks field in superclass org.kuali.rice.krad.datadictionary.MaintenanceDocumentEntryCORRECTNESSMF_CLASS_MASKS_FIELD43High
Field MaintenanceDocumentEntry.preserveLockingKeysOnCopy masks field in superclass org.kuali.rice.krad.datadictionary.MaintenanceDocumentEntryCORRECTNESSMF_CLASS_MASKS_FIELD43High

org.kuali.rice.kns.datadictionary.control.ButtonControlDefinition

BugCategoryDetailsLinePriority
org.kuali.rice.kns.datadictionary.control.ButtonControlDefinition inherits equals and uses Object.hashCode()BAD_PRACTICEHE_INHERITS_EQUALS_USE_HASHCODE31Medium

org.kuali.rice.kns.datadictionary.control.CheckboxControlDefinition

BugCategoryDetailsLinePriority
org.kuali.rice.kns.datadictionary.control.CheckboxControlDefinition inherits equals and uses Object.hashCode()BAD_PRACTICEHE_INHERITS_EQUALS_USE_HASHCODE30Medium

org.kuali.rice.kns.datadictionary.control.ControlDefinitionBase

BugCategoryDetailsLinePriority
org.kuali.rice.kns.datadictionary.control.ControlDefinitionBase defines equals and uses Object.hashCode()BAD_PRACTICEHE_EQUALS_USE_HASHCODE413Medium

org.kuali.rice.kns.datadictionary.control.CurrencyControlDefinition

BugCategoryDetailsLinePriority
org.kuali.rice.kns.datadictionary.control.CurrencyControlDefinition inherits equals and uses Object.hashCode()BAD_PRACTICEHE_INHERITS_EQUALS_USE_HASHCODE38Medium

org.kuali.rice.kns.datadictionary.control.FileControlDefinition

BugCategoryDetailsLinePriority
org.kuali.rice.kns.datadictionary.control.FileControlDefinition inherits equals and uses Object.hashCode()BAD_PRACTICEHE_INHERITS_EQUALS_USE_HASHCODE32Medium

org.kuali.rice.kns.datadictionary.control.HiddenControlDefinition

BugCategoryDetailsLinePriority
org.kuali.rice.kns.datadictionary.control.HiddenControlDefinition inherits equals and uses Object.hashCode()BAD_PRACTICEHE_INHERITS_EQUALS_USE_HASHCODE28Medium

org.kuali.rice.kns.datadictionary.control.KualiUserControlDefinition

BugCategoryDetailsLinePriority
org.kuali.rice.kns.datadictionary.control.KualiUserControlDefinition inherits equals and uses Object.hashCode()BAD_PRACTICEHE_INHERITS_EQUALS_USE_HASHCODE49Medium

org.kuali.rice.kns.datadictionary.control.LinkControlDefinition

BugCategoryDetailsLinePriority
org.kuali.rice.kns.datadictionary.control.LinkControlDefinition inherits equals and uses Object.hashCode()BAD_PRACTICEHE_INHERITS_EQUALS_USE_HASHCODE30Medium

org.kuali.rice.kns.datadictionary.control.LookupHiddenControlDefinition

BugCategoryDetailsLinePriority
org.kuali.rice.kns.datadictionary.control.LookupHiddenControlDefinition inherits equals and uses Object.hashCode()BAD_PRACTICEHE_INHERITS_EQUALS_USE_HASHCODE29Medium

org.kuali.rice.kns.datadictionary.control.LookupReadonlyControlDefinition

BugCategoryDetailsLinePriority
org.kuali.rice.kns.datadictionary.control.LookupReadonlyControlDefinition inherits equals and uses Object.hashCode()BAD_PRACTICEHE_INHERITS_EQUALS_USE_HASHCODE29Medium

org.kuali.rice.kns.datadictionary.control.MultiselectControlDefinition

BugCategoryDetailsLinePriority
org.kuali.rice.kns.datadictionary.control.MultiselectControlDefinition inherits equals and uses Object.hashCode()BAD_PRACTICEHE_INHERITS_EQUALS_USE_HASHCODE28Medium

org.kuali.rice.kns.datadictionary.control.RadioControlDefinition

BugCategoryDetailsLinePriority
org.kuali.rice.kns.datadictionary.control.RadioControlDefinition inherits equals and uses Object.hashCode()BAD_PRACTICEHE_INHERITS_EQUALS_USE_HASHCODE29Medium

org.kuali.rice.kns.datadictionary.control.SelectControlDefinition

BugCategoryDetailsLinePriority
org.kuali.rice.kns.datadictionary.control.SelectControlDefinition inherits equals and uses Object.hashCode()BAD_PRACTICEHE_INHERITS_EQUALS_USE_HASHCODE33Medium

org.kuali.rice.kns.datadictionary.control.TextControlDefinition

BugCategoryDetailsLinePriority
org.kuali.rice.kns.datadictionary.control.TextControlDefinition inherits equals and uses Object.hashCode()BAD_PRACTICEHE_INHERITS_EQUALS_USE_HASHCODE30Medium

org.kuali.rice.kns.datadictionary.control.TextareaControlDefinition

BugCategoryDetailsLinePriority
org.kuali.rice.kns.datadictionary.control.TextareaControlDefinition inherits equals and uses Object.hashCode()BAD_PRACTICEHE_INHERITS_EQUALS_USE_HASHCODE28Medium

org.kuali.rice.kns.datadictionary.control.WorkflowWorkgroupControlDefinition

BugCategoryDetailsLinePriority
org.kuali.rice.kns.datadictionary.control.WorkflowWorkgroupControlDefinition inherits equals and uses Object.hashCode()BAD_PRACTICEHE_INHERITS_EQUALS_USE_HASHCODE33Medium

org.kuali.rice.kns.datadictionary.validation.charlevel.RegexValidationPattern

BugCategoryDetailsLinePriority
Possible null pointer dereference of exportMap in org.kuali.rice.kns.datadictionary.validation.charlevel.RegexValidationPattern.extendExportMap(ExportMap)CORRECTNESSNP_NULL_ON_SOME_PATH53High
Nullcheck of exportMap at line 58 of value previously dereferenced in org.kuali.rice.kns.datadictionary.validation.charlevel.RegexValidationPattern.extendExportMap(ExportMap)CORRECTNESSRCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE53High

org.kuali.rice.kns.document.MaintenanceDocument

BugCategoryDetailsLinePriority

org.kuali.rice.kns.document.MaintenanceDocumentBase

BugCategoryDetailsLinePriority
org.kuali.rice.kns.document.MaintenanceDocumentBase is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID31Medium

org.kuali.rice.kns.document.authorization.MaintenanceDocumentRestrictionsBase

BugCategoryDetailsLinePriority
Possible null pointer dereference of fieldRestriction in org.kuali.rice.kns.document.authorization.MaintenanceDocumentRestrictionsBase.getFieldRestriction(String)CORRECTNESSNP_NULL_ON_SOME_PATH53Medium

org.kuali.rice.kns.inquiry.Inquirable

BugCategoryDetailsLinePriority

org.kuali.rice.kns.inquiry.KualiInquirableImpl

BugCategoryDetailsLinePriority
org.kuali.rice.kns.inquiry.KualiInquirableImpl.businessObjectService should be package protectedMALICIOUS_CODEMS_PKGPROTECTMedium

org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl

BugCategoryDetailsLinePriority
Dead store to fieldsForLookup in org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl.performLookup(LookupForm, Collection, boolean)STYLEDLS_DEAD_LOCAL_STORE1098High
Dead store to fields in org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl.setRows()STYLEDLS_DEAD_LOCAL_STORE1049Medium
org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl.getSupplementalMenuBar() invokes inefficient new String() constructorPERFORMANCEDM_STRING_VOID_CTOR1371Medium
org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl.RESULTS_DEFAULT_MAX_COLUMN_LENGTH should be package protectedMALICIOUS_CODEMS_PKGPROTECT707Medium
Method org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl.preprocessDateFields(Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR1236Medium

org.kuali.rice.kns.lookup.HtmlData

BugCategoryDetailsLinePriority
Method org.kuali.rice.kns.lookup.HtmlData.getTitleText(String, Class, Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR217Medium

org.kuali.rice.kns.lookup.KualiLookupableHelperServiceImpl

BugCategoryDetailsLinePriority
Method org.kuali.rice.kns.lookup.KualiLookupableHelperServiceImpl.getExternalizableBusinessObjectFieldValues(String, Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR162Medium
Method org.kuali.rice.kns.lookup.KualiLookupableHelperServiceImpl.getSearchResultsHelper(Map, boolean) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR230Medium
Method org.kuali.rice.kns.lookup.KualiLookupableHelperServiceImpl.removeExternalizableBusinessObjectFieldValues(Class, Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR145Medium

org.kuali.rice.kns.lookup.LookupUtils

BugCategoryDetailsLinePriority
Method org.kuali.rice.kns.lookup.LookupUtils.generateFieldConversions(BusinessObject, String, DataObjectRelationship, String, List, String) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION603Medium
Method org.kuali.rice.kns.lookup.LookupUtils.generateLookupParameters(BusinessObject, String, DataObjectRelationship, String, List, String) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION642Medium
Method org.kuali.rice.kns.lookup.LookupUtils.getNestedBusinessObject(BusinessObject, String) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION551Medium
Method org.kuali.rice.kns.lookup.LookupUtils.setFieldDirectInquiry(Field) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION424Medium
Method org.kuali.rice.kns.lookup.LookupUtils.getPrimitiveReference(BusinessObject, String) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR507Medium

org.kuali.rice.kns.maintenance.KualiMaintainableImpl

BugCategoryDetailsLinePriority
Dead store to cachedValues in org.kuali.rice.kns.maintenance.KualiMaintainableImpl.setGenerateDefaultValues(String)STYLEDLS_DEAD_LOCAL_STORE686Medium
org.kuali.rice.kns.maintenance.KualiMaintainableImpl.getMultiValueIdentifierList(Collection, List) invokes inefficient new String() constructorPERFORMANCEDM_STRING_VOID_CTOR535Medium
org.kuali.rice.kns.maintenance.KualiMaintainableImpl.hasBusinessObjectExisted(BusinessObject, List, List) invokes inefficient new String() constructorPERFORMANCEDM_STRING_VOID_CTOR549Medium
Method org.kuali.rice.kns.maintenance.KualiMaintainableImpl.getMultiValueIdentifierList(Collection, List) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION537Medium
Method org.kuali.rice.kns.maintenance.KualiMaintainableImpl.hasBusinessObjectExisted(BusinessObject, List, List) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION551Medium
Method org.kuali.rice.kns.maintenance.KualiMaintainableImpl.decryptEncryptedData(Map, MaintenanceDocument, String) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR152Medium
Method org.kuali.rice.kns.maintenance.KualiMaintainableImpl.performFieldForceUpperCase(BusinessObject, Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR1334Medium

org.kuali.rice.kns.maintenance.Maintainable

BugCategoryDetailsLinePriority

org.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBase

BugCategoryDetailsLinePriority
Invocation of toString on org.kuali.rice.krad.util.ErrorMessage.getMessageParameters() in org.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBase.showErrorMap()CORRECTNESSDMI_INVOKING_TOSTRING_ON_ARRAY1156Medium
org.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBase.LOG isn't final but should beMALICIOUS_CODEMS_SHOULD_BE_FINAL83High

org.kuali.rice.kns.rules.PromptBeforeValidationBase

BugCategoryDetailsLinePriority
org.kuali.rice.kns.rules.PromptBeforeValidationBase.askOrAnalyzeYesNoQuestion(String, String) invokes inefficient Boolean constructor; use Boolean.valueOf(...) insteadPERFORMANCEDM_BOOLEAN_CTOR221Medium
org.kuali.rice.kns.rules.PromptBeforeValidationBase.LOG isn't final but should beMALICIOUS_CODEMS_SHOULD_BE_FINAL47High

org.kuali.rice.kns.rules.PromptBeforeValidationBase$ContextSession

BugCategoryDetailsLinePriority
Should org.kuali.rice.kns.rules.PromptBeforeValidationBase$ContextSession be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATIC73Medium

org.kuali.rice.kns.rules.PromptBeforeValidationBase$IsAskingException

BugCategoryDetailsLinePriority
Should org.kuali.rice.kns.rules.PromptBeforeValidationBase$IsAskingException be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATIC54Medium

org.kuali.rice.kns.service.DataDictionaryService

BugCategoryDetailsLinePriority

org.kuali.rice.kns.service.DictionaryValidationService

BugCategoryDetailsLinePriority

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.FieldUtils

BugCategoryDetailsLinePriority
Dead store to field in org.kuali.rice.kns.util.FieldUtils.convertRemotableAttributeFields(List)STYLEDLS_DEAD_LOCAL_STORE1431Medium
Dead store to meshedRows in org.kuali.rice.kns.util.FieldUtils.meshSections(List, List, List, String, boolean, MaintenanceDocumentRestrictions, String, String)STYLEDLS_DEAD_LOCAL_STORE1081Medium
Method org.kuali.rice.kns.util.FieldUtils.fixFieldForForm(Field, List, String, String, boolean, MaintenanceDocumentRestrictions, String, String) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION850Medium
Method org.kuali.rice.kns.util.FieldUtils.populateBusinessObjectFromMap(BusinessObject, Map, String) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR740Medium

org.kuali.rice.kns.util.InactiveRecordsHidingUtils

BugCategoryDetailsLinePriority
org.kuali.rice.kns.util.InactiveRecordsHidingUtils.setShowInactiveRecords(Map, String, boolean) invokes inefficient Boolean constructor; use Boolean.valueOf(...) insteadPERFORMANCEDM_BOOLEAN_CTOR83Medium

org.kuali.rice.kns.util.WebUtils

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from org.kuali.rice.kns.web.struts.form.pojo.PojoFormBase to org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase in org.kuali.rice.kns.util.WebUtils.isFormSessionDocument(PojoFormBase)STYLEBC_UNCONFIRMED_CAST494Medium
instanceof will always return true in org.kuali.rice.kns.util.WebUtils.getMethodToCallSettingAttribute(ActionForm, HttpServletRequest, String), since all org.apache.struts.action.ActionForm are instances of org.apache.struts.action.ActionFormSTYLEBC_VACUOUS_INSTANCEOF186Medium
Dead store to params in org.kuali.rice.kns.util.WebUtils.getMultipartParameters(HttpServletRequest, ActionServletWrapper, ActionForm, ActionMapping)STYLEDLS_DEAD_LOCAL_STORE376High
Dead store to files in org.kuali.rice.kns.util.WebUtils.getMultipartParameters(HttpServletRequest, ActionServletWrapper, ActionForm, ActionMapping)STYLEDLS_DEAD_LOCAL_STORE394Medium
org.kuali.rice.kns.util.WebUtils.KEY_KUALI_FORM_IN_SESSION isn't final but should beMALICIOUS_CODEMS_SHOULD_BE_FINAL500High
Method org.kuali.rice.kns.util.WebUtils.filterHtmlAndReplaceRiceMarkup(String) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR748Medium

org.kuali.rice.kns.web.EditablePropertiesHistoryHolder

BugCategoryDetailsLinePriority
Method org.kuali.rice.kns.web.EditablePropertiesHistoryHolder.getMaxHistoryLength() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR63Medium
org.kuali.rice.kns.web.EditablePropertiesHistoryHolder is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID41Medium

org.kuali.rice.kns.web.struts.action.KualiAction

BugCategoryDetailsLinePriority
Invocation of toString on textAreaParams in org.kuali.rice.kns.web.struts.action.KualiAction.getTextAreaParams(HttpServletRequest)CORRECTNESSDMI_INVOKING_TOSTRING_ON_ARRAY1047Medium
Invocation of toString on inquiryParams in org.kuali.rice.kns.web.struts.action.KualiAction.performInquiry(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse)CORRECTNESSDMI_INVOKING_TOSTRING_ON_ARRAY658Medium
org.kuali.rice.kns.web.struts.action.KualiAction.performLookup(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) invokes inefficient Boolean constructor; use Boolean.valueOf(...) insteadPERFORMANCEDM_BOOLEAN_CTOR533Medium

org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase

BugCategoryDetailsLinePriority
Dead store to newNote in org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase.deleteBONote(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse)STYLEDLS_DEAD_LOCAL_STORE1472Medium
org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase.DOCUMENT_LOAD_COMMANDS should be package protectedMALICIOUS_CODEMS_PKGPROTECT120Medium

org.kuali.rice.kns.web.struts.action.KualiExceptionHandlerAction

BugCategoryDetailsLinePriority
Dead store to cancelForward in org.kuali.rice.kns.web.struts.action.KualiExceptionHandlerAction.executeException(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse)STYLEDLS_DEAD_LOCAL_STORE127Medium

org.kuali.rice.kns.web.struts.action.KualiHelpAction

BugCategoryDetailsLinePriority
Dead store to helpForm in org.kuali.rice.kns.web.struts.action.KualiHelpAction.getHelpUrlByNamespace(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse)STYLEDLS_DEAD_LOCAL_STORE462Medium
org.kuali.rice.kns.web.struts.action.KualiHelpAction.getAttributeValidationPatternName(AttributeDefinition) invokes inefficient new String() constructorPERFORMANCEDM_STRING_VOID_CTOR135Medium

org.kuali.rice.kns.web.struts.action.KualiInquiryAction

BugCategoryDetailsLinePriority
Dead store to kualiInquirable in org.kuali.rice.kns.web.struts.action.KualiInquiryAction.toggleTab(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse)STYLEDLS_DEAD_LOCAL_STORE299Medium
Load of known null value in org.kuali.rice.kns.web.struts.action.KualiInquiryAction.export(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse)STYLENP_LOAD_OF_KNOWN_NULL_VALUE365Medium
Method org.kuali.rice.kns.web.struts.action.KualiInquiryAction.getRoleQualification(ActionForm, String) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR97Medium

org.kuali.rice.kns.web.struts.action.KualiLookupAction

BugCategoryDetailsLinePriority
Dead store to displayList in org.kuali.rice.kns.web.struts.action.KualiLookupAction.search(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse)STYLEDLS_DEAD_LOCAL_STORE197Medium

org.kuali.rice.kns.web.struts.action.KualiMaintenanceDocumentAction

BugCategoryDetailsLinePriority
Dead store to documentAuthorizer in org.kuali.rice.kns.web.struts.action.KualiMaintenanceDocumentAction.clearUnauthorizedNewFields(MaintenanceDocument)STYLEDLS_DEAD_LOCAL_STORE960Medium
Dead store to newBo in org.kuali.rice.kns.web.struts.action.KualiMaintenanceDocumentAction.clearUnauthorizedNewFields(MaintenanceDocument)STYLEDLS_DEAD_LOCAL_STORE966Medium
Dead store to maintenanceDocumentAuthorizer in org.kuali.rice.kns.web.struts.action.KualiMaintenanceDocumentAction.populateAuthorizationFields(KualiDocumentFormBase)STYLEDLS_DEAD_LOCAL_STORE1002Medium
Redundant nullcheck of collectionName, which is known to be non-null in org.kuali.rice.kns.web.struts.action.KualiMaintenanceDocumentAction.deleteLine(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse)STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE830Medium
Method org.kuali.rice.kns.web.struts.action.KualiMaintenanceDocumentAction.copyParametersToBO(Map, PersistableBusinessObject) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR374Medium

org.kuali.rice.kns.web.struts.action.KualiMultipleValueLookupAction

BugCategoryDetailsLinePriority
Dead store to displayList in org.kuali.rice.kns.web.struts.action.KualiMultipleValueLookupAction.search(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse)STYLEDLS_DEAD_LOCAL_STORE93Medium
Method org.kuali.rice.kns.web.struts.action.KualiMultipleValueLookupAction.getMaxRowsPerPage(MultipleValueLookupForm) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR614Medium
Possible null pointer dereference of resultTable in org.kuali.rice.kns.web.struts.action.KualiMultipleValueLookupAction.performMultipleValueLookup(MultipleValueLookupForm, List, int, boolean)CORRECTNESSNP_NULL_ON_SOME_PATH344Medium

org.kuali.rice.kns.web.struts.form.InquiryForm

BugCategoryDetailsLinePriority
Class org.kuali.rice.kns.web.struts.form.InquiryForm defines non-transient non-serializable instance field inquirableBAD_PRACTICESE_BAD_FIELDMedium

org.kuali.rice.kns.web.struts.form.KualiForm

BugCategoryDetailsLinePriority
org.kuali.rice.kns.web.struts.form.KualiForm.getHeaderNavigationTabs() may expose internal representation by returning KualiForm.headerNavigationTabsMALICIOUS_CODEEI_EXPOSE_REP278Medium
org.kuali.rice.kns.web.struts.form.KualiForm.setHeaderNavigationTabs(HeaderNavigation[]) may expose internal representation by storing an externally mutable object into KualiForm.headerNavigationTabsMALICIOUS_CODEEI_EXPOSE_REP2287Medium

org.kuali.rice.kns.web.struts.form.KualiMaintenanceForm

BugCategoryDetailsLinePriority
Dead store to docTypeName in org.kuali.rice.kns.web.struts.form.KualiMaintenanceForm.getAdditionalSectionsFile()STYLEDLS_DEAD_LOCAL_STORE458Medium
Method org.kuali.rice.kns.web.struts.form.KualiMaintenanceForm.populate(HttpServletRequest) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR244Medium

org.kuali.rice.kns.web.struts.form.LookupForm

BugCategoryDetailsLinePriority
Dead store to ddService in org.kuali.rice.kns.web.struts.form.LookupForm.populate(HttpServletRequest)STYLEDLS_DEAD_LOCAL_STORE148Medium
org.kuali.rice.kns.web.struts.form.LookupForm.populate(HttpServletRequest) invokes inefficient Boolean constructor; use Boolean.valueOf(...) insteadPERFORMANCEDM_BOOLEAN_CTOR227Medium

org.kuali.rice.kns.web.struts.form.MultipleValueLookupForm

BugCategoryDetailsLinePriority
Class org.kuali.rice.kns.web.struts.form.MultipleValueLookupForm defines non-transient non-serializable instance field tableMetadataBAD_PRACTICESE_BAD_FIELDMedium

org.kuali.rice.kns.web.struts.form.pojo.PojoFormBase

BugCategoryDetailsLinePriority
Method org.kuali.rice.kns.web.struts.form.pojo.PojoFormBase.populate(HttpServletRequest) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR155Medium

org.kuali.rice.kns.web.ui.Field

BugCategoryDetailsLinePriority
org.kuali.rice.kns.web.ui.Field.getPropertyValues() may expose internal representation by returning Field.propertyValuesMALICIOUS_CODEEI_EXPOSE_REP1608Medium
org.kuali.rice.kns.web.ui.Field.setPropertyValues(String[]) may expose internal representation by storing an externally mutable object into Field.propertyValuesMALICIOUS_CODEEI_EXPOSE_REP21612Medium
Method org.kuali.rice.kns.web.ui.Field.setLookupParameters(Map) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION884Medium
Method org.kuali.rice.kns.web.ui.Field.setFieldConversions(Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR793Medium
Method org.kuali.rice.kns.web.ui.Field.setLookupParameters(Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR881Medium

org.kuali.rice.kns.web.ui.FieldBridge

BugCategoryDetailsLinePriority
Method org.kuali.rice.kns.web.ui.FieldBridge.getNewFormFields(CollectionDefinitionI, BusinessObject, Maintainable, List, Set, StringBuffer, String, boolean, int) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION411Medium

org.kuali.rice.kns.web.ui.FormatAwareDecorator

BugCategoryDetailsLinePriority
Method org.kuali.rice.kns.web.ui.FormatAwareDecorator.createCollectionString(Object) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION77Medium

org.kuali.rice.kns.web.ui.SectionBridge

BugCategoryDetailsLinePriority
Dead store to row in org.kuali.rice.kns.web.ui.SectionBridge.toSection(Inquirable, InquirySectionDefinition, BusinessObject, InquiryRestrictions)STYLEDLS_DEAD_LOCAL_STORE103Medium
Dead store to sectionRows in org.kuali.rice.kns.web.ui.SectionBridge.toSection(Inquirable, InquirySectionDefinition, BusinessObject, InquiryRestrictions)STYLEDLS_DEAD_LOCAL_STORE109Medium
Method org.kuali.rice.kns.web.ui.SectionBridge.getContainerRows(Section, CollectionDefinitionI, BusinessObject, Maintainable, Maintainable, List, Set, StringBuffer, String, boolean, int, Inquirable) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR435Medium
Nullcheck of o at line 250 of value previously dereferenced in org.kuali.rice.kns.web.ui.SectionBridge.toSection(MaintainableSectionDefinition, BusinessObject, Maintainable, Maintainable, String, List, Set)CORRECTNESSRCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE217Medium