FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.1

Threshold is medium

Effort is max

Summary

Classes Bugs Errors Missing Classes
20 12 0 0

info.ejava.examples.ejb.cdisales.bo.Member

Bug Category Details Line Priority
Null passed for non-null parameter of String.compareTo(String) in info.ejava.examples.ejb.cdisales.bo.Member.compareTo(Member) CORRECTNESS NP_NULL_PARAM_DEREF_ALL_TARGETS_DANGEROUS 58 Medium

info.ejava.examples.ejb.cdisales.bo.Product

Bug Category Details Line Priority
info.ejava.examples.ejb.cdisales.bo.Product.getDateCreated() may expose internal representation by returning Product.dateCreated MALICIOUS_CODE EI_EXPOSE_REP 66 Medium

info.ejava.examples.ejb.cdisales.bo.Product$ProductASC

Bug Category Details Line Priority
Possible null pointer dereference of rhs on branch that might be infeasible in info.ejava.examples.ejb.cdisales.bo.Product$ProductASC.compare(Product, Product) STYLE NP_NULL_ON_SOME_PATH_MIGHT_BE_INFEASIBLE 115 Medium
info.ejava.examples.ejb.cdisales.bo.Product$ProductASC implements Comparator but not Serializable BAD_PRACTICE SE_COMPARATOR_SHOULD_BE_SERIALIZABLE 109-121 Medium

info.ejava.examples.ejb.cdisales.bo.ProductCategory

Bug Category Details Line Priority
Redundant nullcheck of pc, which is known to be non-null in info.ejava.examples.ejb.cdisales.bo.ProductCategory.fromString(String) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 17 Medium

info.ejava.examples.ejb.cdisales.web.SellerController

Bug Category Details Line Priority
Class info.ejava.examples.ejb.cdisales.web.SellerController defines non-transient non-serializable instance field addCommand BAD_PRACTICE SE_BAD_FIELD Not available High
Class info.ejava.examples.ejb.cdisales.web.SellerController defines non-transient non-serializable instance field form BAD_PRACTICE SE_BAD_FIELD Not available High
Class info.ejava.examples.ejb.cdisales.web.SellerController defines non-transient non-serializable instance field product BAD_PRACTICE SE_BAD_FIELD Not available High
Class info.ejava.examples.ejb.cdisales.web.SellerController defines non-transient non-serializable instance field products BAD_PRACTICE SE_BAD_FIELD Not available High
Class info.ejava.examples.ejb.cdisales.web.SellerController defines non-transient non-serializable instance field tableForm BAD_PRACTICE SE_BAD_FIELD Not available High
Class info.ejava.examples.ejb.cdisales.web.SellerController defines non-transient non-serializable instance field catalog BAD_PRACTICE SE_BAD_FIELD Not available Medium
Class info.ejava.examples.ejb.cdisales.web.SellerController defines non-transient non-serializable instance field conversation BAD_PRACTICE SE_BAD_FIELD Not available Medium