FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.2.0

Threshold is Low

Effort is Default

Summary

Classes Bugs Errors Missing Classes
59 24 0 0

Files

Class Bugs
org.indi.examples.Dome 6
org.indi.examples.SimpleCCDSimulator 5
org.indi.examples.SimpleDevice 2
org.indi.examples.SimpleTelescopeSimulator 11

org.indi.examples.Dome

Bug Category Details Line
The method name org.indi.examples.Dome.OnNew(SwitchVector) doesn't start with an lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 56-92
VERY confusing to have methods org.indi.examples.Dome.OnNew(SwitchVector) and org.indi.server.BasicDevice.onNew(SwitchVector) CORRECTNESS NM_VERY_CONFUSING 56-92
Unread field: org.indi.examples.Dome.devicename; should this field be static? PERFORMANCE SS_SHOULD_BE_STATIC 25
Unread field: org.indi.examples.Dome.domevectorname; should this field be static? PERFORMANCE SS_SHOULD_BE_STATIC 24
Unread field: org.indi.examples.Dome.groupname; should this field be static? PERFORMANCE SS_SHOULD_BE_STATIC 26
Unread field: org.indi.examples.Dome.powervectorname; should this field be static? PERFORMANCE SS_SHOULD_BE_STATIC 23

org.indi.examples.SimpleCCDSimulator

Bug Category Details Line
Class org.indi.examples.SimpleCCDSimulator implements same interface as superclass STYLE RI_REDUNDANT_INTERFACES Not available
Unread field: org.indi.examples.SimpleCCDSimulator.groupname; should this field be static? PERFORMANCE SS_SHOULD_BE_STATIC 56
Unread field: org.indi.examples.SimpleCCDSimulator.name; should this field be static? PERFORMANCE SS_SHOULD_BE_STATIC 97
Unread field: org.indi.examples.SimpleCCDSimulator.powervectorname; should this field be static? PERFORMANCE SS_SHOULD_BE_STATIC 52
Unread field: org.indi.examples.SimpleCCDSimulator.timeout; should this field be static? PERFORMANCE SS_SHOULD_BE_STATIC 84

org.indi.examples.SimpleDevice

Bug Category Details Line
Unread field: org.indi.examples.SimpleDevice.name; should this field be static? PERFORMANCE SS_SHOULD_BE_STATIC 54
Unread field: org.indi.examples.SimpleDevice.vectorname; should this field be static? PERFORMANCE SS_SHOULD_BE_STATIC 46

org.indi.examples.SimpleTelescopeSimulator

Bug Category Details Line
Method org.indi.examples.SimpleTelescopeSimulator.onTimer() uses the same code for two switch clauses STYLE DB_DUPLICATE_SWITCH_CLAUSES 279-280
Class org.indi.examples.SimpleTelescopeSimulator implements same interface as superclass STYLE RI_REDUNDANT_INTERFACES Not available
Unread field: org.indi.examples.SimpleTelescopeSimulator.coordvectorname; should this field be static? PERFORMANCE SS_SHOULD_BE_STATIC 65
Unread field: org.indi.examples.SimpleTelescopeSimulator.decname; should this field be static? PERFORMANCE SS_SHOULD_BE_STATIC 69
Unread field: org.indi.examples.SimpleTelescopeSimulator.groupname; should this field be static? PERFORMANCE SS_SHOULD_BE_STATIC 61
Unread field: org.indi.examples.SimpleTelescopeSimulator.name; should this field be static? PERFORMANCE SS_SHOULD_BE_STATIC 57
Unread field: org.indi.examples.SimpleTelescopeSimulator.powervectorname; should this field be static? PERFORMANCE SS_SHOULD_BE_STATIC 53
Unread field: org.indi.examples.SimpleTelescopeSimulator.raname; should this field be static? PERFORMANCE SS_SHOULD_BE_STATIC 73
Unread field: org.indi.examples.SimpleTelescopeSimulator.sidrate; should this field be static? PERFORMANCE SS_SHOULD_BE_STATIC 89
Unread field: org.indi.examples.SimpleTelescopeSimulator.slewrate; should this field be static? PERFORMANCE SS_SHOULD_BE_STATIC 94
Unread field: org.indi.examples.SimpleTelescopeSimulator.timeout; should this field be static? PERFORMANCE SS_SHOULD_BE_STATIC 85