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
1856300

org.kuali.rice.kew.dto.ActionRequestDTO

BugCategoryDetailsLinePriority
org.kuali.rice.kew.dto.ActionRequestDTO.getChildrenRequests() may expose internal representation by returning ActionRequestDTO.childrenRequestsMALICIOUS_CODEEI_EXPOSE_REP310Medium
org.kuali.rice.kew.dto.ActionRequestDTO.setChildrenRequests(ActionRequestDTO[]) may expose internal representation by storing an externally mutable object into ActionRequestDTO.childrenRequestsMALICIOUS_CODEEI_EXPOSE_REP2313Medium

org.kuali.rice.kew.dto.ActionTakenDTO

BugCategoryDetailsLinePriority
org.kuali.rice.kew.dto.ActionTakenDTO.getActionRequests() may expose internal representation by returning ActionTakenDTO.actionRequestsMALICIOUS_CODEEI_EXPOSE_REP45Medium
org.kuali.rice.kew.dto.ActionTakenDTO.setActionRequests(ActionRequestDTO[]) may expose internal representation by storing an externally mutable object into ActionTakenDTO.actionRequestsMALICIOUS_CODEEI_EXPOSE_REP249Medium

org.kuali.rice.kew.dto.DocumentDetailDTO

BugCategoryDetailsLinePriority
org.kuali.rice.kew.dto.DocumentDetailDTO.getActionRequests() may expose internal representation by returning DocumentDetailDTO.actionRequestsMALICIOUS_CODEEI_EXPOSE_REP39Medium
org.kuali.rice.kew.dto.DocumentDetailDTO.getActionsTaken() may expose internal representation by returning DocumentDetailDTO.actionsTakenMALICIOUS_CODEEI_EXPOSE_REP47Medium
org.kuali.rice.kew.dto.DocumentDetailDTO.getNodeInstances() may expose internal representation by returning DocumentDetailDTO.nodeInstancesMALICIOUS_CODEEI_EXPOSE_REP55Medium
org.kuali.rice.kew.dto.DocumentDetailDTO.setActionRequests(ActionRequestDTO[]) may expose internal representation by storing an externally mutable object into DocumentDetailDTO.actionRequestsMALICIOUS_CODEEI_EXPOSE_REP243Medium
org.kuali.rice.kew.dto.DocumentDetailDTO.setActionsTaken(ActionTakenDTO[]) may expose internal representation by storing an externally mutable object into DocumentDetailDTO.actionsTakenMALICIOUS_CODEEI_EXPOSE_REP251Medium
org.kuali.rice.kew.dto.DocumentDetailDTO.setNodeInstances(RouteNodeInstanceDTO[]) may expose internal representation by storing an externally mutable object into DocumentDetailDTO.nodeInstancesMALICIOUS_CODEEI_EXPOSE_REP259Medium

org.kuali.rice.kew.dto.DocumentTypeDTO

BugCategoryDetailsLinePriority
Method new org.kuali.rice.kew.dto.DocumentTypeDTO() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR41Medium
org.kuali.rice.kew.dto.DocumentTypeDTO defines equals and uses Object.hashCode()BAD_PRACTICEHE_EQUALS_USE_HASHCODE221High
org.kuali.rice.kew.dto.DocumentTypeDTO.equals(Object) does not check for null argumentBAD_PRACTICENP_EQUALS_SHOULD_HANDLE_NULL_ARGUMENT221High

org.kuali.rice.kew.dto.ReportCriteriaDTO

