The following document contains the results of FindBugs Report
FindBugs Version is 2.0.2
Threshold is low
Effort is max
Class | Bugs |
---|---|
org.lanyonm.playground.domain.Todo | 5 |
org.lanyonm.playground.web.controller.TodoController | 1 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.lanyonm.playground.domain.Todo.getDateCreated() may expose internal representation by returning Todo.dateCreated | MALICIOUS_CODE | EI_EXPOSE_REP | 44 | Medium |
org.lanyonm.playground.domain.Todo.getDateModified() may expose internal representation by returning Todo.dateModified | MALICIOUS_CODE | EI_EXPOSE_REP | 56 | Medium |
org.lanyonm.playground.domain.Todo.setDateCreated(Date) may expose internal representation by storing an externally mutable object into Todo.dateCreated | MALICIOUS_CODE | EI_EXPOSE_REP2 | 50 | Medium |
org.lanyonm.playground.domain.Todo.setDateModified(Date) may expose internal representation by storing an externally mutable object into Todo.dateModified | MALICIOUS_CODE | EI_EXPOSE_REP2 | 62 | Medium |
org.lanyonm.playground.domain.Todo defines equals and uses Object.hashCode() | BAD_PRACTICE | HE_EQUALS_USE_HASHCODE | 66-68 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Useless control flow in org.lanyonm.playground.web.controller.TodoController.todoDelete(int, Model) | STYLE | UCF_USELESS_CONTROL_FLOW | 91 | Low |