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
47510400

Files

ClassBugs
org.kuali.rice.krad.bo.AdHocRouteWorkgroupId1
org.kuali.rice.krad.bo.SessionDocument2
org.kuali.rice.krad.bo.authorization.BusinessObjectAuthorizerBase1
org.kuali.rice.krad.datadictionary.DataDictionary5
org.kuali.rice.krad.datadictionary.DataDictionaryEntryBase1
org.kuali.rice.krad.datadictionary.DataObjectEntry2
org.kuali.rice.krad.datadictionary.PrimitiveAttributeDefinition1
org.kuali.rice.krad.datadictionary.UifDictionaryIndex4
org.kuali.rice.krad.datadictionary.validation.CharacterLevelValidationPattern1
org.kuali.rice.krad.datadictionary.validation.ValidationUtils1
org.kuali.rice.krad.datadictionary.validation.result.ConstraintValidationResult2
org.kuali.rice.krad.datadictionary.validation.result.EntryValidationResult1
org.kuali.rice.krad.document.MaintenanceDocumentBase1
org.kuali.rice.krad.document.authorization.DocumentAuthorizerBase1
org.kuali.rice.krad.exception.ExceptionIncident1
org.kuali.rice.krad.inquiry.InquirableImpl1
org.kuali.rice.krad.lookup.LookupUtils4
org.kuali.rice.krad.lookup.LookupableImpl11
org.kuali.rice.krad.rules.DocumentRuleBase1
org.kuali.rice.krad.rules.MaintenanceDocumentRuleBase2
org.kuali.rice.krad.uif.authorization.DocumentAuthorizerBase2
org.kuali.rice.krad.uif.authorization.DocumentPresentationControllerBase1
org.kuali.rice.krad.uif.container.CollectionGroupBuilder3
org.kuali.rice.krad.uif.container.InquiryView1
org.kuali.rice.krad.uif.core.MethodInvokerConfig4
org.kuali.rice.krad.uif.core.Ordered1
org.kuali.rice.krad.uif.field.ActionField1
org.kuali.rice.krad.uif.field.AttributeQuery4
org.kuali.rice.krad.uif.field.FieldBase1
org.kuali.rice.krad.uif.field.GeneratedField1
org.kuali.rice.krad.uif.history.History4
org.kuali.rice.krad.uif.layout.StackedLayoutManager1
org.kuali.rice.krad.uif.layout.TableLayoutManager3
org.kuali.rice.krad.uif.util.ClientValidationUtils5
org.kuali.rice.krad.uif.util.CloneUtils2
org.kuali.rice.krad.uif.util.ComponentFactory1
org.kuali.rice.krad.uif.util.ComponentUtils3
org.kuali.rice.krad.uif.util.LookupInquiryUtils1
org.kuali.rice.krad.uif.util.ViewModelUtils1
org.kuali.rice.krad.util.KRADUtils2
org.kuali.rice.krad.util.ObjectUtils4
org.kuali.rice.krad.util.documentserializer.DocumentSerializationState$SerializationPropertyElement1
org.kuali.rice.krad.util.documentserializer.SerializationState$SerializationPropertyElement1
org.kuali.rice.krad.web.controller.DocumentControllerBase1
org.kuali.rice.krad.web.controller.IncidentReportController1
org.kuali.rice.krad.web.controller.InquiryController2
org.kuali.rice.krad.web.controller.LookupController3
org.kuali.rice.krad.web.controller.MaintenanceDocumentController2
org.kuali.rice.krad.web.form.LookupForm2
org.kuali.rice.krad.web.form.UifFormBase1

org.kuali.rice.krad.bo.AdHocRouteWorkgroupId

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

org.kuali.rice.krad.bo.SessionDocument

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

org.kuali.rice.krad.bo.authorization.BusinessObjectAuthorizerBase

BugCategoryDetailsLinePriority
Unused field: org.kuali.rice.krad.bo.authorization.BusinessObjectAuthorizerBase.persistenceStructureServicePERFORMANCEUUF_UNUSED_FIELDMedium

