FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.3.9

Threshold is medium

Effort is min

Summary

ClassesBugsErrorsMissing Classes
1474300

javax.microedition.lcdui.ChoiceGroup

BugCategoryDetailsLinePriority
Dead store to x in javax.microedition.lcdui.ChoiceGroup.getItemIndexAt(int, int)STYLEDLS_DEAD_LOCAL_STORE495High

javax.microedition.lcdui.DateCanvas

BugCategoryDetailsLinePriority
Inconsistent synchronization of javax.microedition.lcdui.DateCanvas.day; locked 80% of timeMT_CORRECTNESSIS2_INCONSISTENT_SYNC262Medium
Inconsistent synchronization of javax.microedition.lcdui.DateCanvas.month; locked 78% of timeMT_CORRECTNESSIS2_INCONSISTENT_SYNC261Medium
Inconsistent synchronization of javax.microedition.lcdui.DateCanvas.selected; locked 72% of timeMT_CORRECTNESSIS2_INCONSISTENT_SYNC319Medium
Inconsistent synchronization of javax.microedition.lcdui.DateCanvas.year; locked 76% of timeMT_CORRECTNESSIS2_INCONSISTENT_SYNC260Medium

javax.microedition.lcdui.DateField

BugCategoryDetailsLinePriority
javax.microedition.lcdui.DateField.getDate() may expose internal representation by returning DateField.dateMALICIOUS_CODEEI_EXPOSE_REP107Medium
javax.microedition.lcdui.DateField.setDate(Date) may expose internal representation by storing an externally mutable object into DateField.dateMALICIOUS_CODEEI_EXPOSE_REP2113Medium

javax.microedition.lcdui.Display

BugCategoryDetailsLinePriority
Write to static field javax.microedition.lcdui.Alert.nextDisplayable from instance method javax.microedition.lcdui.Display.setCurrent(Alert, Displayable)STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD538High

javax.microedition.lcdui.StringComponent

BugCategoryDetailsLinePriority
Inconsistent synchronization of javax.microedition.lcdui.StringComponent.text; locked 84% of timeMT_CORRECTNESSIS2_INCONSISTENT_SYNC128Medium

javax.microedition.lcdui.TimeCanvas

BugCategoryDetailsLinePriority
Inconsistent synchronization of javax.microedition.lcdui.TimeCanvas.hours; locked 66% of timeMT_CORRECTNESSIS2_INCONSISTENT_SYNC481Medium
Inconsistent synchronization of javax.microedition.lcdui.TimeCanvas.minutes; locked 66% of timeMT_CORRECTNESSIS2_INCONSISTENT_SYNC482Medium
Inconsistent synchronization of javax.microedition.lcdui.TimeCanvas.selected; locked 80% of timeMT_CORRECTNESSIS2_INCONSISTENT_SYNC533Medium

javax.microedition.lcdui.game.Sprite

BugCategoryDetailsLinePriority
Dead store to img in javax.microedition.lcdui.game.Sprite.collidesWith(Object, int, int)STYLEDLS_DEAD_LOCAL_STORE645Medium
javax.microedition.lcdui.game.Sprite.setFrameSequence(int[]) may expose internal representation by storing an externally mutable object into Sprite.sequenceMALICIOUS_CODEEI_EXPOSE_REP2260Medium

javax.microedition.lcdui.game.TiledLayer

BugCategoryDetailsLinePriority
Dead store to cH in javax.microedition.lcdui.game.TiledLayer.paint(Graphics)STYLEDLS_DEAD_LOCAL_STORE231Medium
Dead store to cW in javax.microedition.lcdui.game.TiledLayer.paint(Graphics)STYLEDLS_DEAD_LOCAL_STORE230Medium
Dead store to cX in javax.microedition.lcdui.game.TiledLayer.paint(Graphics)STYLEDLS_DEAD_LOCAL_STORE228Medium
Dead store to cY in javax.microedition.lcdui.game.TiledLayer.paint(Graphics)STYLEDLS_DEAD_LOCAL_STORE229Medium
Dead store to imgRows in javax.microedition.lcdui.game.TiledLayer.paint(Graphics)STYLEDLS_DEAD_LOCAL_STORE256Medium
Inconsistent synchronization of javax.microedition.lcdui.game.TiledLayer.img; locked 90% of timeMT_CORRECTNESSIS2_INCONSISTENT_SYNC645Medium
Self assignment of field TiledLayer.img in javax.microedition.lcdui.game.TiledLayer.setStaticTileSet(Image, int, int)CORRECTNESSSA_FIELD_SELF_ASSIGNMENT154High

org.microemu.app.launcher.Launcher

