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
57518206

Files

ClassBugs
org.kuali.rice.kns.authorization.BusinessObjectAuthorizerBase1
org.kuali.rice.kns.bo.AdHocRouteWorkgroupId1
org.kuali.rice.kns.bo.SessionDocument2
org.kuali.rice.kns.datadictionary.AttributeDefinition1
org.kuali.rice.kns.datadictionary.DataDictionary5
org.kuali.rice.kns.datadictionary.DataDictionaryEntryBase1
org.kuali.rice.kns.datadictionary.DataObjectEntry2
org.kuali.rice.kns.datadictionary.PrimitiveAttributeDefinition1
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.uif.UifDictionaryIndex4
org.kuali.rice.kns.datadictionary.validation.CharacterLevelValidationPattern1
org.kuali.rice.kns.datadictionary.validation.ValidationUtils1
org.kuali.rice.kns.datadictionary.validation.charlevel.RegexValidationPattern2
org.kuali.rice.kns.datadictionary.validation.result.ConstraintValidationResult2
org.kuali.rice.kns.datadictionary.validation.result.EntryValidationResult1
org.kuali.rice.kns.document.MaintenanceDocumentBase1
org.kuali.rice.kns.document.authorization.DocumentAuthorizerBase1
org.kuali.rice.kns.document.authorization.MaintenanceDocumentPresentationControllerBase1
org.kuali.rice.kns.inquiry.KualiInquirableImpl2
org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl5
org.kuali.rice.kns.lookup.HtmlData1
org.kuali.rice.kns.lookup.KualiLookupableHelperServiceImpl3
org.kuali.rice.kns.lookup.LookupUtils11
org.kuali.rice.kns.maintenance.KualiMaintainableImpl7
org.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBase3
org.kuali.rice.kns.rules.DocumentRuleBase1
org.kuali.rice.kns.uif.authorization.DocumentAuthorizerBase2
org.kuali.rice.kns.uif.authorization.DocumentPresentationControllerBase1
org.kuali.rice.kns.uif.authorization.MaintenanceDocumentPresentationControllerBase1
org.kuali.rice.kns.uif.container.CollectionGroupBuilder3
org.kuali.rice.kns.uif.container.LookupView1
org.kuali.rice.kns.uif.core.MaintenanceActiveCollectionFilter1
org.kuali.rice.kns.uif.core.MethodInvokerConfig4
org.kuali.rice.kns.uif.core.Ordered1
org.kuali.rice.kns.uif.field.ActionField1
org.kuali.rice.kns.uif.field.AttributeField1
org.kuali.rice.kns.uif.field.AttributeQuery4
org.kuali.rice.kns.uif.field.FieldBase1
org.kuali.rice.kns.uif.field.GeneratedField1
org.kuali.rice.kns.uif.history.History4
org.kuali.rice.kns.uif.layout.StackedLayoutManager1
org.kuali.rice.kns.uif.layout.TableLayoutManager3
org.kuali.rice.kns.uif.service.impl.LookupViewHelperServiceImpl5
org.kuali.rice.kns.uif.util.ClientValidationUtils5
org.kuali.rice.kns.uif.util.CloneUtils2
org.kuali.rice.kns.uif.util.ComponentUtils3
org.kuali.rice.kns.uif.util.LookupInquiryUtils1
org.kuali.rice.kns.uif.util.ViewModelUtils1
org.kuali.rice.kns.util.FieldUtils3
org.kuali.rice.kns.util.InactiveRecordsHidingUtils1
org.kuali.rice.kns.util.KNSUtils1
org.kuali.rice.kns.util.ObjectUtils4
org.kuali.rice.kns.util.WebUtils8
org.kuali.rice.kns.util.documentserializer.DocumentSerializationState$SerializationPropertyElement1
org.kuali.rice.kns.util.documentserializer.SerializationState$SerializationPropertyElement1
org.kuali.rice.kns.web.EditablePropertiesHistoryHolder2
org.kuali.rice.kns.web.spring.controller.DocumentControllerBase1
org.kuali.rice.kns.web.spring.controller.IncidentReportController1
org.kuali.rice.kns.web.spring.controller.InquiryController1
org.kuali.rice.kns.web.spring.controller.LookupController3
org.kuali.rice.kns.web.spring.controller.MaintenanceDocumentController2
org.kuali.rice.kns.web.spring.form.InquiryForm1
org.kuali.rice.kns.web.spring.form.LookupForm2
org.kuali.rice.kns.web.spring.form.UifFormBase1
org.kuali.rice.kns.web.struts.action.KualiAction3
org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase2
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.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.authorization.BusinessObjectAuthorizerBase

