Fork me on GitHub

FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.1

Threshold is

Effort is max

Summary

Classes Bugs Errors Missing Classes
112 65 0 0

Files

Class Bugs
fr.paris.lutece.plugins.stock.business.attribute.AbstractAttributeDate 2
fr.paris.lutece.plugins.stock.business.attribute.AbstractAttributeDate_ 1
fr.paris.lutece.plugins.stock.business.attribute.AbstractAttributeNum_ 1
fr.paris.lutece.plugins.stock.business.attribute.AbstractAttribute_ 1
fr.paris.lutece.plugins.stock.business.attribute.category.CategoryAttributeDate 1
fr.paris.lutece.plugins.stock.business.attribute.offer.OfferAttributeDate 1
fr.paris.lutece.plugins.stock.business.attribute.offer_genre.OfferGenreAttributeDate 1
fr.paris.lutece.plugins.stock.business.attribute.product.ProductAttributeDate 1
fr.paris.lutece.plugins.stock.business.attribute.provider.ProviderAttributeDate 1
fr.paris.lutece.plugins.stock.business.attribute.purchase.PurchaseAttributeDate 1
fr.paris.lutece.plugins.stock.business.attribute.utils.AttributeDateUtils 1
fr.paris.lutece.plugins.stock.business.attribute.utils.AttributeNumUtils 1
fr.paris.lutece.plugins.stock.business.attribute.utils.AttributeUtils 1
fr.paris.lutece.plugins.stock.business.category.CategoryDAO 1
fr.paris.lutece.plugins.stock.business.category.Category_ 6
fr.paris.lutece.plugins.stock.business.offer.OfferDAO 4
fr.paris.lutece.plugins.stock.business.offer.OfferGenreDAO 2
fr.paris.lutece.plugins.stock.business.offer.OfferGenre_ 3
fr.paris.lutece.plugins.stock.business.offer.Offer_ 8
fr.paris.lutece.plugins.stock.business.product.ProductDAO 4
fr.paris.lutece.plugins.stock.business.product.ProductImageDAO 2
fr.paris.lutece.plugins.stock.business.product.Product_ 5
fr.paris.lutece.plugins.stock.business.provider.Provider_ 4
fr.paris.lutece.plugins.stock.business.purchase.PurchaseDAO 2
fr.paris.lutece.plugins.stock.business.purchase.PurchaseFilter 4
fr.paris.lutece.plugins.stock.business.purchase.Purchase_ 6

fr.paris.lutece.plugins.stock.business.attribute.AbstractAttributeDate

Bug Category Details Line Priority
fr.paris.lutece.plugins.stock.business.attribute.AbstractAttributeDate.getValue() may expose internal representation by returning AbstractAttributeDate._value MALICIOUS_CODE EI_EXPOSE_REP 90 Medium
fr.paris.lutece.plugins.stock.business.attribute.AbstractAttributeDate.setValue(Timestamp) may expose internal representation by storing an externally mutable object into AbstractAttributeDate._value MALICIOUS_CODE EI_EXPOSE_REP2 99 Medium

fr.paris.lutece.plugins.stock.business.attribute.AbstractAttributeDate_

Bug Category Details Line Priority
Unused public or protected field: fr.paris.lutece.plugins.stock.business.attribute.AbstractAttributeDate_.owner STYLE UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD Not available Medium
Unwritten public or protected field: fr.paris.lutece.plugins.stock.business.attribute.AbstractAttributeDate_.value STYLE UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD 77 Medium

fr.paris.lutece.plugins.stock.business.attribute.AbstractAttributeNum_

Bug Category Details Line Priority
Unused public or protected field: fr.paris.lutece.plugins.stock.business.attribute.AbstractAttributeNum_.owner STYLE UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD Not available Medium
Unwritten public or protected field: fr.paris.lutece.plugins.stock.business.attribute.AbstractAttributeNum_.value STYLE UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD 76 Medium