BugCategoryDetailsLinePriority
org.kuali.rice.kew.dto.ReportCriteriaDTO.getActionsToTake() may expose internal representation by returning ReportCriteriaDTO.actionsToTakeMALICIOUS_CODEEI_EXPOSE_REP136Medium
org.kuali.rice.kew.dto.ReportCriteriaDTO.getNodeNames() may expose internal representation by returning ReportCriteriaDTO.nodeNamesMALICIOUS_CODEEI_EXPOSE_REP128Medium
org.kuali.rice.kew.dto.ReportCriteriaDTO.getRuleTemplateNames() may expose internal representation by returning ReportCriteriaDTO.ruleTemplateNamesMALICIOUS_CODEEI_EXPOSE_REP104Medium
org.kuali.rice.kew.dto.ReportCriteriaDTO.getTargetPrincipalIds() may expose internal representation by returning ReportCriteriaDTO.targetPrincipalIdsMALICIOUS_CODEEI_EXPOSE_REP112Medium
org.kuali.rice.kew.dto.ReportCriteriaDTO.setActionsToTake(ReportActionToTakeDTO[]) may expose internal representation by storing an externally mutable object into ReportCriteriaDTO.actionsToTakeMALICIOUS_CODEEI_EXPOSE_REP2140Medium
org.kuali.rice.kew.dto.ReportCriteriaDTO.setNodeNames(String[]) may expose internal representation by storing an externally mutable object into ReportCriteriaDTO.nodeNamesMALICIOUS_CODEEI_EXPOSE_REP2132Medium
org.kuali.rice.kew.dto.ReportCriteriaDTO.setRuleTemplateNames(String[]) may expose internal representation by storing an externally mutable object into ReportCriteriaDTO.ruleTemplateNamesMALICIOUS_CODEEI_EXPOSE_REP2108Medium
org.kuali.rice.kew.dto.ReportCriteriaDTO.setTargetPrincipalIds(String[]) may expose internal representation by storing an externally mutable object into ReportCriteriaDTO.targetPrincipalIdsMALICIOUS_CODEEI_EXPOSE_REP2116Medium

org.kuali.rice.kew.dto.RouteHeaderDTO

BugCategoryDetailsLinePriority
org.kuali.rice.kew.dto.RouteHeaderDTO.getNotes() may expose internal representation by returning RouteHeaderDTO.notesMALICIOUS_CODEEI_EXPOSE_REP266Medium
org.kuali.rice.kew.dto.RouteHeaderDTO.getNotesToDelete() may expose internal representation by returning RouteHeaderDTO.notesToDeleteMALICIOUS_CODEEI_EXPOSE_REP274Medium
org.kuali.rice.kew.dto.RouteHeaderDTO.setNotes(NoteDTO[]) may expose internal representation by storing an externally mutable object into RouteHeaderDTO.notesMALICIOUS_CODEEI_EXPOSE_REP2270Medium
org.kuali.rice.kew.dto.RouteHeaderDTO.setNotesToDelete(NoteDTO[]) may expose internal representation by storing an externally mutable object into RouteHeaderDTO.notesToDeleteMALICIOUS_CODEEI_EXPOSE_REP2278Medium

org.kuali.rice.kew.dto.RouteNodeDTO

BugCategoryDetailsLinePriority
Class org.kuali.rice.kew.dto.RouteNodeDTO implements Cloneable but does not define or use clone methodBAD_PRACTICECN_IDIOM37Medium
org.kuali.rice.kew.dto.RouteNodeDTO.getNextNodeIds() may expose internal representation by returning RouteNodeDTO.nextNodeIdsMALICIOUS_CODEEI_EXPOSE_REP79Medium
org.kuali.rice.kew.dto.RouteNodeDTO.getPreviousNodeIds() may expose internal representation by returning RouteNodeDTO.previousNodeIdsMALICIOUS_CODEEI_EXPOSE_REP91Medium
org.kuali.rice.kew.dto.RouteNodeDTO.setNextNodeIds(Long[]) may expose internal representation by storing an externally mutable object into RouteNodeDTO.nextNodeIdsMALICIOUS_CODEEI_EXPOSE_REP282Medium
org.kuali.rice.kew.dto.RouteNodeDTO.setPreviousNodeIds(Long[]) may expose internal representation by storing an externally mutable object into RouteNodeDTO.previousNodeIdsMALICIOUS_CODEEI_EXPOSE_REP294Medium

org.kuali.rice.kew.dto.RouteNodeInstanceDTO

