FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.3.9

Threshold is low

Effort is min

Summary

ClassesBugsErrorsMissing Classes
51200

org.apache.myfaces.examples.dynaForm.lib.Person

BugCategoryDetailsLinePriority
Equals method for org.apache.myfaces.examples.dynaForm.lib.Person assumes the argument is of type PersonBAD_PRACTICEBC_EQUALS_METHOD_SHOULD_WORK_FOR_ALL_OBJECTS125Medium
org.apache.myfaces.examples.dynaForm.lib.Person.getBirthday() may expose internal representation by returning Person.birthdayMALICIOUS_CODEEI_EXPOSE_REP84Medium
org.apache.myfaces.examples.dynaForm.lib.Person.getCreationDate() may expose internal representation by returning Person.creationDateMALICIOUS_CODEEI_EXPOSE_REP73Medium
org.apache.myfaces.examples.dynaForm.lib.Person.setBirthday(Date) may expose internal representation by storing an externally mutable object into Person.birthdayMALICIOUS_CODEEI_EXPOSE_REP289Medium
org.apache.myfaces.examples.dynaForm.lib.Person.setCreationDate(Date) may expose internal representation by storing an externally mutable object into Person.creationDateMALICIOUS_CODEEI_EXPOSE_REP278Medium
org.apache.myfaces.examples.dynaForm.lib.Person defines equals and uses Object.hashCode()BAD_PRACTICEHE_EQUALS_USE_HASHCODE125High
org.apache.myfaces.examples.dynaForm.lib.Person.equals(Object) does not check for null argumentBAD_PRACTICENP_EQUALS_SHOULD_HANDLE_NULL_ARGUMENT125High
org.apache.myfaces.examples.dynaForm.lib.Person is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID28Low
Person.id not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORLow

org.apache.myfaces.examples.dynaForm.lib.PersonRelation

BugCategoryDetailsLinePriority
org.apache.myfaces.examples.dynaForm.lib.PersonRelation.getLiveTogetherSince() may expose internal representation by returning PersonRelation.liveTogetherSinceMALICIOUS_CODEEI_EXPOSE_REP74Medium
org.apache.myfaces.examples.dynaForm.lib.PersonRelation.setLiveTogetherSince(Date) may expose internal representation by storing an externally mutable object into PersonRelation.liveTogetherSinceMALICIOUS_CODEEI_EXPOSE_REP279Medium
org.apache.myfaces.examples.dynaForm.lib.PersonRelation is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID32Low