org.kuali.rice.krad.datadictionary.DataDictionary

BugCategoryDetailsLinePriority
Dead store to collectionClasses in org.kuali.rice.krad.datadictionary.DataDictionary.buildReadDescriptor(Class, String)STYLEDLS_DEAD_LOCAL_STORE581Medium
Dead store to collectionClasses in org.kuali.rice.krad.datadictionary.DataDictionary.getCollectionElementClass(Class, String)STYLEDLS_DEAD_LOCAL_STORE522Medium
Dead store to indexName in org.kuali.rice.krad.datadictionary.DataDictionary.indexSource(String)STYLEDLS_DEAD_LOCAL_STORE127Medium
org.kuali.rice.krad.datadictionary.DataDictionary.persistenceStructureService should be package protectedMALICIOUS_CODEMS_PKGPROTECTMedium
Write to static field org.kuali.rice.krad.datadictionary.DataDictionary.validateEBOs from instance method org.kuali.rice.krad.datadictionary.DataDictionary.validateDD(boolean)STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD197High

org.kuali.rice.krad.datadictionary.DataDictionaryEntryBase

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

org.kuali.rice.krad.datadictionary.DataObjectEntry

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

org.kuali.rice.krad.datadictionary.PrimitiveAttributeDefinition

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

org.kuali.rice.krad.datadictionary.UifDictionaryIndex