fr.paris.lutece.plugins.stock.business.attribute.AbstractAttribute_

Bug Category Details Line Priority
Unused public or protected field: fr.paris.lutece.plugins.stock.business.attribute.AbstractAttribute_.owner STYLE UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD Not available Medium
Unwritten public or protected field: fr.paris.lutece.plugins.stock.business.attribute.AbstractAttribute_.value STYLE UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD 75 Medium

fr.paris.lutece.plugins.stock.business.attribute.category.CategoryAttributeDate

Bug Category Details Line Priority
new fr.paris.lutece.plugins.stock.business.attribute.category.CategoryAttributeDate(String, Timestamp, Category) may expose internal representation by storing an externally mutable object into CategoryAttributeDate._value MALICIOUS_CODE EI_EXPOSE_REP2 80 Medium

fr.paris.lutece.plugins.stock.business.attribute.offer.OfferAttributeDate

Bug Category Details Line Priority
new fr.paris.lutece.plugins.stock.business.attribute.offer.OfferAttributeDate(String, Timestamp, Offer) may expose internal representation by storing an externally mutable object into OfferAttributeDate._value MALICIOUS_CODE EI_EXPOSE_REP2 77 Medium

fr.paris.lutece.plugins.stock.business.attribute.offer_genre.OfferGenreAttributeDate

Bug Category Details Line Priority
new fr.paris.lutece.plugins.stock.business.attribute.offer_genre.OfferGenreAttributeDate(String, Timestamp, OfferGenre) may expose internal representation by storing an externally mutable object into OfferGenreAttributeDate._value MALICIOUS_CODE EI_EXPOSE_REP2 77 Medium

fr.paris.lutece.plugins.stock.business.attribute.product.ProductAttributeDate

Bug Category Details Line Priority
new fr.paris.lutece.plugins.stock.business.attribute.product.ProductAttributeDate(String, Timestamp, Product) may expose internal representation by storing an externally mutable object into ProductAttributeDate._value MALICIOUS_CODE EI_EXPOSE_REP2 78 Medium

fr.paris.lutece.plugins.stock.business.attribute.provider.ProviderAttributeDate

Bug Category Details Line Priority
new fr.paris.lutece.plugins.stock.business.attribute.provider.ProviderAttributeDate(String, Timestamp, Provider) may expose internal representation by storing an externally mutable object into ProviderAttributeDate._value MALICIOUS_CODE EI_EXPOSE_REP2 78 Medium

fr.paris.lutece.plugins.stock.business.attribute.purchase.PurchaseAttributeDate

Bug Category Details Line Priority
new fr.paris.lutece.plugins.stock.business.attribute.purchase.PurchaseAttributeDate(String, Timestamp, Purchase) may expose internal representation by storing an externally mutable object into PurchaseAttributeDate._value MALICIOUS_CODE EI_EXPOSE_REP2 78 Medium

fr.paris.lutece.plugins.stock.business.attribute.utils.AttributeDateUtils

Bug Category Details Line Priority

fr.paris.lutece.plugins.stock.business.attribute.utils.AttributeNumUtils

Bug Category Details Line Priority

fr.paris.lutece.plugins.stock.business.attribute.utils.AttributeUtils

Bug Category Details Line Priority

fr.paris.lutece.plugins.stock.business.category.CategoryDAO

Bug Category Details Line Priority
Return value of java.util.Set.size() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 191 Medium

fr.paris.lutece.plugins.stock.business.category.Category_

Bug Category Details Line Priority
Unused public or protected field: fr.paris.lutece.plugins.stock.business.category.Category_.attributeDateList STYLE UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD Not available Medium
Unused public or protected field: fr.paris.lutece.plugins.stock.business.category.Category_.attributeList STYLE UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD Not available Medium
Unused public or protected field: fr.paris.lutece.plugins.stock.business.category.Category_.attributeNumList STYLE UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD Not available Medium
Unused public or protected field: fr.paris.lutece.plugins.stock.business.category.Category_.description STYLE UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD Not available Medium
Unused public or protected field: fr.paris.lutece.plugins.stock.business.category.Category_.hashCode STYLE UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD Not available Medium
Unused public or protected field: fr.paris.lutece.plugins.stock.business.category.Category_.provider STYLE UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD Not available Medium

