FindBugs Bug Detector Report
The following document contains the results of FindBugs Report
FindBugs Version is 1.3.7
Threshold is Low
Effort is Max
Summary
Classes |
Bugs |
Errors |
Missing Classes |
249 |
8 |
0 |
0 |
org.perfectjpattern.core.behavioral.chainofresponsibility.Application$1
Bug |
Category |
Details |
Line |
Priority |
The class org.perfectjpattern.core.behavioral.chainofresponsibility.Application$1 could be refactored into a named _static_ inner class |
PERFORMANCE |
SIC_INNER_SHOULD_BE_STATIC_ANON |
75-90 |
Low |
org.perfectjpattern.core.behavioral.chainofresponsibility.Application$2
Bug |
Category |
Details |
Line |
Priority |
The class org.perfectjpattern.core.behavioral.chainofresponsibility.Application$2 could be refactored into a named _static_ inner class |
PERFORMANCE |
SIC_INNER_SHOULD_BE_STATIC_ANON |
99-114 |
Low |
org.perfectjpattern.core.behavioral.visitor.Car
Bug |
Category |
Details |
Line |
Priority |
org.perfectjpattern.core.behavioral.visitor.Car.getWheels() may expose internal representation by returning Car.theWheels |
MALICIOUS_CODE |
EI_EXPOSE_REP |
55 |
Medium |
org.perfectjpattern.core.structural.adapter.Example
Bug |
Category |
Details |
Line |
Priority |
org.perfectjpattern.core.structural.adapter.Example.main(String[]) ignores exceptional return value of java.util.Queue.offer(Object) |
BAD_PRACTICE |
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE |
62 |
Low |
org.perfectjpattern.core.structural.decorator.Example
Bug |
Category |
Details |
Line |
Priority |
Call to equals() comparing unrelated class and interface in org.perfectjpattern.core.structural.decorator.Example.main(String[]) |
CORRECTNESS |
EC_UNRELATED_CLASS_AND_INTERFACE |
54 |
Medium |
org.perfectjpattern.example.datamodel.Order
Bug |
Category |
Details |
Line |
Priority |
org.perfectjpattern.example.datamodel.Order.getDate() may expose internal representation by returning Order.theDate |
MALICIOUS_CODE |
EI_EXPOSE_REP |
79 |
Medium |
new org.perfectjpattern.example.datamodel.Order(Customer, Date, Set) may expose internal representation by storing an externally mutable object into Order.theDate |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
48 |
Medium |
org.perfectjpattern.example.datamodel.Order.setDate(Date) may expose internal representation by storing an externally mutable object into Order.theDate |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
89 |
Medium |