SpotBugs Bug Detector Report
The following document contains the results of SpotBugs
SpotBugs Version is 4.9.1
Threshold is medium
Effort is default
Summary
| Classes |
Bugs |
Errors |
Missing Classes |
| 13 |
8 |
0 |
0 |
org.djutils.swing.multislider.AbstractMultiSlider
| Bug |
Category |
Details |
Line |
Priority |
| Exception thrown in class org.djutils.swing.multislider.AbstractMultiSlider at new org.djutils.swing.multislider.AbstractMultiSlider(int, int, boolean, int[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. |
BAD_PRACTICE |
CT_CONSTRUCTOR_THROW |
123 |
Medium |
org.djutils.swing.multislider.AbstractMultiSlider$DispatcherPane
| Bug |
Category |
Details |
Line |
Priority |
| new org.djutils.swing.multislider.AbstractMultiSlider$DispatcherPane(AbstractMultiSlider) may expose internal representation by storing an externally mutable object into AbstractMultiSlider$DispatcherPane.multiSlider |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
1513 |
Medium |
org.djutils.swing.multislider.AbstractMultiSlider$LabelPanel
| Bug |
Category |
Details |
Line |
Priority |
| new org.djutils.swing.multislider.AbstractMultiSlider$LabelPanel(AbstractMultiSlider) may expose internal representation by storing an externally mutable object into AbstractMultiSlider$LabelPanel.multiSlider |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
1620 |
Medium |
org.djutils.swing.multislider.CategorialMultiSlider
| Bug |
Category |
Details |
Line |
Priority |
| Exception thrown in class org.djutils.swing.multislider.CategorialMultiSlider at new org.djutils.swing.multislider.CategorialMultiSlider(List, Object[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. |
BAD_PRACTICE |
CT_CONSTRUCTOR_THROW |
45 |
Medium |
| Exception thrown in class org.djutils.swing.multislider.CategorialMultiSlider at new org.djutils.swing.multislider.CategorialMultiSlider(boolean, List, Object[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. |
BAD_PRACTICE |
CT_CONSTRUCTOR_THROW |
60 |
Medium |
| org.djutils.immutablecollections.ImmutableArrayList stored into non-transient field CategorialMultiSlider.scale |
BAD_PRACTICE |
SE_BAD_FIELD_STORE |
61 |
Medium |
org.djutils.swing.multislider.LinearMultiSlider
| Bug |
Category |
Details |
Line |
Priority |
| Exception thrown in class org.djutils.swing.multislider.LinearMultiSlider at new org.djutils.swing.multislider.LinearMultiSlider(Number, Number, int, boolean, Number[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. |
BAD_PRACTICE |
CT_CONSTRUCTOR_THROW |
66 |
Medium |
| Exception thrown in class org.djutils.swing.multislider.LinearMultiSlider at new org.djutils.swing.multislider.LinearMultiSlider(Number, Number, int, Number[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. |
BAD_PRACTICE |
CT_CONSTRUCTOR_THROW |
49 |
Medium |