BugCategoryDetailsLinePriority
Unused field: org.kuali.rice.kns.authorization.BusinessObjectAuthorizerBase.persistenceStructureServicePERFORMANCEUUF_UNUSED_FIELDMedium

org.kuali.rice.kns.bo.AdHocRouteWorkgroupId

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

org.kuali.rice.kns.bo.SessionDocument

BugCategoryDetailsLinePriority
org.kuali.rice.kns.bo.SessionDocument.getSerializedDocumentForm() may expose internal representation by returning SessionDocument.serializedDocumentFormMALICIOUS_CODEEI_EXPOSE_REP62Medium
org.kuali.rice.kns.bo.SessionDocument.setSerializedDocumentForm(byte[]) may expose internal representation by storing an externally mutable object into SessionDocument.serializedDocumentFormMALICIOUS_CODEEI_EXPOSE_REP269Medium

org.kuali.rice.kns.datadictionary.AttributeDefinition

BugCategoryDetailsLinePriority
Class org.kuali.rice.kns.datadictionary.AttributeDefinition defines non-transient non-serializable instance field optionsFinderBAD_PRACTICESE_BAD_FIELDMedium

org.kuali.rice.kns.datadictionary.DataDictionary

BugCategoryDetailsLinePriority
Dead store to collectionClasses in org.kuali.rice.kns.datadictionary.DataDictionary.buildReadDescriptor(Class, String)STYLEDLS_DEAD_LOCAL_STORE585Medium
Dead store to collectionClasses in org.kuali.rice.kns.datadictionary.DataDictionary.getCollectionElementClass(Class, String)STYLEDLS_DEAD_LOCAL_STORE526Medium
Dead store to indexName in org.kuali.rice.kns.datadictionary.DataDictionary.indexSource(String)STYLEDLS_DEAD_LOCAL_STORE131Medium
org.kuali.rice.kns.datadictionary.DataDictionary.persistenceStructureService should be package protectedMALICIOUS_CODEMS_PKGPROTECTMedium
Write to static field org.kuali.rice.kns.datadictionary.DataDictionary.validateEBOs from instance method org.kuali.rice.kns.datadictionary.DataDictionary.validateDD(boolean)STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD201High

org.kuali.rice.kns.datadictionary.DataDictionaryEntryBase

BugCategoryDetailsLinePriority
String is incompatible with expected argument type AttributeDefinition in org.kuali.rice.kns.datadictionary.DataDictionaryEntryBase.addNestedAttributes(ComplexAttributeDefinition, String)CORRECTNESSGC_UNRELATED_TYPES353High

org.kuali.rice.kns.datadictionary.DataObjectEntry

BugCategoryDetailsLinePriority
Method org.kuali.rice.kns.datadictionary.DataObjectEntry.getJstlKey() uses the same code for two branchesSTYLEDB_DUPLICATE_BRANCHES69Medium
Redundant nullcheck of org.kuali.rice.kns.datadictionary.DataObjectEntry.objectClass, which is known to be non-null in org.kuali.rice.kns.datadictionary.DataObjectEntry.getJstlKey()STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE69Medium

org.kuali.rice.kns.datadictionary.PrimitiveAttributeDefinition

BugCategoryDetailsLinePriority
Possible null pointer dereference of sourceClass in org.kuali.rice.kns.datadictionary.PrimitiveAttributeDefinition.completeValidation(Class, Class)CORRECTNESSNP_NULL_ON_SOME_PATH103Medium

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_HASHCODE30Medium

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_HASHCODE29Medium

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_HASHCODE411Medium

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_HASHCODE37Medium

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_HASHCODE31Medium

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_HASHCODE27Medium

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_HASHCODE48Medium

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_HASHCODE34Medium

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_HASHCODE28Medium

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_HASHCODE28Medium

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_HASHCODE27Medium

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_HASHCODE28Medium

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_HASHCODE32Medium

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_HASHCODE29Medium

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_HASHCODE27Medium

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_HASHCODE32Medium

org.kuali.rice.kns.datadictionary.uif.UifDictionaryIndex