BugCategoryDetailsLinePriority
org.kuali.rice.kew.dto.RouteNodeInstanceDTO.getNextNodes() may expose internal representation by returning RouteNodeInstanceDTO.nextNodesMALICIOUS_CODEEI_EXPOSE_REP114Medium
org.kuali.rice.kew.dto.RouteNodeInstanceDTO.getState() may expose internal representation by returning RouteNodeInstanceDTO.stateMALICIOUS_CODEEI_EXPOSE_REP97Medium
org.kuali.rice.kew.dto.RouteNodeInstanceDTO.setNextNodes(RouteNodeInstanceDTO[]) may expose internal representation by storing an externally mutable object into RouteNodeInstanceDTO.nextNodesMALICIOUS_CODEEI_EXPOSE_REP2118Medium
org.kuali.rice.kew.dto.RouteNodeInstanceDTO.setState(StateDTO[]) may expose internal representation by storing an externally mutable object into RouteNodeInstanceDTO.stateMALICIOUS_CODEEI_EXPOSE_REP2100Medium

org.kuali.rice.kew.dto.RoutePathDTO

BugCategoryDetailsLinePriority
org.kuali.rice.kew.dto.RoutePathDTO.getProcesses() may expose internal representation by returning RoutePathDTO.processesMALICIOUS_CODEEI_EXPOSE_REP33Medium
org.kuali.rice.kew.dto.RoutePathDTO.setProcesses(ProcessDTO[]) may expose internal representation by storing an externally mutable object into RoutePathDTO.processesMALICIOUS_CODEEI_EXPOSE_REP237Medium

org.kuali.rice.kew.dto.RuleDTO

BugCategoryDetailsLinePriority
org.kuali.rice.kew.dto.RuleDTO.getRuleExtensions() may expose internal representation by returning RuleDTO.ruleExtensionsMALICIOUS_CODEEI_EXPOSE_REP80Medium
org.kuali.rice.kew.dto.RuleDTO.getRuleResponsibilities() may expose internal representation by returning RuleDTO.ruleResponsibilitiesMALICIOUS_CODEEI_EXPOSE_REP103Medium
org.kuali.rice.kew.dto.RuleDTO.setRuleExtensions(RuleExtensionDTO[]) may expose internal representation by storing an externally mutable object into RuleDTO.ruleExtensionsMALICIOUS_CODEEI_EXPOSE_REP284Medium
org.kuali.rice.kew.dto.RuleDTO.setRuleResponsibilities(RuleResponsibilityDTO[]) may expose internal representation by storing an externally mutable object into RuleDTO.ruleResponsibilitiesMALICIOUS_CODEEI_EXPOSE_REP2107Medium

org.kuali.rice.kew.dto.RuleReportCriteriaDTO

BugCategoryDetailsLinePriority
org.kuali.rice.kew.dto.RuleReportCriteriaDTO.getActionRequestCodes() may expose internal representation by returning RuleReportCriteriaDTO.actionRequestCodesMALICIOUS_CODEEI_EXPOSE_REP38Medium
org.kuali.rice.kew.dto.RuleReportCriteriaDTO.getRuleExtensionVOs() may expose internal representation by returning RuleReportCriteriaDTO.ruleExtensionVOsMALICIOUS_CODEEI_EXPOSE_REP110Medium
org.kuali.rice.kew.dto.RuleReportCriteriaDTO.setActionRequestCodes(String[]) may expose internal representation by storing an externally mutable object into RuleReportCriteriaDTO.actionRequestCodesMALICIOUS_CODEEI_EXPOSE_REP242Medium
org.kuali.rice.kew.dto.RuleReportCriteriaDTO.setRuleExtensionVOs(RuleExtensionDTO[]) may expose internal representation by storing an externally mutable object into RuleReportCriteriaDTO.ruleExtensionVOsMALICIOUS_CODEEI_EXPOSE_REP2114Medium

org.kuali.rice.kew.dto.RuleResponsibilityDTO

BugCategoryDetailsLinePriority
org.kuali.rice.kew.dto.RuleResponsibilityDTO.getDelegationRules() may expose internal representation by returning RuleResponsibilityDTO.delegationRulesMALICIOUS_CODEEI_EXPOSE_REP60Medium
org.kuali.rice.kew.dto.RuleResponsibilityDTO.setDelegationRules(RuleDelegationDTO[]) may expose internal representation by storing an externally mutable object into RuleResponsibilityDTO.delegationRulesMALICIOUS_CODEEI_EXPOSE_REP264Medium

org.kuali.rice.kew.dto.UserIdDTO

