SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.8.6

Threshold is medium

Effort is default

Summary

Classes Bugs Errors Missing Classes
8 6 0 0

Files

Class Bugs
com.github.rhwood.jsplitbutton.JSplitButton 6

com.github.rhwood.jsplitbutton.JSplitButton

Bug Category Details Line Priority
com.github.rhwood.jsplitbutton.JSplitButton.getDisabledImage() may expose internal representation by returning JSplitButton.disabledImage MALICIOUS_CODE EI_EXPOSE_REP 302 Medium
com.github.rhwood.jsplitbutton.JSplitButton.getImage() may expose internal representation by returning JSplitButton.image MALICIOUS_CODE EI_EXPOSE_REP 276 Medium
com.github.rhwood.jsplitbutton.JSplitButton.getPopupMenu() may expose internal representation by returning JSplitButton.popupMenu MALICIOUS_CODE EI_EXPOSE_REP 137 Medium
com.github.rhwood.jsplitbutton.JSplitButton.setDisabledImage(Image) may expose internal representation by storing an externally mutable object into JSplitButton.disabledImage MALICIOUS_CODE EI_EXPOSE_REP2 349 Medium
com.github.rhwood.jsplitbutton.JSplitButton.setImage(Image) may expose internal representation by storing an externally mutable object into JSplitButton.image MALICIOUS_CODE EI_EXPOSE_REP2 291 Medium
com.github.rhwood.jsplitbutton.JSplitButton.setPopupMenu(JPopupMenu) may expose internal representation by storing an externally mutable object into JSplitButton.popupMenu MALICIOUS_CODE EI_EXPOSE_REP2 147 Medium