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
Files
org.apache.myfaces.examples.ballot.backings.BallotTopic
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| BallotTopic.itemDao not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Low | |
| BallotTopic.topic not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Low | |
| BallotTopic.topicDao not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Low |
org.apache.myfaces.examples.ballot.backings.BallotTopicVotes
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| BallotTopicVotes.itemDao not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Low | |
| BallotTopicVotes.topicDao not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Low | |
| BallotTopicVotes.voteDao not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Low | |
| BallotTopicVotes.voterDao not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Low |
org.apache.myfaces.examples.ballot.backings.BallotVoteTopic
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| BallotVoteTopic.itemDao not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Low | |
| BallotVoteTopic.itemInfos not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Low | |
| BallotVoteTopic.topicDao not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Low | |
| BallotVoteTopic.voteDao not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Low | |
| BallotVoteTopic.voterDao not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Low |
org.apache.myfaces.examples.ballot.backings.BallotVoter
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| BallotVoter.voterDao not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Low |
org.apache.myfaces.examples.ballot.dto.AddressDto
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.myfaces.examples.ballot.dto.AddressDto is Serializable; consider declaring a serialVersionUID | BAD_PRACTICE | SE_NO_SERIALVERSIONID | 27 | Low |
org.apache.myfaces.examples.ballot.dto.CompanyDto
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.myfaces.examples.ballot.dto.CompanyDto is Serializable; consider declaring a serialVersionUID | BAD_PRACTICE | SE_NO_SERIALVERSIONID | 28 | Low |
org.apache.myfaces.examples.ballot.dto.PersonDto
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.myfaces.examples.ballot.dto.PersonDto is Serializable; consider declaring a serialVersionUID | BAD_PRACTICE | SE_NO_SERIALVERSIONID | 33 | Low |
org.apache.myfaces.examples.ballot.model.Vote
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.myfaces.examples.ballot.model.Vote.getChanged() may expose internal representation by returning Vote.changed | MALICIOUS_CODE | EI_EXPOSE_REP | 117 | Medium |
| org.apache.myfaces.examples.ballot.model.Vote.getCreated() may expose internal representation by returning Vote.created | MALICIOUS_CODE | EI_EXPOSE_REP | 107 | Medium |
| org.apache.myfaces.examples.ballot.model.Vote.setChanged(Date) may expose internal representation by storing an externally mutable object into Vote.changed | MALICIOUS_CODE | EI_EXPOSE_REP2 | 122 | Medium |
| org.apache.myfaces.examples.ballot.model.Vote.setCreated(Date) may expose internal representation by storing an externally mutable object into Vote.created | MALICIOUS_CODE | EI_EXPOSE_REP2 | 112 | Medium |
org.apache.myfaces.examples.configurator.backings.ConfiguratorData
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| ConfiguratorData.componentDao not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Low | |
| ConfiguratorData.orderHeadDao not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Low | |
| ConfiguratorData.pieceDao not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Low |
org.apache.myfaces.examples.dynaForm.model.SimpleEntity
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.myfaces.examples.dynaForm.model.SimpleEntity.getLastChanged() may expose internal representation by returning SimpleEntity.lastChanged | MALICIOUS_CODE | EI_EXPOSE_REP | 112 | Medium |
| org.apache.myfaces.examples.dynaForm.model.SimpleEntity.getStartDate() may expose internal representation by returning SimpleEntity.startDate | MALICIOUS_CODE | EI_EXPOSE_REP | 92 | Medium |
| org.apache.myfaces.examples.dynaForm.model.SimpleEntity.getStartTime() may expose internal representation by returning SimpleEntity.startTime | MALICIOUS_CODE | EI_EXPOSE_REP | 102 | Medium |
| org.apache.myfaces.examples.dynaForm.model.SimpleEntity.setLastChanged(Date) may expose internal representation by storing an externally mutable object into SimpleEntity.lastChanged | MALICIOUS_CODE | EI_EXPOSE_REP2 | 117 | Medium |
| org.apache.myfaces.examples.dynaForm.model.SimpleEntity.setStartDate(Date) may expose internal representation by storing an externally mutable object into SimpleEntity.startDate | MALICIOUS_CODE | EI_EXPOSE_REP2 | 97 | Medium |
| org.apache.myfaces.examples.dynaForm.model.SimpleEntity.setStartTime(Date) may expose internal representation by storing an externally mutable object into SimpleEntity.startTime | MALICIOUS_CODE | EI_EXPOSE_REP2 | 107 | Medium |
org.apache.myfaces.examples.mops.backings.CustomerLogin
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| CustomerLogin.petstoreData not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Low | |
| CustomerLogin.shopCustomer not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Low | |
| CustomerLogin.shopCustomerDao not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Low |
org.apache.myfaces.examples.mops.backings.EditCustomerGroup
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| EditCustomerGroup.customerGroupDao not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Low |
org.apache.myfaces.examples.mops.backings.EditProduct
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| EditProduct.productDao not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Low |
org.apache.myfaces.examples.mops.backings.PetstoreData
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| PetstoreData.productDao not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Low | |
| PetstoreData.shopCustomerDao not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Low |
org.apache.myfaces.examples.mops.backings.ProductDetail
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| ProductDetail.petstoreData not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Low | |
| ProductDetail.productDao not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Low | |
| ProductDetail.productPriceDao not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Low |
org.apache.myfaces.examples.mops.backings.SearchProduct
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| SearchProduct.petstoreData not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Low | |
| SearchProduct.productDao not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Low | |
| SearchProduct.productPriceDao not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Low |
org.apache.myfaces.examples.mops.dao.CustomerGroupDao
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Use of non-localized String.toUpperCase() or String.toLowerCase | I18N | DM_CONVERT_CASE | 46 | Low |
org.apache.myfaces.examples.mops.dao.CustomerGroupSuggest
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| CustomerGroupSuggest.customerGroupDao not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Low |
org.apache.myfaces.examples.mops.dao.ProductDao$1
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Use of non-localized String.toUpperCase() or String.toLowerCase | I18N | DM_CONVERT_CASE | 57 | Low |
| The class org.apache.myfaces.examples.mops.dao.ProductDao$1 could be refactored into a named _static_ inner class | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC_ANON | 53 | Low |
org.apache.myfaces.examples.mops.lib.CustomerGroupPkConverter
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| CustomerGroupPkConverter.customerGroupDao not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Low |
org.apache.myfaces.examples.mops.model.ProductPrice
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.myfaces.examples.mops.model.ProductPrice.getValidFrom() may expose internal representation by returning ProductPrice.validFrom | MALICIOUS_CODE | EI_EXPOSE_REP | 104 | Medium |
| org.apache.myfaces.examples.mops.model.ProductPrice.getValidTo() may expose internal representation by returning ProductPrice.validTo | MALICIOUS_CODE | EI_EXPOSE_REP | 115 | Medium |
| org.apache.myfaces.examples.mops.model.ProductPrice.setValidFrom(Date) may expose internal representation by storing an externally mutable object into ProductPrice.validFrom | MALICIOUS_CODE | EI_EXPOSE_REP2 | 109 | Medium |
| org.apache.myfaces.examples.mops.model.ProductPrice.setValidTo(Date) may expose internal representation by storing an externally mutable object into ProductPrice.validTo | MALICIOUS_CODE | EI_EXPOSE_REP2 | 120 | Medium |
org.apache.myfaces.examples.simple.backings.CompanyView
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.myfaces.examples.simple.backings.CompanyView defines non-transient non-serializable instance field log | BAD_PRACTICE | SE_BAD_FIELD | Medium |
org.apache.myfaces.examples.simple.model.Reservation
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.myfaces.examples.simple.model.Reservation.getStart() may expose internal representation by returning Reservation.start | MALICIOUS_CODE | EI_EXPOSE_REP | 42 | Medium |
| org.apache.myfaces.examples.simple.model.Reservation.setStart(Date) may expose internal representation by storing an externally mutable object into Reservation.start | MALICIOUS_CODE | EI_EXPOSE_REP2 | 47 | Medium |