BugCategoryDetailsLinePriority
Equals method for org.kuali.rice.kew.dto.UserIdDTO assumes the argument is of type UserIdDTOBAD_PRACTICEBC_EQUALS_METHOD_SHOULD_WORK_FOR_ALL_OBJECTS47Medium

org.kuali.rice.kew.dto.ValidActionsDTO

BugCategoryDetailsLinePriority
org.kuali.rice.kew.dto.ValidActionsDTO.getValidActionCodesAllowed() may expose internal representation by returning ValidActionsDTO.validActionCodesAllowedMALICIOUS_CODEEI_EXPOSE_REP35Medium
org.kuali.rice.kew.dto.ValidActionsDTO.setValidActionCodesAllowed(String[]) may expose internal representation by storing an externally mutable object into ValidActionsDTO.validActionCodesAllowedMALICIOUS_CODEEI_EXPOSE_REP239Medium

org.kuali.rice.kew.service.WorkflowDocument

BugCategoryDetailsLinePriority
Method org.kuali.rice.kew.service.WorkflowDocument.deleteNote(NoteDTO) invokes inefficient new Long(long) constructor; use Long.valueOf(long) insteadPERFORMANCEDM_NUMBER_CTOR1196Medium
Method org.kuali.rice.kew.service.WorkflowDocument.updateNote(NoteDTO) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR1244Medium
Method org.kuali.rice.kew.service.WorkflowDocument.updateNote(NoteDTO) invokes inefficient new Long(long) constructor; use Long.valueOf(long) insteadPERFORMANCEDM_NUMBER_CTOR1217Medium
org.kuali.rice.kew.service.WorkflowDocument.updateNote(NoteDTO) invokes inefficient new String(String) constructorPERFORMANCEDM_STRING_CTOR1227Medium
Possible null pointer dereference of activeNodeInstances in org.kuali.rice.kew.service.WorkflowDocument.getNodeNames()CORRECTNESSNP_NULL_ON_SOME_PATH1044High

org.kuali.rice.kew.service.WorkflowInfo

BugCategoryDetailsLinePriority
Possible null pointer dereference of currentNodeInstances in org.kuali.rice.kew.service.WorkflowInfo.getCurrentNodeNames(String)CORRECTNESSNP_NULL_ON_SOME_PATH356High

org.kuali.rice.kew.util.KEWConstants

BugCategoryDetailsLinePriority
Method org.kuali.rice.kew.util.KEWConstants.<static initializer>() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR293Medium
Method org.kuali.rice.kew.util.KEWConstants.<static initializer>() invokes inefficient new Long(long) constructor; use Long.valueOf(long) insteadPERFORMANCEDM_NUMBER_CTOR801Medium

org.kuali.rice.kns.dto.InactiveableInfo

BugCategoryDetailsLinePriority
org.kuali.rice.kns.dto.InactiveableInfo.getActiveAsOfDate() may expose internal representation by returning InactiveableInfo.activeAsOfDateMALICIOUS_CODEEI_EXPOSE_REP70Medium
org.kuali.rice.kns.dto.InactiveableInfo.getActiveFromDate() may expose internal representation by returning InactiveableInfo.activeFromDateMALICIOUS_CODEEI_EXPOSE_REP62Medium
org.kuali.rice.kns.dto.InactiveableInfo.getActiveToDate() may expose internal representation by returning InactiveableInfo.activeToDateMALICIOUS_CODEEI_EXPOSE_REP66Medium
org.kuali.rice.kns.dto.InactiveableInfo.setActiveAsOfDate(Date) may expose internal representation by storing an externally mutable object into InactiveableInfo.activeAsOfDateMALICIOUS_CODEEI_EXPOSE_REP258Medium
org.kuali.rice.kns.dto.InactiveableInfo.setActiveFromDate(Date) may expose internal representation by storing an externally mutable object into InactiveableInfo.activeFromDateMALICIOUS_CODEEI_EXPOSE_REP250Medium
org.kuali.rice.kns.dto.InactiveableInfo.setActiveToDate(Date) may expose internal representation by storing an externally mutable object into InactiveableInfo.activeToDateMALICIOUS_CODEEI_EXPOSE_REP254Medium