fr.paris.lutece.plugins.stock.business.offer.OfferDAO

Bug Category Details Line Priority

fr.paris.lutece.plugins.stock.business.offer.OfferGenreDAO

Bug Category Details Line Priority

fr.paris.lutece.plugins.stock.business.offer.OfferGenre_

Bug Category Details Line Priority
Unused public or protected field: fr.paris.lutece.plugins.stock.business.offer.OfferGenre_.attributeDateList STYLE UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD Not available Medium
Unused public or protected field: fr.paris.lutece.plugins.stock.business.offer.OfferGenre_.attributeList STYLE UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD Not available Medium
Unused public or protected field: fr.paris.lutece.plugins.stock.business.offer.OfferGenre_.attributeNumList STYLE UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD Not available Medium
Unwritten public or protected field: fr.paris.lutece.plugins.stock.business.offer.OfferGenre_.id STYLE UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD 135 Medium
Unwritten public or protected field: fr.paris.lutece.plugins.stock.business.offer.OfferGenre_.name STYLE UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD 116 Medium
Unwritten public or protected field: fr.paris.lutece.plugins.stock.business.offer.OfferGenre_.offersList STYLE UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD 74 Medium

fr.paris.lutece.plugins.stock.business.offer.Offer_

Bug Category Details Line Priority
Unused public or protected field: fr.paris.lutece.plugins.stock.business.offer.Offer_.attributeDateList STYLE UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD Not available Medium
Unused public or protected field: fr.paris.lutece.plugins.stock.business.offer.Offer_.attributeList STYLE UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD Not available Medium
Unused public or protected field: fr.paris.lutece.plugins.stock.business.offer.Offer_.attributeNumList STYLE UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD Not available Medium
Unused public or protected field: fr.paris.lutece.plugins.stock.business.offer.Offer_.description STYLE UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD Not available Medium
Unused public or protected field: fr.paris.lutece.plugins.stock.business.offer.Offer_.maxTickets STYLE UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD Not available Medium
Unused public or protected field: fr.paris.lutece.plugins.stock.business.offer.Offer_.minTickets STYLE UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD Not available Medium
Unused public or protected field: fr.paris.lutece.plugins.stock.business.offer.Offer_.quantity STYLE UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD Not available Medium
Unused public or protected field: fr.paris.lutece.plugins.stock.business.offer.Offer_.statut STYLE UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD Not available Medium
Unwritten public or protected field: fr.paris.lutece.plugins.stock.business.offer.Offer_.id STYLE UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD 145 Medium
Unwritten public or protected field: fr.paris.lutece.plugins.stock.business.offer.Offer_.name STYLE UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD 131 Medium
Unwritten public or protected field: fr.paris.lutece.plugins.stock.business.offer.Offer_.product STYLE UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD 121 Medium
Unwritten public or protected field: fr.paris.lutece.plugins.stock.business.offer.Offer_.type STYLE UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD 122 Medium

fr.paris.lutece.plugins.stock.business.product.ProductDAO

Bug Category Details Line Priority

fr.paris.lutece.plugins.stock.business.product.ProductImageDAO

Bug Category Details Line Priority
Return value of javax.persistence.Query.executeUpdate() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 124 Medium
Return value of javax.persistence.Query.executeUpdate() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 86 Medium

fr.paris.lutece.plugins.stock.business.product.Product_

