The following document contains the results of FindBugs Report
FindBugs Version is 1.3.9
Threshold is medium
Effort is min
| Classes | Bugs | Errors | Missing Classes |
|---|---|---|---|
| 147 | 43 | 0 | 0 |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to x in javax.microedition.lcdui.ChoiceGroup.getItemIndexAt(int, int) | STYLE | DLS_DEAD_LOCAL_STORE | 495 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Inconsistent synchronization of javax.microedition.lcdui.DateCanvas.day; locked 80% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 262 | Medium |
| Inconsistent synchronization of javax.microedition.lcdui.DateCanvas.month; locked 78% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 261 | Medium |
| Inconsistent synchronization of javax.microedition.lcdui.DateCanvas.selected; locked 72% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 319 | Medium |
| Inconsistent synchronization of javax.microedition.lcdui.DateCanvas.year; locked 76% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 260 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| javax.microedition.lcdui.DateField.getDate() may expose internal representation by returning DateField.date | MALICIOUS_CODE | EI_EXPOSE_REP | 107 | Medium |
| javax.microedition.lcdui.DateField.setDate(Date) may expose internal representation by storing an externally mutable object into DateField.date | MALICIOUS_CODE | EI_EXPOSE_REP2 | 113 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Write to static field javax.microedition.lcdui.Alert.nextDisplayable from instance method javax.microedition.lcdui.Display.setCurrent(Alert, Displayable) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 538 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Inconsistent synchronization of javax.microedition.lcdui.StringComponent.text; locked 84% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 128 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Inconsistent synchronization of javax.microedition.lcdui.TimeCanvas.hours; locked 66% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 481 | Medium |
| Inconsistent synchronization of javax.microedition.lcdui.TimeCanvas.minutes; locked 66% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 482 | Medium |
| Inconsistent synchronization of javax.microedition.lcdui.TimeCanvas.selected; locked 80% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 533 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to img in javax.microedition.lcdui.game.Sprite.collidesWith(Object, int, int) | STYLE | DLS_DEAD_LOCAL_STORE | 645 | Medium |
| javax.microedition.lcdui.game.Sprite.setFrameSequence(int[]) may expose internal representation by storing an externally mutable object into Sprite.sequence | MALICIOUS_CODE | EI_EXPOSE_REP2 | 260 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to cH in javax.microedition.lcdui.game.TiledLayer.paint(Graphics) | STYLE | DLS_DEAD_LOCAL_STORE | 231 | Medium |
| Dead store to cW in javax.microedition.lcdui.game.TiledLayer.paint(Graphics) | STYLE | DLS_DEAD_LOCAL_STORE | 230 | Medium |
| Dead store to cX in javax.microedition.lcdui.game.TiledLayer.paint(Graphics) | STYLE | DLS_DEAD_LOCAL_STORE | 228 | Medium |
| Dead store to cY in javax.microedition.lcdui.game.TiledLayer.paint(Graphics) | STYLE | DLS_DEAD_LOCAL_STORE | 229 | Medium |
| Dead store to imgRows in javax.microedition.lcdui.game.TiledLayer.paint(Graphics) | STYLE | DLS_DEAD_LOCAL_STORE | 256 | Medium |
| Inconsistent synchronization of javax.microedition.lcdui.game.TiledLayer.img; locked 90% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 645 | Medium |
| Self assignment of field TiledLayer.img in javax.microedition.lcdui.game.TiledLayer.setStaticTileSet(Image, int, int) | CORRECTNESS | SA_FIELD_SELF_ASSIGNMENT | 154 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.microemu.app.launcher.Launcher.midletSuiteName should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 49 | Medium |
| org.microemu.app.launcher.Launcher.midletEntries isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 51 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Unread field: org.microemu.device.InputMethodEvent.type | PERFORMANCE | URF_UNREAD_FIELD | 41 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Inconsistent synchronization of org.microemu.device.ui.EventDispatcher.lastPaintEventTime; locked 50% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 92 | Medium |
| Inconsistent synchronization of org.microemu.device.ui.EventDispatcher.scheduledPaintEvent; locked 80% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 91 | Medium |
| org.microemu.device.ui.EventDispatcher.maxFps isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 33 | Medium |
| Naked notify in org.microemu.device.ui.EventDispatcher.cancel() | MT_CORRECTNESS | NN_NAKED_NOTIFY | 109 | Medium |
| Wait not in loop in org.microemu.device.ui.EventDispatcher.serviceRepaints() | MT_CORRECTNESS | WA_NOT_IN_LOOP | 155 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.microemu.midp.media.BasicPlayer.CONTROL_TYPE isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 35 | High |
| org.microemu.midp.media.BasicPlayer.getListenersVector() is unsynchronized, org.microemu.midp.media.BasicPlayer.setListenersVector(Vector) is synchronized | MT_CORRECTNESS | UG_SYNC_SET_UNSYNC_GET | 129 | Medium |
| org.microemu.midp.media.BasicPlayer.getLoopCount() is unsynchronized, org.microemu.midp.media.BasicPlayer.setLoopCount(int) is synchronized | MT_CORRECTNESS | UG_SYNC_SET_UNSYNC_GET | 119 | Medium |
| org.microemu.midp.media.BasicPlayer.getMediaTime() is unsynchronized, org.microemu.midp.media.BasicPlayer.setMediaTime(long) is synchronized | MT_CORRECTNESS | UG_SYNC_SET_UNSYNC_GET | 87 | Medium |
| org.microemu.midp.media.BasicPlayer.getState() is unsynchronized, org.microemu.midp.media.BasicPlayer.setState(int) is synchronized | MT_CORRECTNESS | UG_SYNC_SET_UNSYNC_GET | 72 | Medium |
| org.microemu.midp.media.BasicPlayer.getTimeBase() is unsynchronized, org.microemu.midp.media.BasicPlayer.setTimeBase(TimeBase) is synchronized | MT_CORRECTNESS | UG_SYNC_SET_UNSYNC_GET | 92 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to amplify in org.microemu.midp.media.audio.PCTone.play(double, double, double) | STYLE | DLS_DEAD_LOCAL_STORE | 92 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.microemu.midp.media.audio.PCToneControl.getSequence() may expose internal representation by returning PCToneControl.sequence | MALICIOUS_CODE | EI_EXPOSE_REP | 44 | Medium |
| org.microemu.midp.media.audio.PCToneControl.setSequence(byte[]) may expose internal representation by storing an externally mutable object into PCToneControl.sequence | MALICIOUS_CODE | EI_EXPOSE_REP2 | 39 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.microemu.util.RecordEnumerationImpl$EnumerationRecord be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 259-262 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Inconsistent synchronization of org.microemu.util.RecordStoreImpl.lastModified; locked 80% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 104 | Medium |
| Inconsistent synchronization of org.microemu.util.RecordStoreImpl.nextRecordID; locked 83% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 105 | Medium |
| Inconsistent synchronization of org.microemu.util.RecordStoreImpl.version; locked 87% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 103 | Medium |
| new org.microemu.util.RecordStoreImpl(RecordStoreManager, DataInputStream) ignores result of java.io.DataInputStream.read(byte[], int, int) | BAD_PRACTICE | RR_NOT_CHECKED | 91 | Medium |