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
51212100

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.UifDictionaryIndex2
org.kuali.rice.krad.datadictionary.validation.CharacterLevelValidationPattern1
org.kuali.rice.krad.datadictionary.validation.DictionaryObjectAttributeValueReader2
org.kuali.rice.krad.datadictionary.validation.ValidationUtils1
org.kuali.rice.krad.datadictionary.validation.constraint.AlphaNumericPatternConstraint1
org.kuali.rice.krad.datadictionary.validation.constraint.AlphaPatternConstraint1
org.kuali.rice.krad.datadictionary.validation.processor.CollectionSizeConstraintProcessor1
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.LookupableImpl12
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.authorization.InquiryPresentationControllerBase1
org.kuali.rice.krad.uif.component.MethodInvokerConfig4
org.kuali.rice.krad.uif.component.Ordered1
org.kuali.rice.krad.uif.container.CollectionGroupBuilder4
org.kuali.rice.krad.uif.field.ActionField1
org.kuali.rice.krad.uif.field.AttributeQuery3
org.kuali.rice.krad.uif.field.FieldBase1
org.kuali.rice.krad.uif.layout.CollectionLayoutUtils1
org.kuali.rice.krad.uif.layout.StackedLayoutManager1
org.kuali.rice.krad.uif.layout.TableLayoutManager3
org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl3
org.kuali.rice.krad.uif.util.ClientValidationUtils4
org.kuali.rice.krad.uif.util.CloneUtils2
org.kuali.rice.krad.uif.util.ComponentFactory4
org.kuali.rice.krad.uif.util.ComponentUtils2
org.kuali.rice.krad.uif.util.ExpressionUtils2
org.kuali.rice.krad.uif.util.LookupInquiryUtils1
org.kuali.rice.krad.uif.util.ScriptUtils1
org.kuali.rice.krad.uif.util.UifBeanFactoryPostProcessor1
org.kuali.rice.krad.uif.util.ViewModelUtils1
org.kuali.rice.krad.uif.view.History4
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.DocumentControllerBase5
org.kuali.rice.krad.web.controller.IncidentReportController1
org.kuali.rice.krad.web.controller.InquiryController2
org.kuali.rice.krad.web.controller.LookupController4
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_STORE653Medium
Dead store to collectionClasses in org.kuali.rice.krad.datadictionary.DataDictionary.getCollectionElementClass(Class, String)STYLEDLS_DEAD_LOCAL_STORE594Medium
Dead store to indexName in org.kuali.rice.krad.datadictionary.DataDictionary.indexSource(String)STYLEDLS_DEAD_LOCAL_STORE129Medium
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_METHOD203High

org.kuali.rice.krad.datadictionary.DataDictionaryEntryBase

BugCategoryDetailsLinePriority
ComplexAttributeDefinition is incompatible with expected argument type String in org.kuali.rice.krad.datadictionary.DataDictionaryEntryBase.setComplexAttributes(List)CORRECTNESSGC_UNRELATED_TYPES100High

org.kuali.rice.krad.datadictionary.DataObjectEntry

BugCategoryDetailsLinePriority
Method org.kuali.rice.krad.datadictionary.DataObjectEntry.getJstlKey() uses the same code for two branchesSTYLEDB_DUPLICATE_BRANCHES75Medium
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_VALUE75Medium

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_PATH102Medium

org.kuali.rice.krad.datadictionary.UifDictionaryIndex