Bug Category Details Line Priority
Unused public or protected field: fr.paris.lutece.plugins.stock.business.product.Product_.attributeDateList STYLE UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD Not available Medium
Unused public or protected field: fr.paris.lutece.plugins.stock.business.product.Product_.attributeList STYLE UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD Not available Medium
Unused public or protected field: fr.paris.lutece.plugins.stock.business.product.Product_.attributeNumList STYLE UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD Not available Medium
Unused public or protected field: fr.paris.lutece.plugins.stock.business.product.Product_.description STYLE UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD Not available Medium
Unused public or protected field: fr.paris.lutece.plugins.stock.business.product.Product_.price STYLE UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD Not available Medium
Unwritten public or protected field: fr.paris.lutece.plugins.stock.business.product.Product_.category STYLE UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD 185 Medium
Unwritten public or protected field: fr.paris.lutece.plugins.stock.business.product.Product_.id STYLE UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD 155 Medium
Unwritten public or protected field: fr.paris.lutece.plugins.stock.business.product.Product_.name STYLE UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD 180 Medium
Unwritten public or protected field: fr.paris.lutece.plugins.stock.business.product.Product_.provider STYLE UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD 190 Medium

fr.paris.lutece.plugins.stock.business.provider.Provider_

Bug Category Details Line Priority
Unused public or protected field: fr.paris.lutece.plugins.stock.business.provider.Provider_.attributeDateList STYLE UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD Not available Medium
Unused public or protected field: fr.paris.lutece.plugins.stock.business.provider.Provider_.attributeList STYLE UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD Not available Medium
Unused public or protected field: fr.paris.lutece.plugins.stock.business.provider.Provider_.attributeNumList STYLE UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD Not available Medium
Unused public or protected field: fr.paris.lutece.plugins.stock.business.provider.Provider_.comment STYLE UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD Not available Medium

fr.paris.lutece.plugins.stock.business.purchase.PurchaseDAO

Bug Category Details Line Priority

fr.paris.lutece.plugins.stock.business.purchase.PurchaseFilter

Bug Category Details Line Priority
fr.paris.lutece.plugins.stock.business.purchase.PurchaseFilter.getDateBeginOffer() may expose internal representation by returning PurchaseFilter._dateBeginOffer MALICIOUS_CODE EI_EXPOSE_REP 252 Medium
fr.paris.lutece.plugins.stock.business.purchase.PurchaseFilter.getDateEndOffer() may expose internal representation by returning PurchaseFilter._dateEndOffer MALICIOUS_CODE EI_EXPOSE_REP 273 Medium
fr.paris.lutece.plugins.stock.business.purchase.PurchaseFilter.setDateBeginOffer(Timestamp) may expose internal representation by storing an externally mutable object into PurchaseFilter._dateBeginOffer MALICIOUS_CODE EI_EXPOSE_REP2 242 Medium
fr.paris.lutece.plugins.stock.business.purchase.PurchaseFilter.setDateEndOffer(Timestamp) may expose internal representation by storing an externally mutable object into PurchaseFilter._dateEndOffer MALICIOUS_CODE EI_EXPOSE_REP2 263 Medium

fr.paris.lutece.plugins.stock.business.purchase.Purchase_

Bug Category Details Line Priority
Unused public or protected field: fr.paris.lutece.plugins.stock.business.purchase.Purchase_.attributeDateList STYLE UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD Not available Medium
Unused public or protected field: fr.paris.lutece.plugins.stock.business.purchase.Purchase_.attributeList STYLE UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD Not available Medium
Unused public or protected field: fr.paris.lutece.plugins.stock.business.purchase.Purchase_.attributeNumList STYLE UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD Not available Medium
Unused public or protected field: fr.paris.lutece.plugins.stock.business.purchase.Purchase_.id STYLE UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD Not available Medium
Unused public or protected field: fr.paris.lutece.plugins.stock.business.purchase.Purchase_.quantity STYLE UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD Not available Medium
Unused public or protected field: fr.paris.lutece.plugins.stock.business.purchase.Purchase_.userName STYLE UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD Not available Medium
Unwritten public or protected field: fr.paris.lutece.plugins.stock.business.purchase.Purchase_.offer STYLE UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD 124 Medium