BugCategoryDetailsLinePriority
org.microemu.app.launcher.Launcher.midletSuiteName should be package protectedMALICIOUS_CODEMS_PKGPROTECT49Medium
org.microemu.app.launcher.Launcher.midletEntries isn't final but should beMALICIOUS_CODEMS_SHOULD_BE_FINAL51High

org.microemu.device.InputMethodEvent

BugCategoryDetailsLinePriority
Unread field: org.microemu.device.InputMethodEvent.typePERFORMANCEURF_UNREAD_FIELD41Medium

org.microemu.device.ui.EventDispatcher

BugCategoryDetailsLinePriority
Inconsistent synchronization of org.microemu.device.ui.EventDispatcher.lastPaintEventTime; locked 50% of timeMT_CORRECTNESSIS2_INCONSISTENT_SYNC92Medium
Inconsistent synchronization of org.microemu.device.ui.EventDispatcher.scheduledPaintEvent; locked 80% of timeMT_CORRECTNESSIS2_INCONSISTENT_SYNC91Medium
org.microemu.device.ui.EventDispatcher.maxFps isn't final but should beMALICIOUS_CODEMS_SHOULD_BE_FINAL33Medium
Naked notify in org.microemu.device.ui.EventDispatcher.cancel()MT_CORRECTNESSNN_NAKED_NOTIFY109Medium
Wait not in loop in org.microemu.device.ui.EventDispatcher.serviceRepaints()MT_CORRECTNESSWA_NOT_IN_LOOP155Medium

org.microemu.midp.media.BasicPlayer

BugCategoryDetailsLinePriority
org.microemu.midp.media.BasicPlayer.CONTROL_TYPE isn't final but should beMALICIOUS_CODEMS_SHOULD_BE_FINAL35High
org.microemu.midp.media.BasicPlayer.getListenersVector() is unsynchronized, org.microemu.midp.media.BasicPlayer.setListenersVector(Vector) is synchronizedMT_CORRECTNESSUG_SYNC_SET_UNSYNC_GET129Medium
org.microemu.midp.media.BasicPlayer.getLoopCount() is unsynchronized, org.microemu.midp.media.BasicPlayer.setLoopCount(int) is synchronizedMT_CORRECTNESSUG_SYNC_SET_UNSYNC_GET119Medium
org.microemu.midp.media.BasicPlayer.getMediaTime() is unsynchronized, org.microemu.midp.media.BasicPlayer.setMediaTime(long) is synchronizedMT_CORRECTNESSUG_SYNC_SET_UNSYNC_GET87Medium
org.microemu.midp.media.BasicPlayer.getState() is unsynchronized, org.microemu.midp.media.BasicPlayer.setState(int) is synchronizedMT_CORRECTNESSUG_SYNC_SET_UNSYNC_GET72Medium
org.microemu.midp.media.BasicPlayer.getTimeBase() is unsynchronized, org.microemu.midp.media.BasicPlayer.setTimeBase(TimeBase) is synchronizedMT_CORRECTNESSUG_SYNC_SET_UNSYNC_GET92Medium

org.microemu.midp.media.audio.PCTone

BugCategoryDetailsLinePriority
Dead store to amplify in org.microemu.midp.media.audio.PCTone.play(double, double, double)STYLEDLS_DEAD_LOCAL_STORE92Medium

org.microemu.midp.media.audio.PCToneControl

BugCategoryDetailsLinePriority
org.microemu.midp.media.audio.PCToneControl.getSequence() may expose internal representation by returning PCToneControl.sequenceMALICIOUS_CODEEI_EXPOSE_REP44Medium
org.microemu.midp.media.audio.PCToneControl.setSequence(byte[]) may expose internal representation by storing an externally mutable object into PCToneControl.sequenceMALICIOUS_CODEEI_EXPOSE_REP239Medium

org.microemu.util.RecordEnumerationImpl$EnumerationRecord

BugCategoryDetailsLinePriority
Should org.microemu.util.RecordEnumerationImpl$EnumerationRecord be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATIC259-262Medium

org.microemu.util.RecordStoreImpl

BugCategoryDetailsLinePriority
Inconsistent synchronization of org.microemu.util.RecordStoreImpl.lastModified; locked 80% of timeMT_CORRECTNESSIS2_INCONSISTENT_SYNC104Medium
Inconsistent synchronization of org.microemu.util.RecordStoreImpl.nextRecordID; locked 83% of timeMT_CORRECTNESSIS2_INCONSISTENT_SYNC105Medium
Inconsistent synchronization of org.microemu.util.RecordStoreImpl.version; locked 87% of timeMT_CORRECTNESSIS2_INCONSISTENT_SYNC103Medium
new org.microemu.util.RecordStoreImpl(RecordStoreManager, DataInputStream) ignores result of java.io.DataInputStream.read(byte[], int, int)BAD_PRACTICERR_NOT_CHECKED91Medium