BugCategoryDetailsLinePriority
Method org.kuali.rice.krad.datadictionary.UifDictionaryIndex.buildTypeIndex(Map) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION308Medium
Method org.kuali.rice.krad.datadictionary.UifDictionaryIndex.buildTypeIndex(Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR308Medium

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

BugCategoryDetailsLinePriority
org.kuali.rice.krad.datadictionary.validation.DictionaryObjectAttributeValueReader defines clone() but doesn't implement CloneableBAD_PRACTICECN_IMPLEMENTS_CLONE_BUT_NOT_CLONEABLE38High
Method org.kuali.rice.krad.datadictionary.validation.DictionaryObjectAttributeValueReader.isParentAttributeNull() concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION163Medium

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_NULL240Medium

org.kuali.rice.krad.datadictionary.validation.constraint.AlphaNumericPatternConstraint

BugCategoryDetailsLinePriority
Dead store to key in org.kuali.rice.krad.datadictionary.validation.constraint.AlphaNumericPatternConstraint.getLabelKey()STYLEDLS_DEAD_LOCAL_STORE39High

org.kuali.rice.krad.datadictionary.validation.constraint.AlphaPatternConstraint

BugCategoryDetailsLinePriority
Dead store to key in org.kuali.rice.krad.datadictionary.validation.constraint.AlphaPatternConstraint.getLabelKey()STYLEDLS_DEAD_LOCAL_STORE60High

org.kuali.rice.krad.datadictionary.validation.processor.CollectionSizeConstraintProcessor

BugCategoryDetailsLinePriority
Method org.kuali.rice.krad.datadictionary.validation.processor.CollectionSizeConstraintProcessor.processSingleCollectionSizeConstraint(DictionaryValidationResult, Collection, CollectionSizeConstraint, AttributeValueReader) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR74Medium

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_INSTANCEOF708Medium

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_FINAL43High

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_FINAL71High

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.view.View to org.kuali.rice.krad.uif.view.LookupView in org.kuali.rice.krad.lookup.LookupableImpl.performInitialization(View, Object)STYLEBC_UNCONFIRMED_CAST121Medium
Dead store to lookupView in org.kuali.rice.krad.lookup.LookupableImpl.getMaintenanceActionLink(LinkField, Object, String)STYLEDLS_DEAD_LOCAL_STORE707Medium
Dead store to searchUsingOnlyPrimaryKeyValues in org.kuali.rice.krad.lookup.LookupableImpl.getSearchResults(LookupForm, Map, boolean)STYLEDLS_DEAD_LOCAL_STORE170Medium
Dead store to pkNames in org.kuali.rice.krad.lookup.LookupableImpl.performSearch(LookupForm, Map, boolean)STYLEDLS_DEAD_LOCAL_STORE152Medium
Dead store to user in org.kuali.rice.krad.lookup.LookupableImpl.performSearch(LookupForm, Map, boolean)STYLEDLS_DEAD_LOCAL_STORE153Medium
Dead store to dataObjectExample in org.kuali.rice.krad.lookup.LookupableImpl.validateSearchParameterWildcardAndOperators(InputField, String)STYLEDLS_DEAD_LOCAL_STORE513Medium
Method org.kuali.rice.krad.lookup.LookupableImpl.setMultiValueLookupSelect(InputField, Object) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION805Medium
org.kuali.rice.krad.lookup.LookupableImpl is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID74Medium
Method org.kuali.rice.krad.lookup.LookupableImpl.getActionUrlHref(LookupForm, Object, String, List) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR759Medium
Method org.kuali.rice.krad.lookup.LookupableImpl.getReturnUrlParameters(LookupView, LookupForm, Object) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR674Medium
Method org.kuali.rice.krad.lookup.LookupableImpl.getSearchResultsForEBO(Map, boolean) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR262Medium
Method org.kuali.rice.krad.lookup.LookupableImpl.processSearchCriteria(LookupForm, Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR222Medium

org.kuali.rice.krad.rules.DocumentRuleBase

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

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_CAST51Medium
org.kuali.rice.krad.uif.authorization.DocumentAuthorizerBase.LOG isn't final but should beMALICIOUS_CODEMS_SHOULD_BE_FINAL42High

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.authorization.InquiryPresentationControllerBase

BugCategoryDetailsLinePriority
Exception is caught when Exception is not thrown in org.kuali.rice.krad.uif.authorization.InquiryPresentationControllerBase.isExportSupported(InquiryView)STYLEREC_CATCH_EXCEPTION65Medium

org.kuali.rice.krad.uif.component.MethodInvokerConfig

BugCategoryDetailsLinePriority
org.kuali.rice.krad.uif.component.MethodInvokerConfig.getArgumentTypes() may expose internal representation by returning MethodInvokerConfig.argumentTypesMALICIOUS_CODEEI_EXPOSE_REP58Medium
org.kuali.rice.krad.uif.component.MethodInvokerConfig.setArgumentTypes(Class[]) may expose internal representation by storing an externally mutable object into MethodInvokerConfig.argumentTypesMALICIOUS_CODEEI_EXPOSE_REP267Medium
Read of unwritten field staticMethod in org.kuali.rice.krad.uif.component.MethodInvokerConfig.getMethodArgumentTypes()CORRECTNESSNP_UNWRITTEN_FIELD78Medium
Unwritten field: org.kuali.rice.krad.uif.component.MethodInvokerConfig.staticMethodCORRECTNESSUWF_UNWRITTEN_FIELD77Medium

org.kuali.rice.krad.uif.component.Ordered

BugCategoryDetailsLinePriority
The class name org.kuali.rice.krad.uif.component.Ordered shadows the simple name of implemented interface org.springframework.core.OrderedBAD_PRACTICENM_SAME_SIMPLE_NAME_AS_INTERFACEMedium

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_CTOR248Medium
org.kuali.rice.krad.uif.container.CollectionGroupBuilder.removeNonRenderLineFields(View, Object, CollectionGroup, List, Object, int) invokes inefficient Boolean constructor; use Boolean.valueOf(...) insteadPERFORMANCEDM_BOOLEAN_CTOR332Medium
Method org.kuali.rice.krad.uif.container.CollectionGroupBuilder.performCollectionFiltering(View, Object, CollectionGroup, Collection) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR130Medium
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_CTOR331Medium

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_CONCATENATION148Medium

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

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_CTOR96Medium

org.kuali.rice.krad.uif.layout.CollectionLayoutUtils

BugCategoryDetailsLinePriority
Nullcheck of selectControl at line 70 of value previously dereferenced in org.kuali.rice.krad.uif.layout.CollectionLayoutUtils.setControlValueToLineIdentifier(Field, Object)CORRECTNESSRCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE70Medium

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

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

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_BRANCHES369Medium
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_CTOR229Medium
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_CTOR218Medium

org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl

BugCategoryDetailsLinePriority
Method org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl.buildClientSideStateScript(View, Map, boolean) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION782Medium
org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID84Medium
Method org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl.populateViewFromRequestParameters(View, Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR127Medium

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

BugCategoryDetailsLinePriority
Method org.kuali.rice.krad.uif.util.ClientValidationUtils.createRule(InputField, Constraint, String, View) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION376Medium
Method org.kuali.rice.krad.uif.util.ClientValidationUtils.generateValidatorMessagesOption() concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION135Medium
Method org.kuali.rice.krad.uif.util.ClientValidationUtils.getMustOccurStatement(InputField, MustOccurConstraint) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION627Medium
Method org.kuali.rice.krad.uif.util.ClientValidationUtils.processWhenConstraint(InputField, View, CaseConstraint, WhenConstraint, String, String, String) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION293Medium

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_CTOR106Medium
Load of known null value in org.kuali.rice.krad.uif.util.CloneUtils.internalField(Object, String)STYLENP_LOAD_OF_KNOWN_NULL_VALUE292Medium

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

BugCategoryDetailsLinePriority
Impossible cast from org.kuali.rice.krad.uif.control.TextControl to org.kuali.rice.krad.uif.control.TextAreaControl in org.kuali.rice.krad.uif.util.ComponentFactory.translateRemotableField(RemotableAttributeField)CORRECTNESSBC_IMPOSSIBLE_CAST434High
Possible null pointer dereference of component in org.kuali.rice.krad.uif.util.ComponentFactory.getNewInstanceForRefresh(View, String)CORRECTNESSNP_NULL_ON_SOME_PATH146Medium
Value of control from previous case is overwritten here due to switch statement fall throughCORRECTNESSSF_DEAD_STORE_DUE_TO_SWITCH_FALLTHROUGH481High
Switch statement found in org.kuali.rice.krad.uif.util.ComponentFactory.getControl(UifConstants$ControlType) where one case falls through to the next caseSTYLESF_SWITCH_FALLTHROUGH479High

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

BugCategoryDetailsLinePriority
Method org.kuali.rice.krad.uif.util.ComponentUtils.sort(List, int) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR393Medium
Method org.kuali.rice.krad.uif.util.ComponentUtils.updateContextForLine(Component, Object, int) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR352Medium

org.kuali.rice.krad.uif.util.ExpressionUtils

BugCategoryDetailsLinePriority
Dead store to defaultPathSet in org.kuali.rice.krad.uif.util.ExpressionUtils.adjustPropertyExpressions(View, Object)STYLEDLS_DEAD_LOCAL_STORE56Medium
Method org.kuali.rice.krad.uif.util.ExpressionUtils.processExpression(String, String) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION149Medium

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_ITERATOR108Medium

org.kuali.rice.krad.uif.util.ScriptUtils

BugCategoryDetailsLinePriority
Method org.kuali.rice.krad.uif.util.ScriptUtils.translateValue(Object) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION58Medium

org.kuali.rice.krad.uif.util.UifBeanFactoryPostProcessor

BugCategoryDetailsLinePriority
Method org.kuali.rice.krad.uif.util.UifBeanFactoryPostProcessor.removeExpressionsByPrefix(String, Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR373Medium

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

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

org.kuali.rice.krad.uif.view.History

BugCategoryDetailsLinePriority
Method org.kuali.rice.krad.uif.view.History.getGeneratedBreadcrumbs() concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION208Medium
Method org.kuali.rice.krad.uif.view.History.getGeneratedCurrentBreadcrumb() concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION241Medium
Method org.kuali.rice.krad.uif.view.History.getHistoryParameterString() concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION168Medium
Method org.kuali.rice.krad.uif.view.History.setCurrent(UifFormBase, HttpServletRequest) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION347Medium

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_CTOR121Medium
Method org.kuali.rice.krad.util.KRADUtils.buildMapParameterString(Map) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION284Medium

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
Unchecked/unconfirmed cast from org.kuali.rice.krad.web.form.UifFormBase to org.kuali.rice.krad.web.form.DocumentFormBase in org.kuali.rice.krad.web.controller.DocumentControllerBase.cancel(UifFormBase, BindingResult, HttpServletRequest, HttpServletResponse)STYLEBC_UNCONFIRMED_CAST236Medium
Unchecked/unconfirmed cast from org.kuali.rice.krad.web.form.UifFormBase to org.kuali.rice.krad.web.form.DocumentFormBase in org.kuali.rice.krad.web.controller.DocumentControllerBase.deleteNote(UifFormBase, BindingResult, HttpServletRequest, HttpServletResponse)STYLEBC_UNCONFIRMED_CAST552Medium
Unchecked/unconfirmed cast from org.kuali.rice.krad.web.form.UifFormBase to org.kuali.rice.krad.web.form.DocumentFormBase in org.kuali.rice.krad.web.controller.DocumentControllerBase.downloadAttachment(UifFormBase, BindingResult, HttpServletRequest, HttpServletResponse)STYLEBC_UNCONFIRMED_CAST595Medium
Unchecked/unconfirmed cast from org.kuali.rice.krad.web.form.UifFormBase to org.kuali.rice.krad.web.form.DocumentFormBase in org.kuali.rice.krad.web.controller.DocumentControllerBase.insertNote(UifFormBase, BindingResult, HttpServletRequest, HttpServletResponse)STYLEBC_UNCONFIRMED_CAST466Medium
org.kuali.rice.krad.web.controller.DocumentControllerBase.DOCUMENT_LOAD_COMMANDS should be package protectedMALICIOUS_CODEMS_PKGPROTECT98Medium

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_CAST57Medium

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_CAST106Medium
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_CAST75Medium

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_CAST130Medium
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_CAST116Medium
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_CTOR184Medium
Method org.kuali.rice.krad.web.controller.LookupController.returnSelected(LookupForm, BindingResult, HttpServletRequest, HttpServletResponse) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION230Medium

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_CAST75Medium
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_CAST124Medium

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_CTOR161Medium
org.kuali.rice.krad.web.form.LookupForm.processBooleanParameter(String) has Boolean return type and returns explicit nullBAD_PRACTICENP_BOOLEAN_RETURN_NULL163Medium

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