BugCategoryDetailsLinePriority
Dead store to componentBeans in org.kuali.rice.krad.datadictionary.UifDictionaryIndex.buildViewIndicies()STYLEDLS_DEAD_LOCAL_STORE167Medium
Method org.kuali.rice.krad.datadictionary.UifDictionaryIndex.buildTypeIndex(Map) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION241Medium
Method org.kuali.rice.krad.datadictionary.UifDictionaryIndex.buildTypeIndex(Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR241Medium
Method org.kuali.rice.krad.datadictionary.UifDictionaryIndex.buildViewIndicies() makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR154Medium

org.kuali.rice.krad.datadictionary.validation.CharacterLevelValidationPattern

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

org.kuali.rice.krad.datadictionary.validation.ValidationUtils

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

org.kuali.rice.krad.datadictionary.validation.result.ConstraintValidationResult

BugCategoryDetailsLinePriority
org.kuali.rice.krad.datadictionary.validation.result.ConstraintValidationResult.getErrorParameters() may expose internal representation by returning ConstraintValidationResult.errorParametersMALICIOUS_CODEEI_EXPOSE_REP106Medium
org.kuali.rice.krad.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.krad.datadictionary.validation.result.EntryValidationResult

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

org.kuali.rice.krad.document.MaintenanceDocumentBase

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

org.kuali.rice.krad.document.authorization.DocumentAuthorizerBase

BugCategoryDetailsLinePriority
org.kuali.rice.krad.document.authorization.DocumentAuthorizerBase.LOG isn't final but should beMALICIOUS_CODEMS_SHOULD_BE_FINAL42High

org.kuali.rice.krad.exception.ExceptionIncident

BugCategoryDetailsLinePriority
Method call in new org.kuali.rice.krad.exception.ExceptionIncident(Exception, Map) passes null for nonnull parameter of initialize(Exception, Map)CORRECTNESSNP_NULL_PARAM_DEREF79High

org.kuali.rice.krad.inquiry.InquirableImpl

BugCategoryDetailsLinePriority
org.kuali.rice.krad.inquiry.InquirableImpl.SUPER_CLASS_TRANSLATOR_LIST isn't final but should beMALICIOUS_CODEMS_SHOULD_BE_FINAL72High

org.kuali.rice.krad.lookup.LookupUtils

BugCategoryDetailsLinePriority
Method org.kuali.rice.krad.lookup.LookupUtils.forceUppercase(Class, Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR115Medium
Method org.kuali.rice.krad.lookup.LookupUtils.getExternalizableBusinessObjectFieldValues(String, Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR329Medium
Method org.kuali.rice.krad.lookup.LookupUtils.preprocessDateFields(Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR243Medium
Method org.kuali.rice.krad.lookup.LookupUtils.removeExternalizableBusinessObjectFieldValues(Class, Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR313Medium

org.kuali.rice.krad.lookup.LookupableImpl

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from org.kuali.rice.krad.uif.container.View to org.kuali.rice.krad.uif.container.LookupView in org.kuali.rice.krad.lookup.LookupableImpl.performInitialization(View)STYLEBC_UNCONFIRMED_CAST120Medium
Dead store to lookupView in org.kuali.rice.krad.lookup.LookupableImpl.getMaintenanceActionLink(LinkField, Object, String)STYLEDLS_DEAD_LOCAL_STORE667Medium
Dead store to searchUsingOnlyPrimaryKeyValues in org.kuali.rice.krad.lookup.LookupableImpl.getSearchResults(LookupForm, Map, boolean)STYLEDLS_DEAD_LOCAL_STORE169Medium
Dead store to pkNames in org.kuali.rice.krad.lookup.LookupableImpl.performSearch(LookupForm, Map, boolean)STYLEDLS_DEAD_LOCAL_STORE151Medium
Dead store to user in org.kuali.rice.krad.lookup.LookupableImpl.performSearch(LookupForm, Map, boolean)STYLEDLS_DEAD_LOCAL_STORE152Medium
Dead store to dataObjectExample in org.kuali.rice.krad.lookup.LookupableImpl.validateSearchParameterWildcardAndOperators(AttributeField, String)STYLEDLS_DEAD_LOCAL_STORE496Medium
org.kuali.rice.krad.lookup.LookupableImpl is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID73Medium
Method org.kuali.rice.krad.lookup.LookupableImpl.getActionUrlHref(LookupForm, Object, String, List) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR716Medium
Method org.kuali.rice.krad.lookup.LookupableImpl.getReturnUrlParameters(LookupView, LookupForm, Object) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR634Medium
Method org.kuali.rice.krad.lookup.LookupableImpl.getSearchResultsForEBO(Map, boolean) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR258Medium
Method org.kuali.rice.krad.lookup.LookupableImpl.processSearchCriteria(LookupForm, Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR218Medium

org.kuali.rice.krad.rules.DocumentRuleBase

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

org.kuali.rice.krad.rules.MaintenanceDocumentRuleBase

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

org.kuali.rice.krad.uif.authorization.DocumentAuthorizerBase

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

org.kuali.rice.krad.uif.authorization.DocumentPresentationControllerBase

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

org.kuali.rice.krad.uif.container.CollectionGroupBuilder

BugCategoryDetailsLinePriority
org.kuali.rice.krad.uif.container.CollectionGroupBuilder.buildLine(View, Object, CollectionGroup, String, List, boolean, Object, int) invokes inefficient Boolean constructor; use Boolean.valueOf(...) insteadPERFORMANCEDM_BOOLEAN_CTOR202Medium
org.kuali.rice.krad.uif.container.CollectionGroupBuilder.removeNonRenderLineFields(View, Object, CollectionGroup, List, Object, int) invokes inefficient Boolean constructor; use Boolean.valueOf(...) insteadPERFORMANCEDM_BOOLEAN_CTOR274Medium
Method org.kuali.rice.krad.uif.container.CollectionGroupBuilder.removeNonRenderLineFields(View, Object, CollectionGroup, List, Object, int) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR273Medium

org.kuali.rice.krad.uif.container.InquiryView

BugCategoryDetailsLinePriority
Exception is caught when Exception is not thrown in org.kuali.rice.krad.uif.container.InquiryView.populateExportCapabilities()STYLEREC_CATCH_EXCEPTION115Medium

org.kuali.rice.krad.uif.core.MethodInvokerConfig

BugCategoryDetailsLinePriority
org.kuali.rice.krad.uif.core.MethodInvokerConfig.getArgumentTypes() may expose internal representation by returning MethodInvokerConfig.argumentTypesMALICIOUS_CODEEI_EXPOSE_REP57Medium
org.kuali.rice.krad.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.krad.uif.core.MethodInvokerConfig.getMethodArgumentTypes()CORRECTNESSNP_UNWRITTEN_FIELD77Medium
Unwritten field: org.kuali.rice.krad.uif.core.MethodInvokerConfig.staticMethodCORRECTNESSUWF_UNWRITTEN_FIELD76Medium

org.kuali.rice.krad.uif.core.Ordered

BugCategoryDetailsLinePriority

org.kuali.rice.krad.uif.field.ActionField

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

org.kuali.rice.krad.uif.field.AttributeQuery

BugCategoryDetailsLinePriority
Method org.kuali.rice.krad.uif.field.AttributeQuery.getQueryFieldMappingJsString() concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION137Medium
Method org.kuali.rice.krad.uif.field.AttributeQuery.getQueryMethodArgumentFieldsJsString() concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION179Medium
Method org.kuali.rice.krad.uif.field.AttributeQuery.getReturnFieldMappingJsString() concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION159Medium
Class org.kuali.rice.krad.uif.field.AttributeQuery defines non-transient non-serializable instance field queryMethodInvokerConfigBAD_PRACTICESE_BAD_FIELDHigh

org.kuali.rice.krad.uif.field.FieldBase

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

org.kuali.rice.krad.uif.field.GeneratedField

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

org.kuali.rice.krad.uif.history.History

BugCategoryDetailsLinePriority
Method org.kuali.rice.krad.uif.history.History.getGeneratedBreadcrumbs() concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION198Medium
Method org.kuali.rice.krad.uif.history.History.getGeneratedCurrentBreadcrumb() concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION231Medium
Method org.kuali.rice.krad.uif.history.History.getHistoryParameterString() concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION162Medium
Method org.kuali.rice.krad.uif.history.History.setCurrent(UifFormBase, HttpServletRequest) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION335Medium

org.kuali.rice.krad.uif.layout.StackedLayoutManager

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

org.kuali.rice.krad.uif.layout.TableLayoutManager

BugCategoryDetailsLinePriority
Method org.kuali.rice.krad.uif.layout.TableLayoutManager.addHeaderField(Field, int) uses the same code for two branchesSTYLEDB_DUPLICATE_BRANCHES308Medium
org.kuali.rice.krad.uif.layout.TableLayoutManager.buildLine(View, Object, CollectionGroup, List, List, String, List, String, Object, int) invokes inefficient Boolean constructor; use Boolean.valueOf(...) insteadPERFORMANCEDM_BOOLEAN_CTOR183Medium
Method org.kuali.rice.krad.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_CTOR172Medium

org.kuali.rice.krad.uif.util.ClientValidationUtils

BugCategoryDetailsLinePriority
Method org.kuali.rice.krad.uif.util.ClientValidationUtils.createRule(AttributeField, Constraint, String, View) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION352Medium
Method org.kuali.rice.krad.uif.util.ClientValidationUtils.generateMessageFromLabelKey(String) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION124Medium
Method org.kuali.rice.krad.uif.util.ClientValidationUtils.generateValidatorMessagesOption() concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION148Medium
Method org.kuali.rice.krad.uif.util.ClientValidationUtils.getMustOccurStatement(AttributeField, MustOccurConstraint) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION599Medium
Method org.kuali.rice.krad.uif.util.ClientValidationUtils.processWhenConstraint(AttributeField, View, CaseConstraint, WhenConstraint, String, String, String) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION269Medium

org.kuali.rice.krad.uif.util.CloneUtils

BugCategoryDetailsLinePriority
org.kuali.rice.krad.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.krad.uif.util.CloneUtils.internalField(Object, String)STYLENP_LOAD_OF_KNOWN_NULL_VALUE232Medium

org.kuali.rice.krad.uif.util.ComponentFactory

BugCategoryDetailsLinePriority
Possible null pointer dereference of origField in org.kuali.rice.krad.uif.util.ComponentFactory.getComponentByIdWithLifecycle(UifFormBase, String)CORRECTNESSNP_NULL_ON_SOME_PATH140Medium

org.kuali.rice.krad.uif.util.ComponentUtils

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

org.kuali.rice.krad.uif.util.LookupInquiryUtils

BugCategoryDetailsLinePriority
Method org.kuali.rice.krad.uif.util.LookupInquiryUtils.getLinkTitleText(String, Class, Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR212Medium

org.kuali.rice.krad.uif.util.ViewModelUtils

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

org.kuali.rice.krad.util.KRADUtils

BugCategoryDetailsLinePriority
Method org.kuali.rice.krad.util.KRADUtils.getIntegerValue(String) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR118Medium
Method org.kuali.rice.krad.util.KRADUtils.buildMapParameterString(Map) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION280Medium

org.kuali.rice.krad.util.ObjectUtils

BugCategoryDetailsLinePriority
Call to equals() with null argument in org.kuali.rice.krad.util.ObjectUtils.isNull(Object)CORRECTNESSEC_NULL_ARG836Medium
Method org.kuali.rice.krad.util.ObjectUtils.createHybridBusinessObject(BusinessObject, BusinessObject, Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR194Medium
Method org.kuali.rice.krad.util.ObjectUtils.equalByKeys(PersistableBusinessObject, PersistableBusinessObject) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR673Medium
Method org.kuali.rice.krad.util.ObjectUtils.materializeSubObjectsToDepth(PersistableBusinessObject, int) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR936Medium

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

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

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

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

org.kuali.rice.krad.web.controller.DocumentControllerBase

BugCategoryDetailsLinePriority
org.kuali.rice.krad.web.controller.DocumentControllerBase.DOCUMENT_LOAD_COMMANDS should be package protectedMALICIOUS_CODEMS_PKGPROTECT69Medium

org.kuali.rice.krad.web.controller.IncidentReportController

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

org.kuali.rice.krad.web.controller.InquiryController

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from org.kuali.rice.krad.web.form.UifFormBase to org.kuali.rice.krad.web.form.InquiryForm in org.kuali.rice.krad.web.controller.InquiryController.export(UifFormBase, BindingResult, HttpServletRequest, HttpServletResponse)STYLEBC_UNCONFIRMED_CAST102Medium
Unchecked/unconfirmed cast from org.kuali.rice.krad.web.form.UifFormBase to org.kuali.rice.krad.web.form.InquiryForm in org.kuali.rice.krad.web.controller.InquiryController.start(UifFormBase, BindingResult, HttpServletRequest, HttpServletResponse)STYLEBC_UNCONFIRMED_CAST72Medium

org.kuali.rice.krad.web.controller.LookupController

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

org.kuali.rice.krad.web.controller.MaintenanceDocumentController

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from org.kuali.rice.krad.web.form.DocumentFormBase to org.kuali.rice.krad.web.form.MaintenanceForm in org.kuali.rice.krad.web.controller.MaintenanceDocumentController.docHandler(DocumentFormBase, BindingResult, HttpServletRequest, HttpServletResponse)STYLEBC_UNCONFIRMED_CAST72Medium
Unchecked/unconfirmed cast from org.kuali.rice.krad.web.form.UifFormBase to org.kuali.rice.krad.web.form.MaintenanceForm in org.kuali.rice.krad.web.controller.MaintenanceDocumentController.start(UifFormBase, BindingResult, HttpServletRequest, HttpServletResponse)STYLEBC_UNCONFIRMED_CAST121Medium

org.kuali.rice.krad.web.form.LookupForm

BugCategoryDetailsLinePriority
org.kuali.rice.krad.web.form.LookupForm.processBooleanParameter(String) invokes inefficient Boolean constructor; use Boolean.valueOf(...) insteadPERFORMANCEDM_BOOLEAN_CTOR160Medium
org.kuali.rice.krad.web.form.LookupForm.processBooleanParameter(String) has Boolean return type and returns explicit nullBAD_PRACTICENP_BOOLEAN_RETURN_NULL162Medium

org.kuali.rice.krad.web.form.UifFormBase

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