The following document contains the results of FindBugs Report
FindBugs Version is 1.3.2
Threshold is Low
Effort is Default
| Classes | Bugs | Errors | Missing Classes |
|---|---|---|---|
| 74 | 8 | 0 | 0 |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.restafarian.approval.beans.RequestForApproval.getDateTime() may expose internal representation by returning RequestForApproval.dateTime | MALICIOUS_CODE | EI_EXPOSE_REP | 137 | Medium |
| org.restafarian.approval.beans.RequestForApproval.setDateTime(Date) may expose internal representation by storing an externally mutable object into RequestForApproval.dateTime | MALICIOUS_CODE | EI_EXPOSE_REP2 | 141 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.restafarian.approval.beans.RequestForApprovalAction.getDateTime() may expose internal representation by returning RequestForApprovalAction.dateTime | MALICIOUS_CODE | EI_EXPOSE_REP | 25 | Medium |
| org.restafarian.approval.beans.RequestForApprovalAction.setDateTime(Date) may expose internal representation by storing an externally mutable object into RequestForApprovalAction.dateTime | MALICIOUS_CODE | EI_EXPOSE_REP2 | 28 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.restafarian.approval.data.RequestForApprovalManager.requestForApprovalQuery(Map, String) may fail to close database resource on exception | BAD_PRACTICE | ODR_OPEN_DATABASE_RESOURCE_EXCEPTION_PATH | 94 | Low |
| Method org.restafarian.approval.data.RequestForApprovalManager.requestForApprovalQuery(Map, String) passes a nonconstant String to an execute method on an SQL statement | SECURITY | SQL_NONCONSTANT_STRING_PASSED_TO_EXECUTE | 103 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception is caught when Exception is not thrown in org.restafarian.approval.data.RestServiceManager.post(String, Map, HttpServletRequest) | STYLE | REC_CATCH_EXCEPTION | 61 | Low |
| Method org.restafarian.approval.data.RestServiceManager.post(String, Map, HttpServletRequest) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 52 | Medium |