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 |
104 |
11 |
0 |
0 |
com.github.davidmoten.rtree2.RTree$Builder
Bug |
Category |
Details |
Line |
Priority |
com.github.davidmoten.rtree2.RTree$Builder.setDefaultCapacity() uses the same code for two branches |
STYLE |
DB_DUPLICATE_BRANCHES |
359 |
Medium |
com.github.davidmoten.rtree2.RTree$Builder$MidComparator
Bug |
Category |
Details |
Line |
Priority |
com.github.davidmoten.rtree2.RTree$Builder$MidComparator implements Comparator but not Serializable |
BAD_PRACTICE |
SE_COMPARATOR_SHOULD_BE_SERIALIZABLE |
410-428 |
Medium |
com.github.davidmoten.rtree2.Visualizer$1
Bug |
Category |
Details |
Line |
Priority |
Primitive is boxed to call Integer.compareTo(Integer): use Integer.compare(int, int) instead |
PERFORMANCE |
DM_BOXED_PRIMITIVE_FOR_COMPARE |
70 |
High |
com.github.davidmoten.rtree2.geometry.internal.CircleDouble
Bug |
Category |
Details |
Line |
Priority |
com.github.davidmoten.rtree2.geometry.internal.CircleDouble.equals(Object) is unusual |
STYLE |
EQ_UNUSUAL |
69-74 |
Medium |
com.github.davidmoten.rtree2.geometry.internal.CircleFloat
Bug |
Category |
Details |
Line |
Priority |
com.github.davidmoten.rtree2.geometry.internal.CircleFloat.equals(Object) is unusual |
STYLE |
EQ_UNUSUAL |
69-74 |
Medium |
com.github.davidmoten.rtree2.geometry.internal.LineDouble
Bug |
Category |
Details |
Line |
Priority |
com.github.davidmoten.rtree2.geometry.internal.LineDouble.equals(Object) is unusual |
STYLE |
EQ_UNUSUAL |
123-128 |
Medium |
com.github.davidmoten.rtree2.geometry.internal.LineFloat
Bug |
Category |
Details |
Line |
Priority |
com.github.davidmoten.rtree2.geometry.internal.LineFloat.equals(Object) is unusual |
STYLE |
EQ_UNUSUAL |
123-128 |
Medium |
com.github.davidmoten.rtree2.geometry.internal.RectangleDouble
Bug |
Category |
Details |
Line |
Priority |
com.github.davidmoten.rtree2.geometry.internal.RectangleDouble.equals(Object) is unusual |
STYLE |
EQ_UNUSUAL |
83-88 |
Medium |
com.github.davidmoten.rtree2.geometry.internal.RectangleFloat
Bug |
Category |
Details |
Line |
Priority |
com.github.davidmoten.rtree2.geometry.internal.RectangleFloat.equals(Object) is unusual |
STYLE |
EQ_UNUSUAL |
96-101 |
Medium |
com.github.davidmoten.rtree2.internal.EntryDefault
Bug |
Category |
Details |
Line |
Priority |
com.github.davidmoten.rtree2.internal.EntryDefault.equals(Object) is unusual |
STYLE |
EQ_UNUSUAL |
81-86 |
Medium |
com.github.davidmoten.rtree2.internal.util.ObjectsHelper
Bug |
Category |
Details |
Line |
Priority |
Return value of new ObjectsHelper() ignored, but method has no side effect |
STYLE |
RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT |
13 |
Medium |