Apache MyFaces
UI-Component Sets
MyFaces Orchestra
Foundation

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
805400

org.apache.myfaces.examples.ballot.backings.BallotTopic

BugCategoryDetailsLinePriority
BallotTopic.itemDao not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORLow
BallotTopic.topic not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORLow
BallotTopic.topicDao not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORLow

org.apache.myfaces.examples.ballot.backings.BallotTopicVotes

BugCategoryDetailsLinePriority
BallotTopicVotes.itemDao not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORLow
BallotTopicVotes.topicDao not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORLow
BallotTopicVotes.voteDao not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORLow
BallotTopicVotes.voterDao not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORLow

org.apache.myfaces.examples.ballot.backings.BallotVoteTopic

BugCategoryDetailsLinePriority
BallotVoteTopic.itemDao not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORLow
BallotVoteTopic.itemInfos not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORLow
BallotVoteTopic.topicDao not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORLow
BallotVoteTopic.voteDao not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORLow
BallotVoteTopic.voterDao not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORLow

org.apache.myfaces.examples.ballot.backings.BallotVoter

BugCategoryDetailsLinePriority
BallotVoter.voterDao not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORLow

org.apache.myfaces.examples.ballot.dto.AddressDto

BugCategoryDetailsLinePriority
org.apache.myfaces.examples.ballot.dto.AddressDto is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID27Low

org.apache.myfaces.examples.ballot.dto.CompanyDto

BugCategoryDetailsLinePriority
org.apache.myfaces.examples.ballot.dto.CompanyDto is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID28Low

org.apache.myfaces.examples.ballot.dto.PersonDto

BugCategoryDetailsLinePriority
org.apache.myfaces.examples.ballot.dto.PersonDto is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID33Low

org.apache.myfaces.examples.ballot.model.Vote

BugCategoryDetailsLinePriority
org.apache.myfaces.examples.ballot.model.Vote.getChanged() may expose internal representation by returning Vote.changedMALICIOUS_CODEEI_EXPOSE_REP117Medium
org.apache.myfaces.examples.ballot.model.Vote.getCreated() may expose internal representation by returning Vote.createdMALICIOUS_CODEEI_EXPOSE_REP107Medium
org.apache.myfaces.examples.ballot.model.Vote.setChanged(Date) may expose internal representation by storing an externally mutable object into Vote.changedMALICIOUS_CODEEI_EXPOSE_REP2122Medium
org.apache.myfaces.examples.ballot.model.Vote.setCreated(Date) may expose internal representation by storing an externally mutable object into Vote.createdMALICIOUS_CODEEI_EXPOSE_REP2112Medium

org.apache.myfaces.examples.configurator.backings.ConfiguratorData

BugCategoryDetailsLinePriority
ConfiguratorData.componentDao not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORLow
ConfiguratorData.orderHeadDao not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORLow
ConfiguratorData.pieceDao not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORLow

org.apache.myfaces.examples.dynaForm.model.SimpleEntity

BugCategoryDetailsLinePriority
org.apache.myfaces.examples.dynaForm.model.SimpleEntity.getLastChanged() may expose internal representation by returning SimpleEntity.lastChangedMALICIOUS_CODEEI_EXPOSE_REP112Medium
org.apache.myfaces.examples.dynaForm.model.SimpleEntity.getStartDate() may expose internal representation by returning SimpleEntity.startDateMALICIOUS_CODEEI_EXPOSE_REP92Medium
org.apache.myfaces.examples.dynaForm.model.SimpleEntity.getStartTime() may expose internal representation by returning SimpleEntity.startTimeMALICIOUS_CODEEI_EXPOSE_REP102Medium
org.apache.myfaces.examples.dynaForm.model.SimpleEntity.setLastChanged(Date) may expose internal representation by storing an externally mutable object into SimpleEntity.lastChangedMALICIOUS_CODEEI_EXPOSE_REP2117Medium
org.apache.myfaces.examples.dynaForm.model.SimpleEntity.setStartDate(Date) may expose internal representation by storing an externally mutable object into SimpleEntity.startDateMALICIOUS_CODEEI_EXPOSE_REP297Medium
org.apache.myfaces.examples.dynaForm.model.SimpleEntity.setStartTime(Date) may expose internal representation by storing an externally mutable object into SimpleEntity.startTimeMALICIOUS_CODEEI_EXPOSE_REP2107Medium