BugCategoryDetailsLinePriority
Dead store to componentBeans in org.kuali.rice.kns.datadictionary.uif.UifDictionaryIndex.buildViewIndicies()STYLEDLS_DEAD_LOCAL_STORE168Medium
Method org.kuali.rice.kns.datadictionary.uif.UifDictionaryIndex.buildTypeIndex(Map) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION242Medium
Method org.kuali.rice.kns.datadictionary.uif.UifDictionaryIndex.buildTypeIndex(Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR242Medium
Method org.kuali.rice.kns.datadictionary.uif.UifDictionaryIndex.buildViewIndicies() makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR155Medium

org.kuali.rice.kns.datadictionary.validation.CharacterLevelValidationPattern

BugCategoryDetailsLinePriority
Dead store to regexString in org.kuali.rice.kns.datadictionary.validation.CharacterLevelValidationPattern.getRegexPattern()STYLEDLS_DEAD_LOCAL_STORE81Medium

org.kuali.rice.kns.datadictionary.validation.ValidationUtils

BugCategoryDetailsLinePriority
org.kuali.rice.kns.datadictionary.validation.ValidationUtils.getBoolean(Object) has Boolean return type and returns explicit nullBAD_PRACTICENP_BOOLEAN_RETURN_NULL213Medium

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.datadictionary.validation.result.ConstraintValidationResult

BugCategoryDetailsLinePriority
org.kuali.rice.kns.datadictionary.validation.result.ConstraintValidationResult.getErrorParameters() may expose internal representation by returning ConstraintValidationResult.errorParametersMALICIOUS_CODEEI_EXPOSE_REP106Medium
org.kuali.rice.kns.datadictionary.validation.result.ConstraintValidationResult.setErrorParameters(String[]) may expose internal representation by storing an externally mutable object into ConstraintValidationResult.errorParametersMALICIOUS_CODEEI_EXPOSE_REP2113Medium

org.kuali.rice.kns.datadictionary.validation.result.EntryValidationResult

BugCategoryDetailsLinePriority
Unread field: org.kuali.rice.kns.datadictionary.validation.result.EntryValidationResult.entryNamePERFORMANCEURF_UNREAD_FIELD32Medium

org.kuali.rice.kns.document.MaintenanceDocumentBase

BugCategoryDetailsLinePriority
instanceof will always return true in org.kuali.rice.kns.document.MaintenanceDocumentBase.validateBusinessRules(KualiDocumentEvent), since all org.kuali.rice.kns.document.MaintenanceDocumentBase are instances of org.kuali.rice.kns.document.MaintenanceDocumentSTYLEBC_VACUOUS_INSTANCEOF716Medium

org.kuali.rice.kns.document.authorization.DocumentAuthorizerBase

BugCategoryDetailsLinePriority
org.kuali.rice.kns.document.authorization.DocumentAuthorizerBase.LOG isn't final but should beMALICIOUS_CODEMS_SHOULD_BE_FINAL43High

org.kuali.rice.kns.document.authorization.MaintenanceDocumentPresentationControllerBase

BugCategoryDetailsLinePriority
org.kuali.rice.kns.document.authorization.MaintenanceDocumentPresentationControllerBase.maintenanceDocumentDictionaryService should be package protectedMALICIOUS_CODEMS_PKGPROTECTMedium

org.kuali.rice.kns.inquiry.KualiInquirableImpl

BugCategoryDetailsLinePriority
org.kuali.rice.kns.inquiry.KualiInquirableImpl.businessObjectService should be package protectedMALICIOUS_CODEMS_PKGPROTECTMedium
org.kuali.rice.kns.inquiry.KualiInquirableImpl.SUPER_CLASS_TRANSLATOR_LIST isn't final but should beMALICIOUS_CODEMS_SHOULD_BE_FINAL98High

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_STORE1094High
Dead store to fields in org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl.setRows()STYLEDLS_DEAD_LOCAL_STORE1045Medium
org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl.getSupplementalMenuBar() invokes inefficient new String() constructorPERFORMANCEDM_STRING_VOID_CTOR1366Medium
org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl.RESULTS_DEFAULT_MAX_COLUMN_LENGTH should be package protectedMALICIOUS_CODEMS_PKGPROTECT704Medium
Method org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl.preprocessDateFields(Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR1232Medium

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_ITERATOR216Medium

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_ITERATOR159Medium
Method org.kuali.rice.kns.lookup.KualiLookupableHelperServiceImpl.getSearchResultsHelper(Map, boolean) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR227Medium
Method org.kuali.rice.kns.lookup.KualiLookupableHelperServiceImpl.removeExternalizableBusinessObjectFieldValues(Class, Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR142Medium

org.kuali.rice.kns.lookup.LookupUtils

BugCategoryDetailsLinePriority
Method org.kuali.rice.kns.lookup.LookupUtils.generateFieldConversions(BusinessObject, String, BusinessObjectRelationship, String, List, String) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION676Medium
Method org.kuali.rice.kns.lookup.LookupUtils.generateLookupParameters(BusinessObject, String, BusinessObjectRelationship, String, List, String) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION715Medium
Method org.kuali.rice.kns.lookup.LookupUtils.getNestedBusinessObject(BusinessObject, String) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION624Medium
Method org.kuali.rice.kns.lookup.LookupUtils.setFieldDirectInquiry(Field) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION497Medium
Write to static field org.kuali.rice.kns.lookup.LookupUtils.businessObjectDictionaryService from instance method org.kuali.rice.kns.lookup.LookupUtils.setBusinessObjectDictionaryService(BusinessObjectDictionaryService)STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD76High
Write to static field org.kuali.rice.kns.lookup.LookupUtils.businessObjectMetaDataService from instance method org.kuali.rice.kns.lookup.LookupUtils.setBusinessObjectMetaDataService(BusinessObjectMetaDataService)STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD96High
Write to static field org.kuali.rice.kns.lookup.LookupUtils.dataDictionaryService from instance method org.kuali.rice.kns.lookup.LookupUtils.setDataDictionaryService(DataDictionaryService)STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD80High
Write to static field org.kuali.rice.kns.lookup.LookupUtils.dateTimeService from instance method org.kuali.rice.kns.lookup.LookupUtils.setDateTimeService(DateTimeService)STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD88High
Write to static field org.kuali.rice.kns.lookup.LookupUtils.persistenceStructureService from instance method org.kuali.rice.kns.lookup.LookupUtils.setPersistenceStructureService(PersistenceStructureService)STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD84High
Method org.kuali.rice.kns.lookup.LookupUtils.forceUppercase(Class, Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR163Medium
Method org.kuali.rice.kns.lookup.LookupUtils.getPrimitiveReference(BusinessObject, String) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR580Medium

org.kuali.rice.kns.maintenance.KualiMaintainableImpl

BugCategoryDetailsLinePriority
Dead store to cachedValues in org.kuali.rice.kns.maintenance.KualiMaintainableImpl.setGenerateDefaultValues(String)STYLEDLS_DEAD_LOCAL_STORE823Medium
org.kuali.rice.kns.maintenance.KualiMaintainableImpl.getMultiValueIdentifierList(Collection, List) invokes inefficient new String() constructorPERFORMANCEDM_STRING_VOID_CTOR636Medium
org.kuali.rice.kns.maintenance.KualiMaintainableImpl.hasBusinessObjectExisted(BusinessObject, List, List) invokes inefficient new String() constructorPERFORMANCEDM_STRING_VOID_CTOR650Medium
Method org.kuali.rice.kns.maintenance.KualiMaintainableImpl.getMultiValueIdentifierList(Collection, List) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION638Medium
Method org.kuali.rice.kns.maintenance.KualiMaintainableImpl.hasBusinessObjectExisted(BusinessObject, List, List) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION652Medium
Method org.kuali.rice.kns.maintenance.KualiMaintainableImpl.decryptEncryptedData(Map, MaintenanceDocument, String) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR258Medium
Method org.kuali.rice.kns.maintenance.KualiMaintainableImpl.performFieldForceUpperCase(BusinessObject, Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR1488Medium

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

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

org.kuali.rice.kns.rules.DocumentRuleBase

BugCategoryDetailsLinePriority
Dead store to docOrBoClass in org.kuali.rice.kns.rules.DocumentRuleBase.isAddHocRoutePersonValid(Document, AdHocRoutePerson)STYLEDLS_DEAD_LOCAL_STORE388Medium

org.kuali.rice.kns.uif.authorization.DocumentAuthorizerBase

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from org.kuali.rice.kns.web.spring.form.UifFormBase to org.kuali.rice.kns.web.spring.form.DocumentFormBase in org.kuali.rice.kns.uif.authorization.DocumentAuthorizerBase.getActionFlags(UifFormBase, Person, Set)STYLEBC_UNCONFIRMED_CAST51Medium
org.kuali.rice.kns.uif.authorization.DocumentAuthorizerBase.LOG isn't final but should beMALICIOUS_CODEMS_SHOULD_BE_FINAL42High

org.kuali.rice.kns.uif.authorization.DocumentPresentationControllerBase

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from org.kuali.rice.kns.web.spring.form.UifFormBase to org.kuali.rice.kns.web.spring.form.DocumentFormBase in org.kuali.rice.kns.uif.authorization.DocumentPresentationControllerBase.getActionFlags(UifFormBase)STYLEBC_UNCONFIRMED_CAST42Medium

org.kuali.rice.kns.uif.authorization.MaintenanceDocumentPresentationControllerBase

BugCategoryDetailsLinePriority
org.kuali.rice.kns.uif.authorization.MaintenanceDocumentPresentationControllerBase.maintenanceDocumentDictionaryService should be package protectedMALICIOUS_CODEMS_PKGPROTECTMedium

org.kuali.rice.kns.uif.container.CollectionGroupBuilder

BugCategoryDetailsLinePriority
org.kuali.rice.kns.uif.container.CollectionGroupBuilder.buildLine(View, Object, CollectionGroup, String, List, boolean, Object, int) invokes inefficient Boolean constructor; use Boolean.valueOf(...) insteadPERFORMANCEDM_BOOLEAN_CTOR213Medium
org.kuali.rice.kns.uif.container.CollectionGroupBuilder.removeNonRenderLineFields(View, Object, CollectionGroup, List, Object, int) invokes inefficient Boolean constructor; use Boolean.valueOf(...) insteadPERFORMANCEDM_BOOLEAN_CTOR285Medium
Method org.kuali.rice.kns.uif.container.CollectionGroupBuilder.removeNonRenderLineFields(View, Object, CollectionGroup, List, Object, int) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR284Medium

org.kuali.rice.kns.uif.container.LookupView

BugCategoryDetailsLinePriority
Non-virtual method call in org.kuali.rice.kns.uif.container.LookupView.applyConditionalLogicForFieldDisplay() passes null for nonnull parameter of org.kuali.rice.kns.uif.util.LookupInquiryUtils.generateCustomLookupControlFromExisting(Class, Control)CORRECTNESSNP_NULL_PARAM_DEREF_NONVIRTUAL145High

org.kuali.rice.kns.uif.core.MaintenanceActiveCollectionFilter

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from org.kuali.rice.kns.uif.container.View to org.kuali.rice.kns.uif.container.MaintenanceView in org.kuali.rice.kns.uif.core.MaintenanceActiveCollectionFilter.filter(View, Object, CollectionGroup)STYLEBC_UNCONFIRMED_CAST39Medium

org.kuali.rice.kns.uif.core.MethodInvokerConfig

BugCategoryDetailsLinePriority
org.kuali.rice.kns.uif.core.MethodInvokerConfig.getArgumentTypes() may expose internal representation by returning MethodInvokerConfig.argumentTypesMALICIOUS_CODEEI_EXPOSE_REP57Medium
org.kuali.rice.kns.uif.core.MethodInvokerConfig.setArgumentTypes(Class[]) may expose internal representation by storing an externally mutable object into MethodInvokerConfig.argumentTypesMALICIOUS_CODEEI_EXPOSE_REP266Medium
Read of unwritten field staticMethod in org.kuali.rice.kns.uif.core.MethodInvokerConfig.getMethodArgumentTypes()CORRECTNESSNP_UNWRITTEN_FIELD77Medium
Unwritten field: org.kuali.rice.kns.uif.core.MethodInvokerConfig.staticMethodCORRECTNESSUWF_UNWRITTEN_FIELD76Medium

org.kuali.rice.kns.uif.core.Ordered

BugCategoryDetailsLinePriority

org.kuali.rice.kns.uif.field.ActionField

BugCategoryDetailsLinePriority
Method org.kuali.rice.kns.uif.field.ActionField.performFinalize(View, Object, Component) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION139Medium

org.kuali.rice.kns.uif.field.AttributeField

BugCategoryDetailsLinePriority
Class org.kuali.rice.kns.uif.field.AttributeField defines non-transient non-serializable instance field optionsFinderBAD_PRACTICESE_BAD_FIELDMedium

org.kuali.rice.kns.uif.field.AttributeQuery

BugCategoryDetailsLinePriority
Method org.kuali.rice.kns.uif.field.AttributeQuery.getQueryFieldMappingJsString() concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION139Medium
Method org.kuali.rice.kns.uif.field.AttributeQuery.getQueryMethodArgumentFieldsJsString() concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION181Medium
Method org.kuali.rice.kns.uif.field.AttributeQuery.getReturnFieldMappingJsString() concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION161Medium
Class org.kuali.rice.kns.uif.field.AttributeQuery defines non-transient non-serializable instance field queryMethodInvokerConfigBAD_PRACTICESE_BAD_FIELDHigh

org.kuali.rice.kns.uif.field.FieldBase

BugCategoryDetailsLinePriority
org.kuali.rice.kns.uif.field.FieldBase.performFinalize(View, Object, Component) invokes inefficient Boolean constructor; use Boolean.valueOf(...) insteadPERFORMANCEDM_BOOLEAN_CTOR96Medium

org.kuali.rice.kns.uif.field.GeneratedField

BugCategoryDetailsLinePriority
Class org.kuali.rice.kns.uif.field.GeneratedField defines non-transient non-serializable instance field renderingMethodInvokerBAD_PRACTICESE_BAD_FIELDMedium

org.kuali.rice.kns.uif.history.History

BugCategoryDetailsLinePriority
Method org.kuali.rice.kns.uif.history.History.getGeneratedBreadcrumbs() concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION199Medium
Method org.kuali.rice.kns.uif.history.History.getGeneratedCurrentBreadcrumb() concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION232Medium
Method org.kuali.rice.kns.uif.history.History.getHistoryParameterString() concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION163Medium
Method org.kuali.rice.kns.uif.history.History.setCurrent(UifFormBase, HttpServletRequest) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION336Medium

org.kuali.rice.kns.uif.layout.StackedLayoutManager

BugCategoryDetailsLinePriority
Method org.kuali.rice.kns.uif.layout.StackedLayoutManager.buildLineHeaderText(Object) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION184Medium

org.kuali.rice.kns.uif.layout.TableLayoutManager

BugCategoryDetailsLinePriority
Method org.kuali.rice.kns.uif.layout.TableLayoutManager.addHeaderField(Field, int) uses the same code for two branchesSTYLEDB_DUPLICATE_BRANCHES307Medium
org.kuali.rice.kns.uif.layout.TableLayoutManager.buildLine(View, Object, CollectionGroup, List, List, String, List, String, Object, int) invokes inefficient Boolean constructor; use Boolean.valueOf(...) insteadPERFORMANCEDM_BOOLEAN_CTOR182Medium
Method org.kuali.rice.kns.uif.layout.TableLayoutManager.buildLine(View, Object, CollectionGroup, List, List, String, List, String, Object, int) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR171Medium

org.kuali.rice.kns.uif.service.impl.LookupViewHelperServiceImpl

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from org.kuali.rice.kns.uif.container.View to org.kuali.rice.kns.uif.container.LookupView in org.kuali.rice.kns.uif.service.impl.LookupViewHelperServiceImpl.performInitialization(View)STYLEBC_UNCONFIRMED_CAST145Medium
Method org.kuali.rice.kns.uif.service.impl.LookupViewHelperServiceImpl.getExternalizableBusinessObjectFieldValues(String, Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR580Medium
Method org.kuali.rice.kns.uif.service.impl.LookupViewHelperServiceImpl.getSearchResultsWithBounding(Map, boolean) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR365Medium
Method org.kuali.rice.kns.uif.service.impl.LookupViewHelperServiceImpl.preprocessDateFields(Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR329Medium
Method org.kuali.rice.kns.uif.service.impl.LookupViewHelperServiceImpl.removeExternalizableBusinessObjectFieldValues(Class, Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR564Medium

org.kuali.rice.kns.uif.util.ClientValidationUtils

BugCategoryDetailsLinePriority
Method org.kuali.rice.kns.uif.util.ClientValidationUtils.createRule(AttributeField, Constraint, String, View) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION354Medium
Method org.kuali.rice.kns.uif.util.ClientValidationUtils.generateMessageFromLabelKey(String) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION126Medium
Method org.kuali.rice.kns.uif.util.ClientValidationUtils.generateValidatorMessagesOption() concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION150Medium
Method org.kuali.rice.kns.uif.util.ClientValidationUtils.getMustOccurStatement(AttributeField, MustOccurConstraint) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION601Medium
Method org.kuali.rice.kns.uif.util.ClientValidationUtils.processWhenConstraint(AttributeField, View, CaseConstraint, WhenConstraint, String, String, String) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION271Medium

org.kuali.rice.kns.uif.util.CloneUtils

BugCategoryDetailsLinePriority
org.kuali.rice.kns.uif.util.CloneUtils.deepCloneObject(Object, Map) invokes inefficient Boolean constructor; use Boolean.valueOf(...) insteadPERFORMANCEDM_BOOLEAN_CTOR95Medium
Load of known null value in org.kuali.rice.kns.uif.util.CloneUtils.internalField(Object, String)STYLENP_LOAD_OF_KNOWN_NULL_VALUE232Medium

org.kuali.rice.kns.uif.util.ComponentUtils

BugCategoryDetailsLinePriority
Method org.kuali.rice.kns.uif.util.ComponentUtils.processIds(Component, Map) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR341Medium
Method org.kuali.rice.kns.uif.util.ComponentUtils.sort(List, int) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR409Medium
Method org.kuali.rice.kns.uif.util.ComponentUtils.updateContextForLine(Component, Object, int) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR333Medium

org.kuali.rice.kns.uif.util.LookupInquiryUtils

BugCategoryDetailsLinePriority
Method org.kuali.rice.kns.uif.util.LookupInquiryUtils.getTitleText(String, Class, Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR216Medium

org.kuali.rice.kns.uif.util.ViewModelUtils

BugCategoryDetailsLinePriority
Method org.kuali.rice.kns.uif.util.ViewModelUtils.getPropertyType(View, String) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR64Medium

org.kuali.rice.kns.util.FieldUtils

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

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

BugCategoryDetailsLinePriority
Method org.kuali.rice.kns.util.KNSUtils.getIntegerValue(String) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR102Medium

org.kuali.rice.kns.util.ObjectUtils

BugCategoryDetailsLinePriority
Call to equals() with null argument in org.kuali.rice.kns.util.ObjectUtils.isNull(Object)CORRECTNESSEC_NULL_ARG833Medium
Method org.kuali.rice.kns.util.ObjectUtils.createHybridBusinessObject(BusinessObject, BusinessObject, Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR193Medium
Method org.kuali.rice.kns.util.ObjectUtils.equalByKeys(PersistableBusinessObject, PersistableBusinessObject) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR670Medium
Method org.kuali.rice.kns.util.ObjectUtils.materializeSubObjectsToDepth(PersistableBusinessObject, int) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR933Medium

org.kuali.rice.kns.util.WebUtils

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from org.kuali.rice.kns.web.struts.pojo.PojoFormBase to org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase in org.kuali.rice.kns.util.WebUtils.isFormSessionDocument(PojoFormBase)STYLEBC_UNCONFIRMED_CAST514Medium
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_INSTANCEOF205Medium
Dead store to params in org.kuali.rice.kns.util.WebUtils.getMultipartParameters(HttpServletRequest, ActionServletWrapper, ActionForm, ActionMapping)STYLEDLS_DEAD_LOCAL_STORE395High
Dead store to files in org.kuali.rice.kns.util.WebUtils.getMultipartParameters(HttpServletRequest, ActionServletWrapper, ActionForm, ActionMapping)STYLEDLS_DEAD_LOCAL_STORE413Medium
org.kuali.rice.kns.util.WebUtils.KEY_KUALI_FORM_IN_SESSION isn't final but should beMALICIOUS_CODEMS_SHOULD_BE_FINAL520High
"." used for regular expression in org.kuali.rice.kns.util.WebUtils.getMapFromParameterString(String)CORRECTNESSRE_POSSIBLE_UNINTENDED_PATTERN963High
Method org.kuali.rice.kns.util.WebUtils.buildMapParameterString(Map) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION945Medium
Method org.kuali.rice.kns.util.WebUtils.filterHtmlAndReplaceRiceMarkup(String) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR768Medium

org.kuali.rice.kns.util.documentserializer.DocumentSerializationState$SerializationPropertyElement

BugCategoryDetailsLinePriority
Should org.kuali.rice.kns.util.documentserializer.DocumentSerializationState$SerializationPropertyElement be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATIC37Medium

org.kuali.rice.kns.util.documentserializer.SerializationState$SerializationPropertyElement

BugCategoryDetailsLinePriority
Should org.kuali.rice.kns.util.documentserializer.SerializationState$SerializationPropertyElement be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATIC35Medium

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_CTOR61Medium
org.kuali.rice.kns.web.EditablePropertiesHistoryHolder is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID40Medium

org.kuali.rice.kns.web.spring.controller.DocumentControllerBase

BugCategoryDetailsLinePriority
org.kuali.rice.kns.web.spring.controller.DocumentControllerBase.DOCUMENT_LOAD_COMMANDS should be package protectedMALICIOUS_CODEMS_PKGPROTECT74Medium

org.kuali.rice.kns.web.spring.controller.IncidentReportController

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from org.kuali.rice.kns.web.spring.form.UifFormBase to org.kuali.rice.kns.web.spring.form.IncidentReportForm in org.kuali.rice.kns.web.spring.controller.IncidentReportController.submitReport(UifFormBase, BindingResult, HttpServletRequest, HttpServletResponse)STYLEBC_UNCONFIRMED_CAST54Medium

org.kuali.rice.kns.web.spring.controller.InquiryController

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from org.kuali.rice.kns.web.spring.form.UifFormBase to org.kuali.rice.kns.web.spring.form.InquiryForm in org.kuali.rice.kns.web.spring.controller.InquiryController.start(UifFormBase, BindingResult, HttpServletRequest, HttpServletResponse)STYLEBC_UNCONFIRMED_CAST52Medium

org.kuali.rice.kns.web.spring.controller.LookupController

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from org.kuali.rice.kns.web.spring.form.UifFormBase to org.kuali.rice.kns.web.spring.form.LookupForm in org.kuali.rice.kns.web.spring.controller.LookupController.cancel(UifFormBase, BindingResult, HttpServletRequest, HttpServletResponse)STYLEBC_UNCONFIRMED_CAST123Medium
Unchecked/unconfirmed cast from org.kuali.rice.kns.web.spring.form.UifFormBase to org.kuali.rice.kns.web.spring.form.LookupForm in org.kuali.rice.kns.web.spring.controller.LookupController.start(UifFormBase, BindingResult, HttpServletRequest, HttpServletResponse)STYLEBC_UNCONFIRMED_CAST110Medium
Method org.kuali.rice.kns.web.spring.controller.LookupController.search(LookupForm, BindingResult, HttpServletRequest, HttpServletResponse) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR173Medium

org.kuali.rice.kns.web.spring.controller.MaintenanceDocumentController

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from org.kuali.rice.kns.web.spring.form.DocumentFormBase to org.kuali.rice.kns.web.spring.form.MaintenanceForm in org.kuali.rice.kns.web.spring.controller.MaintenanceDocumentController.docHandler(DocumentFormBase, BindingResult, HttpServletRequest, HttpServletResponse)STYLEBC_UNCONFIRMED_CAST79Medium
Unchecked/unconfirmed cast from org.kuali.rice.kns.web.spring.form.UifFormBase to org.kuali.rice.kns.web.spring.form.MaintenanceForm in org.kuali.rice.kns.web.spring.controller.MaintenanceDocumentController.start(UifFormBase, BindingResult, HttpServletRequest, HttpServletResponse)STYLEBC_UNCONFIRMED_CAST132Medium

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

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

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

BugCategoryDetailsLinePriority
org.kuali.rice.kns.web.spring.form.LookupForm.processBooleanParameter(String) invokes inefficient Boolean constructor; use Boolean.valueOf(...) insteadPERFORMANCEDM_BOOLEAN_CTOR284Medium
org.kuali.rice.kns.web.spring.form.LookupForm.processBooleanParameter(String) has Boolean return type and returns explicit nullBAD_PRACTICENP_BOOLEAN_RETURN_NULL286Medium

org.kuali.rice.kns.web.spring.form.UifFormBase

BugCategoryDetailsLinePriority
Class org.kuali.rice.kns.web.spring.form.UifFormBase defines non-transient non-serializable instance field attachmentFileBAD_PRACTICESE_BAD_FIELDMedium

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_ARRAY1045Medium
Invocation of toString on inquiryParams in org.kuali.rice.kns.web.struts.action.KualiAction.performInquiry(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse)CORRECTNESSDMI_INVOKING_TOSTRING_ON_ARRAY657Medium
org.kuali.rice.kns.web.struts.action.KualiAction.performLookup(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) invokes inefficient Boolean constructor; use Boolean.valueOf(...) insteadPERFORMANCEDM_BOOLEAN_CTOR532Medium

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_STORE1464Medium
org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase.DOCUMENT_LOAD_COMMANDS should be package protectedMALICIOUS_CODEMS_PKGPROTECT117Medium

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_REP277Medium
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_REP2286Medium

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_STORE454Medium
Method org.kuali.rice.kns.web.struts.form.KualiMaintenanceForm.populate(HttpServletRequest) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR243Medium

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_STORE147Medium
org.kuali.rice.kns.web.struts.form.LookupForm.populate(HttpServletRequest) invokes inefficient Boolean constructor; use Boolean.valueOf(...) insteadPERFORMANCEDM_BOOLEAN_CTOR226Medium

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.pojo.PojoFormBase

BugCategoryDetailsLinePriority
Method org.kuali.rice.kns.web.struts.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_REP1607Medium
org.kuali.rice.kns.web.ui.Field.setPropertyValues(String[]) may expose internal representation by storing an externally mutable object into Field.propertyValuesMALICIOUS_CODEEI_EXPOSE_REP21611Medium
Method org.kuali.rice.kns.web.ui.Field.setLookupParameters(Map) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION883Medium
Method org.kuali.rice.kns.web.ui.Field.setFieldConversions(Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR792Medium
Method org.kuali.rice.kns.web.ui.Field.setLookupParameters(Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR880Medium

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_CONCATENATION398Medium

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_CONCATENATION75Medium

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_STORE101Medium
Dead store to sectionRows in org.kuali.rice.kns.web.ui.SectionBridge.toSection(Inquirable, InquirySectionDefinition, BusinessObject, InquiryRestrictions)STYLEDLS_DEAD_LOCAL_STORE107Medium
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_CTOR433Medium
Nullcheck of o at line 248 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_NPE215Medium