The following document contains the results of FindBugs Report
FindBugs Version is 1.2.0
Threshold is Low
Effort is Default
| Classes | Bugs | Errors | Missing Classes |
|---|---|---|---|
| 859 | 158 | 0 | 0 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Dead store to midletString in org.microemu.app.Main.main(String[]) | STYLE | DLS_DEAD_LOCAL_STORE | 904 |
| Dead store of null to midletString in org.microemu.app.Main.main(String[]) | STYLE | DLS_DEAD_LOCAL_STORE_OF_NULL | 906 |
| Class org.microemu.app.Main defines non-transient non-serializable instance field common | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| Class org.microemu.app.Main defines non-transient non-serializable instance field componentListener | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| Class org.microemu.app.Main defines non-transient non-serializable instance field deviceEntry | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| Class org.microemu.app.Main defines non-transient non-serializable instance field emulatorContext | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| Class org.microemu.app.Main defines non-transient non-serializable instance field encoder | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| Class org.microemu.app.Main defines non-transient non-serializable instance field logQueueAppender | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| Class org.microemu.app.Main defines non-transient non-serializable instance field menuAboutListener | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| Class org.microemu.app.Main defines non-transient non-serializable instance field menuCloseMidletListener | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| Class org.microemu.app.Main defines non-transient non-serializable instance field menuExitListener | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| Class org.microemu.app.Main defines non-transient non-serializable instance field menuLogConsoleListener | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| Class org.microemu.app.Main defines non-transient non-serializable instance field menuMIDletNetworkConnectionListener | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| Class org.microemu.app.Main defines non-transient non-serializable instance field menuOpenJADFileListener | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| Class org.microemu.app.Main defines non-transient non-serializable instance field menuOpenJADURLListener | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| Class org.microemu.app.Main defines non-transient non-serializable instance field menuRecordStoreManagerListener | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| Class org.microemu.app.Main defines non-transient non-serializable instance field menuSaveForWebListener | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| Class org.microemu.app.Main defines non-transient non-serializable instance field menuSelectDeviceListener | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| Class org.microemu.app.Main defines non-transient non-serializable instance field menuStartCaptureListener | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| Class org.microemu.app.Main defines non-transient non-serializable instance field menuStopCaptureListener | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| Class org.microemu.app.Main defines non-transient non-serializable instance field responseInterfaceListener | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| Class org.microemu.app.Main defines non-transient non-serializable instance field statusBarListener | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| Class org.microemu.app.Main defines non-transient non-serializable instance field windowListener | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| org.microemu.app.Main$16 stored into non-transient field Main.componentListener | BAD_PRACTICE | SE_BAD_FIELD_STORE | 566 |
| org.microemu.app.Main$1 stored into non-transient field Main.emulatorContext | BAD_PRACTICE | SE_BAD_FIELD_STORE | 161 |
| org.microemu.app.Main$11 stored into non-transient field Main.menuAboutListener | BAD_PRACTICE | SE_BAD_FIELD_STORE | 479 |
| org.microemu.app.Main$4 stored into non-transient field Main.menuCloseMidletListener | BAD_PRACTICE | SE_BAD_FIELD_STORE | 229 |
| org.microemu.app.Main$12 stored into non-transient field Main.menuExitListener | BAD_PRACTICE | SE_BAD_FIELD_STORE | 485 |
| org.microemu.app.Main$10 stored into non-transient field Main.menuLogConsoleListener | BAD_PRACTICE | SE_BAD_FIELD_STORE | 460 |
| org.microemu.app.Main$8 stored into non-transient field Main.menuMIDletNetworkConnectionListener | BAD_PRACTICE | SE_BAD_FIELD_STORE | 436 |
| org.microemu.app.Main$2 stored into non-transient field Main.menuOpenJADFileListener | BAD_PRACTICE | SE_BAD_FIELD_STORE | 190 |
| org.microemu.app.Main$3 stored into non-transient field Main.menuOpenJADURLListener | BAD_PRACTICE | SE_BAD_FIELD_STORE | 215 |
| org.microemu.app.Main$9 stored into non-transient field Main.menuRecordStoreManagerListener | BAD_PRACTICE | SE_BAD_FIELD_STORE | 443 |
| org.microemu.app.Main$5 stored into non-transient field Main.menuSaveForWebListener | BAD_PRACTICE | SE_BAD_FIELD_STORE | 235 |
| org.microemu.app.Main$13 stored into non-transient field Main.menuSelectDeviceListener | BAD_PRACTICE | SE_BAD_FIELD_STORE | 510 |
| org.microemu.app.Main$6 stored into non-transient field Main.menuStartCaptureListener | BAD_PRACTICE | SE_BAD_FIELD_STORE | 359 |
| org.microemu.app.Main$7 stored into non-transient field Main.menuStopCaptureListener | BAD_PRACTICE | SE_BAD_FIELD_STORE | 423 |
| org.microemu.app.Main$15 stored into non-transient field Main.responseInterfaceListener | BAD_PRACTICE | SE_BAD_FIELD_STORE | 552 |
| org.microemu.app.Main$14 stored into non-transient field Main.statusBarListener | BAD_PRACTICE | SE_BAD_FIELD_STORE | 544 |
| org.microemu.app.Main$17 stored into non-transient field Main.windowListener | BAD_PRACTICE | SE_BAD_FIELD_STORE | 609 |
| Useless control flow in org.microemu.app.Main.setDevice(DeviceEntry) | STYLE | UCF_USELESS_CONTROL_FLOW | 802 |
| Bug | Category | Details | Line |
|---|---|---|---|
| org.microemu.app.Main$12.actionPerformed(ActionEvent) invokes System.exit(...), which shuts down the entire virtual machine | BAD_PRACTICE | DM_EXIT | 506 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Main$16.timer not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
| Bug | Category | Details | Line |
|---|---|---|---|
| Use of non-localized String.toUpperCase() or String.toLowerCase | I18N | DM_CONVERT_CASE | 251 |
| Useless control flow in org.microemu.app.Main$5.actionPerformed(ActionEvent) | STYLE | UCF_USELESS_CONTROL_FLOW | 267 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Use of non-localized String.toUpperCase() or String.toLowerCase | I18N | DM_CONVERT_CASE | 374 |
| Bug | Category | Details | Line |
|---|---|---|---|
| The field name org.microemu.app.capture.LZWEncoder.ClearCode doesn't start with an lower case letter | BAD_PRACTICE | NM_FIELD_NAMING_CONVENTION | Not available |
| Bug | Category | Details | Line |
|---|---|---|---|
| org.microemu.app.capture.NeuQuant.alterneigh(int, int, int, int, int) might ignore java.lang.Exception | BAD_PRACTICE | DE_MIGHT_IGNORE | 385 |
| org.microemu.app.capture.NeuQuant.NeuQuant(byte[], int, int) may expose internal representation by storing an externally mutable object into NeuQuant.thepicture | MALICIOUS_CODE | EI_EXPOSE_REP2 | 114 |
| Computation of average could overflow in org.microemu.app.capture.NeuQuant.inxbuild() | STYLE | IM_AVERAGE_COMPUTATION_COULD_OVERFLOW | 184 |
| Exception is caught when Exception is not thrown in org.microemu.app.capture.NeuQuant.alterneigh(int, int, int, int, int) | STYLE | REC_CATCH_EXCEPTION | 385 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Use of non-localized String.toUpperCase() or String.toLowerCase | I18N | DM_CONVERT_CASE | 60 |
| Use of non-localized String.toUpperCase() or String.toLowerCase | I18N | DM_CONVERT_CASE | 76 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Class org.microemu.app.ui.swing.RecordStoreChangePanel defines non-transient non-serializable instance field common | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| Bug | Category | Details | Line |
|---|---|---|---|
| Class org.microemu.app.ui.swing.RecordStoreManagerDialog defines non-transient non-serializable instance field common | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| Class org.microemu.app.ui.swing.RecordStoreManagerDialog defines non-transient non-serializable instance field recordStoreTypeChangeListener | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| org.microemu.app.ui.swing.RecordStoreManagerDialog$1 stored into non-transient field RecordStoreManagerDialog.recordStoreTypeChangeListener | BAD_PRACTICE | SE_BAD_FIELD_STORE | 76 |
| Bug | Category | Details | Line |
|---|---|---|---|
| The class org.microemu.app.ui.swing.RecordStoreManagerDialog$2 could be refactored into a named _static_ inner class | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC_ANON | Not available |
| Bug | Category | Details | Line |
|---|---|---|---|
| Should org.microemu.app.ui.swing.ResizeDeviceDisplayDialog$IntegerField be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | Not available |
| Bug | Category | Details | Line |
|---|---|---|---|
| Potentially dangerous use of non-short-circuit logic in org.microemu.app.ui.swing.ResizeDeviceDisplayDialog$IntegerField$IntegerDocument.insertString(int, String, AttributeSet) | CORRECTNESS | NS_DANGEROUS_NON_SHORT_CIRCUIT | 75 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Class org.microemu.app.ui.swing.SwingDeviceComponent defines non-transient non-serializable instance field mouseListener | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| Class org.microemu.app.ui.swing.SwingDeviceComponent defines non-transient non-serializable instance field mouseMotionListener | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| Class org.microemu.app.ui.swing.SwingDeviceComponent defines non-transient non-serializable instance field offg | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| Class org.microemu.app.ui.swing.SwingDeviceComponent defines non-transient non-serializable instance field offi | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| Class org.microemu.app.ui.swing.SwingDeviceComponent defines non-transient non-serializable instance field overButton | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| Class org.microemu.app.ui.swing.SwingDeviceComponent defines non-transient non-serializable instance field pressedButton | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| Class org.microemu.app.ui.swing.SwingDeviceComponent defines non-transient non-serializable instance field prevOverButton | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| org.microemu.app.ui.swing.SwingDeviceComponent$1 stored into non-transient field SwingDeviceComponent.mouseListener | BAD_PRACTICE | SE_BAD_FIELD_STORE | 143 |
| org.microemu.app.ui.swing.SwingDeviceComponent$2 stored into non-transient field SwingDeviceComponent.mouseMotionListener | BAD_PRACTICE | SE_BAD_FIELD_STORE | 208 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Unread field: org.microemu.app.ui.swing.SwingDeviceComponent$MouseRepeatedTimerTask.source | PERFORMANCE | URF_UNREAD_FIELD | 109 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Inconsistent synchronization of org.microemu.app.ui.swing.SwingDisplayComponent.displayImage; locked 83% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 249 |
| Class org.microemu.app.ui.swing.SwingDisplayComponent defines non-transient non-serializable instance field displayImage | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| Class org.microemu.app.ui.swing.SwingDisplayComponent defines non-transient non-serializable instance field displayRepaintListener | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| Class org.microemu.app.ui.swing.SwingDisplayComponent defines non-transient non-serializable instance field initialPressedSoftButton | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| Class org.microemu.app.ui.swing.SwingDisplayComponent defines non-transient non-serializable instance field mouseListener | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| Class org.microemu.app.ui.swing.SwingDisplayComponent defines non-transient non-serializable instance field mouseMotionListener | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| Class org.microemu.app.ui.swing.SwingDisplayComponent defines non-transient non-serializable instance field mouseWheelListener | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| org.microemu.app.ui.swing.SwingDisplayComponent$1 stored into non-transient field SwingDisplayComponent.mouseListener | BAD_PRACTICE | SE_BAD_FIELD_STORE | 72 |
| org.microemu.app.ui.swing.SwingDisplayComponent$2 stored into non-transient field SwingDisplayComponent.mouseMotionListener | BAD_PRACTICE | SE_BAD_FIELD_STORE | 151 |
| org.microemu.app.ui.swing.SwingDisplayComponent$3 stored into non-transient field SwingDisplayComponent.mouseWheelListener | BAD_PRACTICE | SE_BAD_FIELD_STORE | 201 |
| Bug | Category | Details | Line |
|---|---|---|---|
| The class org.microemu.app.ui.swing.SwingLogConsoleDialog$2 could be refactored into a named _static_ inner class | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC_ANON | Not available |
| Bug | Category | Details | Line |
|---|---|---|---|
| The class org.microemu.app.ui.swing.SwingLogConsoleDialog$3 could be refactored into a named _static_ inner class | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC_ANON | Not available |
| Write to static field org.microemu.log.StdOutAppender.enabled from instance method org.microemu.app.ui.swing.SwingLogConsoleDialog$3.actionPerformed(ActionEvent) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 116 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Class org.microemu.app.ui.swing.SwingSelectDevicePanel defines non-transient non-serializable instance field btAddListener | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| Class org.microemu.app.ui.swing.SwingSelectDevicePanel defines non-transient non-serializable instance field btDefaultListener | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| Class org.microemu.app.ui.swing.SwingSelectDevicePanel defines non-transient non-serializable instance field btRemoveListener | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| Class org.microemu.app.ui.swing.SwingSelectDevicePanel defines non-transient non-serializable instance field emulatorContext | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| Class org.microemu.app.ui.swing.SwingSelectDevicePanel defines non-transient non-serializable instance field listSelectionListener | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| org.microemu.app.ui.swing.SwingSelectDevicePanel$1 stored into non-transient field SwingSelectDevicePanel.btAddListener | BAD_PRACTICE | SE_BAD_FIELD_STORE | 76 |
| org.microemu.app.ui.swing.SwingSelectDevicePanel$3 stored into non-transient field SwingSelectDevicePanel.btDefaultListener | BAD_PRACTICE | SE_BAD_FIELD_STORE | 215 |
| org.microemu.app.ui.swing.SwingSelectDevicePanel$2 stored into non-transient field SwingSelectDevicePanel.btRemoveListener | BAD_PRACTICE | SE_BAD_FIELD_STORE | 184 |
| org.microemu.app.ui.swing.SwingSelectDevicePanel$4 stored into non-transient field SwingSelectDevicePanel.listSelectionListener | BAD_PRACTICE | SE_BAD_FIELD_STORE | 232 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Use of non-localized String.toUpperCase() or String.toLowerCase | I18N | DM_CONVERT_CASE | 104 |
| Method org.microemu.app.ui.swing.SwingSelectDevicePanel$1.actionPerformed(ActionEvent) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 166 |
| Bug | Category | Details | Line |
|---|---|---|---|
| org.microemu.app.ui.swing.XYConstraints.clone() does not call super.clone() | BAD_PRACTICE | CN_IDIOM_NO_SUPER_CALL | 102 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Impossible cast from java.lang.Object[] to java.lang.String[] in org.microemu.applet.CookieRecordStoreManager.listRecordStores() | CORRECTNESS | BC_IMPOSSIBLE_CAST | 146 |
| Dead store to format in org.microemu.applet.CookieRecordStoreManager.CookieRecordStoreManager(Applet) | STYLE | DLS_DEAD_LOCAL_STORE | 70 |
| Load of known null value in org.microemu.applet.CookieRecordStoreManager.openRecordStore(String, boolean) | STYLE | NP_LOAD_OF_KNOWN_NULL_VALUE | 174 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Invocation of toString on an array in org.microemu.applet.CookieRecordStoreManager$CookieContent.getParts() | CORRECTNESS | DMI_INVOKING_TOSTRING_ON_ARRAY | 283 |
| Should org.microemu.applet.CookieRecordStoreManager$CookieContent be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | Not available |
| Bug | Category | Details | Line |
|---|---|---|---|
| Class org.microemu.applet.Main defines non-transient non-serializable instance field emulatorContext | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| Class org.microemu.applet.Main defines non-transient non-serializable instance field midlet | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| Class org.microemu.applet.Main defines non-transient non-serializable instance field recordStoreManager | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| org.microemu.applet.Main$1 stored into non-transient field Main.emulatorContext | BAD_PRACTICE | SE_BAD_FIELD_STORE | 81 |
| org.microemu.util.MemoryRecordStoreManager stored into non-transient field Main.recordStoreManager | BAD_PRACTICE | SE_BAD_FIELD_STORE | 127 |
| Write to static field org.microemu.app.util.MIDletSystemProperties.applyToJavaSystemProperties from instance method org.microemu.applet.Main.init() | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 119 |
| Write to static field org.microemu.app.util.MIDletResourceLoader.classLoader from instance method org.microemu.applet.Main.init() | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 210 |
| Bug | Category | Details | Line |
|---|---|---|---|
| The field name org.microemu.device.j2se.BWImageFilter.Yb doesn't start with an lower case letter | BAD_PRACTICE | NM_FIELD_NAMING_CONVENTION | Not available |
| The field name org.microemu.device.j2se.BWImageFilter.Yg doesn't start with an lower case letter | BAD_PRACTICE | NM_FIELD_NAMING_CONVENTION | Not available |
| The field name org.microemu.device.j2se.BWImageFilter.Yr doesn't start with an lower case letter | BAD_PRACTICE | NM_FIELD_NAMING_CONVENTION | Not available |
| Bug | Category | Details | Line |
|---|---|---|---|
| The field name org.microemu.device.j2se.GrayImageFilter.Rb doesn't start with an lower case letter | BAD_PRACTICE | NM_FIELD_NAMING_CONVENTION | Not available |
| The field name org.microemu.device.j2se.GrayImageFilter.Rg doesn't start with an lower case letter | BAD_PRACTICE | NM_FIELD_NAMING_CONVENTION | Not available |
| The field name org.microemu.device.j2se.GrayImageFilter.Rr doesn't start with an lower case letter | BAD_PRACTICE | NM_FIELD_NAMING_CONVENTION | Not available |
| The field name org.microemu.device.j2se.GrayImageFilter.Yb doesn't start with an lower case letter | BAD_PRACTICE | NM_FIELD_NAMING_CONVENTION | Not available |
| The field name org.microemu.device.j2se.GrayImageFilter.Yg doesn't start with an lower case letter | BAD_PRACTICE | NM_FIELD_NAMING_CONVENTION | Not available |
| The field name org.microemu.device.j2se.GrayImageFilter.Yr doesn't start with an lower case letter | BAD_PRACTICE | NM_FIELD_NAMING_CONVENTION | Not available |
| Bug | Category | Details | Line |
|---|---|---|---|
| org.microemu.device.j2se.J2SEButton.getKeyboardKeyCodes() may expose internal representation by returning J2SEButton.keyboardKeys | MALICIOUS_CODE | EI_EXPOSE_REP | 143 |
| org.microemu.device.j2se.J2SEButton.J2SEButton(int, String, Shape, int, String, String, Hashtable, boolean) may expose internal representation by storing an externally mutable object into J2SEButton.inputToChars | MALICIOUS_CODE | EI_EXPOSE_REP2 | 121 |
| Exception is caught when Exception is not thrown in org.microemu.device.j2se.J2SEButton.parseKeyboardKey(String) | STYLE | REC_CATCH_EXCEPTION | 217 |
| Bug | Category | Details | Line |
|---|---|---|---|
| The class org.microemu.device.j2se.J2SEDevice$1 could be refactored into a named _static_ inner class | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC_ANON | Not available |
| Bug | Category | Details | Line |
|---|---|---|---|
| Unchecked/unconfirmed cast from javax.microedition.lcdui.Image to org.microemu.device.j2se.J2SEMutableImage in org.microemu.device.j2se.J2SEDeviceDisplay.createImage(Image) | STYLE | BC_UNCONFIRMED_CAST | 261 |
| Unchecked/unconfirmed cast from javax.microedition.lcdui.Image to org.microemu.device.j2se.J2SEMutableImage in org.microemu.device.j2se.J2SEDeviceDisplay.createImage(Image, int, int, int, int, int) | STYLE | BC_UNCONFIRMED_CAST | 332 |
| Dead store of null to image in org.microemu.device.j2se.J2SEDeviceDisplay.createImage(Image, int, int, int, int, int) | STYLE | DLS_DEAD_LOCAL_STORE_OF_NULL | 410 |
| Dead store of null to rgbData in org.microemu.device.j2se.J2SEDeviceDisplay.createImage(Image, int, int, int, int, int) | STYLE | DLS_DEAD_LOCAL_STORE_OF_NULL | 409 |
| Usage of GetResource in org.microemu.device.j2se.J2SEDeviceDisplay.getImage(String) may be unsafe if class is extended | BAD_PRACTICE | UI_INHERITANCE_UNSAFE_GETRESOURCE | 536 |
| J2SEDeviceDisplay.backgroundColor not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
| J2SEDeviceDisplay.displayPaintable not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
| J2SEDeviceDisplay.displayRectangle not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
| J2SEDeviceDisplay.foregroundColor not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
| J2SEDeviceDisplay.mode123Image not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
| J2SEDeviceDisplay.modeAbcLowerImage not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
| J2SEDeviceDisplay.modeAbcUpperImage not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
| Bug | Category | Details | Line |
|---|---|---|---|
| Unchecked/unconfirmed cast from javax.microedition.lcdui.Image to org.microemu.device.j2se.J2SEImmutableImage in org.microemu.device.j2se.J2SEDisplayGraphics.drawImage(Image, int, int, int) | STYLE | BC_UNCONFIRMED_CAST | 184 |
| Unchecked/unconfirmed cast from javax.microedition.lcdui.Image to org.microemu.device.j2se.J2SEMutableImage in org.microemu.device.j2se.J2SEDisplayGraphics.drawImage(Image, int, int, int) | STYLE | BC_UNCONFIRMED_CAST | 182 |
| Unchecked/unconfirmed cast from javax.microedition.lcdui.Image to org.microemu.device.j2se.J2SEImmutableImage in org.microemu.device.j2se.J2SEDisplayGraphics.drawRegion(Image, int, int, int, int, int, int, int, int) | STYLE | BC_UNCONFIRMED_CAST | 267 |
| Unchecked/unconfirmed cast from javax.microedition.lcdui.Image to org.microemu.device.j2se.J2SEMutableImage in org.microemu.device.j2se.J2SEDisplayGraphics.drawRegion(Image, int, int, int, int, int, int, int, int) | STYLE | BC_UNCONFIRMED_CAST | 265 |
| Dead store of null to rgbData in org.microemu.device.j2se.J2SEDisplayGraphics.drawRGB(int[], int, int, int, int, int, int, boolean) | STYLE | DLS_DEAD_LOCAL_STORE_OF_NULL | 414 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Check to see if ((...) & 0) == 0 in org.microemu.device.j2se.J2SEFontManager.getFont(Font) | CORRECTNESS | BIT_AND_ZZ | 64 |
| Use of non-localized String.toUpperCase() or String.toLowerCase | I18N | DM_CONVERT_CASE | 156 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Wait not in loop in org.microemu.device.j2se.J2SEImmutableImage.getHeight() | MT_CORRECTNESS | WA_NOT_IN_LOOP | 76 |
| Wait not in loop in org.microemu.device.j2se.J2SEImmutableImage.getWidth() | MT_CORRECTNESS | WA_NOT_IN_LOOP | 116 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Using notify rather than notifyAll in org.microemu.device.j2se.J2SEImmutableImage$1.imageUpdate(Image, int, int, int, int, int) | MT_CORRECTNESS | NO_NOTIFY_NOT_NOTIFYALL | 60 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Using notify rather than notifyAll in org.microemu.device.j2se.J2SEImmutableImage$2.imageUpdate(Image, int, int, int, int, int) | MT_CORRECTNESS | NO_NOTIFY_NOT_NOTIFYALL | 100 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Using notify rather than notifyAll in org.microemu.device.j2se.J2SEInputMethod.fireInputMethodListener(J2SEButton, char) | MT_CORRECTNESS | NO_NOTIFY_NOT_NOTIFYALL | 304 |
| Bug | Category | Details | Line |
|---|---|---|---|
| org.microemu.device.j2se.J2SEMutableImage.getData() may expose internal representation by returning J2SEMutableImage.pixels | MALICIOUS_CODE | EI_EXPOSE_REP | 97 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Inconsistent synchronization of org.microemu.device.j2se.J2SESoftButton.command; locked 80% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 139 |
| org.microemu.device.j2se.J2SESoftButton.RIGHT isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 42 |
| org.microemu.device.j2se.J2SESoftButton.LEFT isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 40 |
| Exception is caught when Exception is not thrown in org.microemu.device.j2se.J2SESoftButton.J2SESoftButton(int, String, Shape, int, String, Rectangle, String, Vector, Font) | STYLE | REC_CATCH_EXCEPTION | 89 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Use of non-localized String.toUpperCase() or String.toLowerCase | I18N | DM_CONVERT_CASE | 47 |
| Inconsistent synchronization of org.microemu.device.j2se.J2SESystemFont.initialized; locked 66% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 57 |
| Useless control flow in org.microemu.device.j2se.J2SESystemFont.checkInitialized() | STYLE | UCF_USELESS_CONTROL_FLOW | 109 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Use of non-localized String.toUpperCase() or String.toLowerCase | I18N | DM_CONVERT_CASE | 52 |
| Inconsistent synchronization of org.microemu.device.j2se.J2SETrueTypeFont.initialized; locked 66% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 62 |
| Useless control flow in org.microemu.device.j2se.J2SETrueTypeFont.checkInitialized() | STYLE | UCF_USELESS_CONTROL_FLOW | 114 |
| Bug | Category | Details | Line |
|---|---|---|---|
| The field name org.microemu.device.j2se.RGBImageFilter.Rb doesn't start with an lower case letter | BAD_PRACTICE | NM_FIELD_NAMING_CONVENTION | Not available |
| The field name org.microemu.device.j2se.RGBImageFilter.Rg doesn't start with an lower case letter | BAD_PRACTICE | NM_FIELD_NAMING_CONVENTION | Not available |
| The field name org.microemu.device.j2se.RGBImageFilter.Rr doesn't start with an lower case letter | BAD_PRACTICE | NM_FIELD_NAMING_CONVENTION | Not available |