org.apache.myfaces.examples.mops.backings.CustomerLogin

BugCategoryDetailsLinePriority
CustomerLogin.petstoreData not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORLow
CustomerLogin.shopCustomer not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORLow
CustomerLogin.shopCustomerDao not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORLow

org.apache.myfaces.examples.mops.backings.EditCustomerGroup

BugCategoryDetailsLinePriority
EditCustomerGroup.customerGroupDao not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORLow

org.apache.myfaces.examples.mops.backings.EditProduct

BugCategoryDetailsLinePriority
EditProduct.productDao not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORLow

org.apache.myfaces.examples.mops.backings.PetstoreData

BugCategoryDetailsLinePriority
PetstoreData.productDao not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORLow
PetstoreData.shopCustomerDao not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORLow

org.apache.myfaces.examples.mops.backings.ProductDetail

BugCategoryDetailsLinePriority
ProductDetail.petstoreData not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORLow
ProductDetail.productDao not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORLow
ProductDetail.productPriceDao not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORLow

org.apache.myfaces.examples.mops.backings.SearchProduct

BugCategoryDetailsLinePriority
SearchProduct.petstoreData not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORLow
SearchProduct.productDao not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORLow
SearchProduct.productPriceDao not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORLow

org.apache.myfaces.examples.mops.dao.CustomerGroupDao

BugCategoryDetailsLinePriority
Use of non-localized String.toUpperCase() or String.toLowerCaseI18NDM_CONVERT_CASE46Low

org.apache.myfaces.examples.mops.dao.CustomerGroupSuggest

BugCategoryDetailsLinePriority
CustomerGroupSuggest.customerGroupDao not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORLow

org.apache.myfaces.examples.mops.dao.ProductDao$1

BugCategoryDetailsLinePriority
Use of non-localized String.toUpperCase() or String.toLowerCaseI18NDM_CONVERT_CASE57Low
The class org.apache.myfaces.examples.mops.dao.ProductDao$1 could be refactored into a named _static_ inner classPERFORMANCESIC_INNER_SHOULD_BE_STATIC_ANON53Low

org.apache.myfaces.examples.mops.lib.CustomerGroupPkConverter

BugCategoryDetailsLinePriority
CustomerGroupPkConverter.customerGroupDao not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORLow

org.apache.myfaces.examples.mops.model.ProductPrice

BugCategoryDetailsLinePriority
org.apache.myfaces.examples.mops.model.ProductPrice.getValidFrom() may expose internal representation by returning ProductPrice.validFromMALICIOUS_CODEEI_EXPOSE_REP104Medium
org.apache.myfaces.examples.mops.model.ProductPrice.getValidTo() may expose internal representation by returning ProductPrice.validToMALICIOUS_CODEEI_EXPOSE_REP115Medium
org.apache.myfaces.examples.mops.model.ProductPrice.setValidFrom(Date) may expose internal representation by storing an externally mutable object into ProductPrice.validFromMALICIOUS_CODEEI_EXPOSE_REP2109Medium
org.apache.myfaces.examples.mops.model.ProductPrice.setValidTo(Date) may expose internal representation by storing an externally mutable object into ProductPrice.validToMALICIOUS_CODEEI_EXPOSE_REP2120Medium

org.apache.myfaces.examples.simple.backings.CompanyView

BugCategoryDetailsLinePriority
Class org.apache.myfaces.examples.simple.backings.CompanyView defines non-transient non-serializable instance field logBAD_PRACTICESE_BAD_FIELDMedium

org.apache.myfaces.examples.simple.model.Reservation

BugCategoryDetailsLinePriority
org.apache.myfaces.examples.simple.model.Reservation.getStart() may expose internal representation by returning Reservation.startMALICIOUS_CODEEI_EXPOSE_REP42Medium
org.apache.myfaces.examples.simple.model.Reservation.setStart(Date) may expose internal representation by storing an externally mutable object into Reservation.startMALICIOUS_CODEEI_EXPOSE_REP247Medium