The following document contains the results of FindBugs Report
FindBugs Version is 1.3.9
Threshold is medium
Effort is min
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.kuali.rice.kew.dto.ActionRequestDTO.getChildrenRequests() may expose internal representation by returning ActionRequestDTO.childrenRequests | MALICIOUS_CODE | EI_EXPOSE_REP | 313 | Medium |
org.kuali.rice.kew.dto.ActionRequestDTO.setChildrenRequests(ActionRequestDTO[]) may expose internal representation by storing an externally mutable object into ActionRequestDTO.childrenRequests | MALICIOUS_CODE | EI_EXPOSE_REP2 | 316 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.kuali.rice.kew.dto.ActionTakenDTO.getActionRequests() may expose internal representation by returning ActionTakenDTO.actionRequests | MALICIOUS_CODE | EI_EXPOSE_REP | 45 | Medium |
org.kuali.rice.kew.dto.ActionTakenDTO.setActionRequests(ActionRequestDTO[]) may expose internal representation by storing an externally mutable object into ActionTakenDTO.actionRequests | MALICIOUS_CODE | EI_EXPOSE_REP2 | 49 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.kuali.rice.kew.dto.DocumentDetailDTO.getActionRequests() may expose internal representation by returning DocumentDetailDTO.actionRequests | MALICIOUS_CODE | EI_EXPOSE_REP | 39 | Medium |
org.kuali.rice.kew.dto.DocumentDetailDTO.getActionsTaken() may expose internal representation by returning DocumentDetailDTO.actionsTaken | MALICIOUS_CODE | EI_EXPOSE_REP | 47 | Medium |
org.kuali.rice.kew.dto.DocumentDetailDTO.getNodeInstances() may expose internal representation by returning DocumentDetailDTO.nodeInstances | MALICIOUS_CODE | EI_EXPOSE_REP | 55 | Medium |
org.kuali.rice.kew.dto.DocumentDetailDTO.setActionRequests(ActionRequestDTO[]) may expose internal representation by storing an externally mutable object into DocumentDetailDTO.actionRequests | MALICIOUS_CODE | EI_EXPOSE_REP2 | 43 | Medium |
org.kuali.rice.kew.dto.DocumentDetailDTO.setActionsTaken(ActionTakenDTO[]) may expose internal representation by storing an externally mutable object into DocumentDetailDTO.actionsTaken | MALICIOUS_CODE | EI_EXPOSE_REP2 | 51 | Medium |
org.kuali.rice.kew.dto.DocumentDetailDTO.setNodeInstances(RouteNodeInstanceDTO[]) may expose internal representation by storing an externally mutable object into DocumentDetailDTO.nodeInstances | MALICIOUS_CODE | EI_EXPOSE_REP2 | 59 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.kuali.rice.kew.dto.ReportCriteriaDTO.getActionsToTake() may expose internal representation by returning ReportCriteriaDTO.actionsToTake | MALICIOUS_CODE | EI_EXPOSE_REP | 136 | Medium |
org.kuali.rice.kew.dto.ReportCriteriaDTO.getNodeNames() may expose internal representation by returning ReportCriteriaDTO.nodeNames | MALICIOUS_CODE | EI_EXPOSE_REP | 128 | Medium |
org.kuali.rice.kew.dto.ReportCriteriaDTO.getRuleTemplateNames() may expose internal representation by returning ReportCriteriaDTO.ruleTemplateNames | MALICIOUS_CODE | EI_EXPOSE_REP | 104 | Medium |
org.kuali.rice.kew.dto.ReportCriteriaDTO.getTargetPrincipalIds() may expose internal representation by returning ReportCriteriaDTO.targetPrincipalIds | MALICIOUS_CODE | EI_EXPOSE_REP | 112 | Medium |
org.kuali.rice.kew.dto.ReportCriteriaDTO.setActionsToTake(ReportActionToTakeDTO[]) may expose internal representation by storing an externally mutable object into ReportCriteriaDTO.actionsToTake | MALICIOUS_CODE | EI_EXPOSE_REP2 | 140 | Medium |
org.kuali.rice.kew.dto.ReportCriteriaDTO.setNodeNames(String[]) may expose internal representation by storing an externally mutable object into ReportCriteriaDTO.nodeNames | MALICIOUS_CODE | EI_EXPOSE_REP2 | 132 | Medium |
org.kuali.rice.kew.dto.ReportCriteriaDTO.setRuleTemplateNames(String[]) may expose internal representation by storing an externally mutable object into ReportCriteriaDTO.ruleTemplateNames | MALICIOUS_CODE | EI_EXPOSE_REP2 | 108 | Medium |
org.kuali.rice.kew.dto.ReportCriteriaDTO.setTargetPrincipalIds(String[]) may expose internal representation by storing an externally mutable object into ReportCriteriaDTO.targetPrincipalIds | MALICIOUS_CODE | EI_EXPOSE_REP2 | 116 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.kuali.rice.kew.dto.RouteHeaderDTO.getNotes() may expose internal representation by returning RouteHeaderDTO.notes | MALICIOUS_CODE | EI_EXPOSE_REP | 266 | Medium |
org.kuali.rice.kew.dto.RouteHeaderDTO.getNotesToDelete() may expose internal representation by returning RouteHeaderDTO.notesToDelete | MALICIOUS_CODE | EI_EXPOSE_REP | 274 | Medium |
org.kuali.rice.kew.dto.RouteHeaderDTO.setNotes(NoteDTO[]) may expose internal representation by storing an externally mutable object into RouteHeaderDTO.notes | MALICIOUS_CODE | EI_EXPOSE_REP2 | 270 | Medium |
org.kuali.rice.kew.dto.RouteHeaderDTO.setNotesToDelete(NoteDTO[]) may expose internal representation by storing an externally mutable object into RouteHeaderDTO.notesToDelete | MALICIOUS_CODE | EI_EXPOSE_REP2 | 278 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.kuali.rice.kew.dto.RouteNodeInstanceDTO.getNextNodes() may expose internal representation by returning RouteNodeInstanceDTO.nextNodes | MALICIOUS_CODE | EI_EXPOSE_REP | 114 | Medium |
org.kuali.rice.kew.dto.RouteNodeInstanceDTO.getState() may expose internal representation by returning RouteNodeInstanceDTO.state | MALICIOUS_CODE | EI_EXPOSE_REP | 97 | Medium |
org.kuali.rice.kew.dto.RouteNodeInstanceDTO.setNextNodes(RouteNodeInstanceDTO[]) may expose internal representation by storing an externally mutable object into RouteNodeInstanceDTO.nextNodes | MALICIOUS_CODE | EI_EXPOSE_REP2 | 118 | Medium |
org.kuali.rice.kew.dto.RouteNodeInstanceDTO.setState(StateDTO[]) may expose internal representation by storing an externally mutable object into RouteNodeInstanceDTO.state | MALICIOUS_CODE | EI_EXPOSE_REP2 | 100 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.kuali.rice.kew.dto.RuleDTO.getRuleExtensions() may expose internal representation by returning RuleDTO.ruleExtensions | MALICIOUS_CODE | EI_EXPOSE_REP | 80 | Medium |
org.kuali.rice.kew.dto.RuleDTO.getRuleResponsibilities() may expose internal representation by returning RuleDTO.ruleResponsibilities | MALICIOUS_CODE | EI_EXPOSE_REP | 103 | Medium |
org.kuali.rice.kew.dto.RuleDTO.setRuleExtensions(RuleExtensionDTO[]) may expose internal representation by storing an externally mutable object into RuleDTO.ruleExtensions | MALICIOUS_CODE | EI_EXPOSE_REP2 | 84 | Medium |
org.kuali.rice.kew.dto.RuleDTO.setRuleResponsibilities(RuleResponsibilityDTO[]) may expose internal representation by storing an externally mutable object into RuleDTO.ruleResponsibilities | MALICIOUS_CODE | EI_EXPOSE_REP2 | 107 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.kuali.rice.kew.dto.RuleReportCriteriaDTO.getActionRequestCodes() may expose internal representation by returning RuleReportCriteriaDTO.actionRequestCodes | MALICIOUS_CODE | EI_EXPOSE_REP | 38 | Medium |
org.kuali.rice.kew.dto.RuleReportCriteriaDTO.getRuleExtensionVOs() may expose internal representation by returning RuleReportCriteriaDTO.ruleExtensionVOs | MALICIOUS_CODE | EI_EXPOSE_REP | 110 | Medium |
org.kuali.rice.kew.dto.RuleReportCriteriaDTO.setActionRequestCodes(String[]) may expose internal representation by storing an externally mutable object into RuleReportCriteriaDTO.actionRequestCodes | MALICIOUS_CODE | EI_EXPOSE_REP2 | 42 | Medium |
org.kuali.rice.kew.dto.RuleReportCriteriaDTO.setRuleExtensionVOs(RuleExtensionDTO[]) may expose internal representation by storing an externally mutable object into RuleReportCriteriaDTO.ruleExtensionVOs | MALICIOUS_CODE | EI_EXPOSE_REP2 | 114 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.kuali.rice.kew.dto.RuleResponsibilityDTO.getDelegationRules() may expose internal representation by returning RuleResponsibilityDTO.delegationRules | MALICIOUS_CODE | EI_EXPOSE_REP | 60 | Medium |
org.kuali.rice.kew.dto.RuleResponsibilityDTO.setDelegationRules(RuleDelegationDTO[]) may expose internal representation by storing an externally mutable object into RuleResponsibilityDTO.delegationRules | MALICIOUS_CODE | EI_EXPOSE_REP2 | 64 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Equals method for org.kuali.rice.kew.dto.UserIdDTO assumes the argument is of type UserIdDTO | BAD_PRACTICE | BC_EQUALS_METHOD_SHOULD_WORK_FOR_ALL_OBJECTS | 47 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.kuali.rice.kew.dto.ValidActionsDTO.getValidActionCodesAllowed() may expose internal representation by returning ValidActionsDTO.validActionCodesAllowed | MALICIOUS_CODE | EI_EXPOSE_REP | 35 | Medium |
org.kuali.rice.kew.dto.ValidActionsDTO.setValidActionCodesAllowed(String[]) may expose internal representation by storing an externally mutable object into ValidActionsDTO.validActionCodesAllowed | MALICIOUS_CODE | EI_EXPOSE_REP2 | 39 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Possible null pointer dereference of currentNodeInstances in org.kuali.rice.kew.service.WorkflowInfo.getCurrentNodeNames(String) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 309 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Method org.kuali.rice.kew.util.KEWConstants.<static initializer>() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead | PERFORMANCE | DM_NUMBER_CTOR | 282 | Medium |
Method org.kuali.rice.kew.util.KEWConstants.<static initializer>() invokes inefficient new Long(long) constructor; use Long.valueOf(long) instead | PERFORMANCE | DM_NUMBER_CTOR | 746 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.kuali.rice.krad.dto.InactiveableInfo.getActiveAsOfDate() may expose internal representation by returning InactiveableInfo.activeAsOfDate | MALICIOUS_CODE | EI_EXPOSE_REP | 66 | Medium |
org.kuali.rice.krad.dto.InactiveableInfo.getActiveFromDate() may expose internal representation by returning InactiveableInfo.activeFromDate | MALICIOUS_CODE | EI_EXPOSE_REP | 58 | Medium |
org.kuali.rice.krad.dto.InactiveableInfo.getActiveToDate() may expose internal representation by returning InactiveableInfo.activeToDate | MALICIOUS_CODE | EI_EXPOSE_REP | 62 | Medium |
org.kuali.rice.krad.dto.InactiveableInfo.setActiveAsOfDate(Date) may expose internal representation by storing an externally mutable object into InactiveableInfo.activeAsOfDate | MALICIOUS_CODE | EI_EXPOSE_REP2 | 54 | Medium |
org.kuali.rice.krad.dto.InactiveableInfo.setActiveFromDate(Date) may expose internal representation by storing an externally mutable object into InactiveableInfo.activeFromDate | MALICIOUS_CODE | EI_EXPOSE_REP2 | 46 | Medium |
org.kuali.rice.krad.dto.InactiveableInfo.setActiveToDate(Date) may expose internal representation by storing an externally mutable object into InactiveableInfo.activeToDate | MALICIOUS_CODE | EI_EXPOSE_REP2 | 50 | Medium |