The following document contains the results of FindBugs Report
FindBugs Version is 1.2.1
Threshold is Low
Effort is Default
| Classes | Bugs | Errors | Missing Classes |
|---|---|---|---|
| 113 | 6 | 0 | 0 |
| Class | Bugs |
|---|---|
| com.siemens.mp.color_game.Sprite | 1 |
| com.siemens.mp.game.GraphicObjectManager | 1 |
| com.siemens.mp.game.TiledBackground | 1 |
| com.siemens.mp.io.File | 2 |
| com.siemens.mp.io.File$FileInfo | 1 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Unused field: com.siemens.mp.color_game.Sprite.t_currentTransformation | PERFORMANCE | UUF_UNUSED_FIELD | Not available |
| Bug | Category | Details | Line |
|---|---|---|---|
| Should com.siemens.mp.game.GraphicObjectManager.createTextureBits(int, int, byte[]) return a zero length array rather than null? | STYLE | PZLA_PREFER_ZERO_LENGTH_ARRAYS | 44 |
| Bug | Category | Details | Line |
|---|---|---|---|
| com.siemens.mp.game.TiledBackground.TiledBackground(Image, Image, byte[], int, int) may expose internal representation by storing an externally mutable object into TiledBackground.map | MALICIOUS_CODE | EI_EXPOSE_REP2 | 61 |
| Bug | Category | Details | Line |
|---|---|---|---|
| com.siemens.mp.io.File.open(String) may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 100 |
| Should com.siemens.mp.io.File.list(String) return a zero length array rather than null? | STYLE | PZLA_PREFER_ZERO_LENGTH_ARRAYS | 85 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Should com.siemens.mp.io.File$FileInfo be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 178-181 |