The following document contains the results of FindBugs
FindBugs Version is 3.0.1
Threshold is medium
Effort is min
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to re in org.universAAL.drools.Activator.start(BundleContext) | STYLE | DLS_DEAD_LOCAL_STORE | 54 | Medium |
org.universAAL.drools.Activator.mc isn't final and can't be protected from malicious code | MALICIOUS_CODE | MS_CANNOT_BE_FINAL | 72 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to info in org.universAAL.drools.engine.RulesEngine.publishConsequence(String, String[], String[]) | STYLE | DLS_DEAD_LOCAL_STORE | 419 | Medium |
Null pointer dereference of c in org.universAAL.drools.engine.RulesEngine.insertContextEvent(Object) | CORRECTNESS | NP_ALWAYS_NULL | 342 | High |
org.universAAL.drools.engine.RulesEngine.getDevelopingStatus() may fail to clean up java.io.InputStream | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION | 147 | Medium |
org.universAAL.drools.engine.RulesEngine.setTestStatus() may fail to clean up java.io.InputStream | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION | 131 | Medium |
org.universAAL.drools.engine.RulesEngine.getDevelopingStatus() may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 147 | Medium |
org.universAAL.drools.engine.RulesEngine.setTestStatus() may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 131 | Medium |
Write to static field org.universAAL.drools.engine.RulesEngine.testMode from instance method org.universAAL.drools.engine.RulesEngine.disableTestMode() | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 393 | High |
Write to static field org.universAAL.drools.engine.RulesEngine.testMode from instance method org.universAAL.drools.engine.RulesEngine.enableTestMode() | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 385 | High |
Write to static field org.universAAL.drools.engine.RulesEngine.INSTANCE from instance method org.universAAL.drools.engine.RulesEngine.shutdown() | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 625 | High |
Write to static field org.universAAL.drools.engine.RulesEngine.rulesEngineBundleContext from instance method new org.universAAL.drools.engine.RulesEngine(BundleContext) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 109 | Medium |
Useless object stored in variable properties of method org.universAAL.drools.engine.RulesEngine.publishConsequence(String, String[], String[]) | STYLE | UC_USELESS_OBJECT | 420 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.universAAL.drools.engine.Suscriber.handleContextEvent(ContextEvent) invokes inefficient new String(String) constructor | PERFORMANCE | DM_STRING_CTOR | 59 | Medium |
Unread field: org.universAAL.drools.engine.Suscriber.bctx | PERFORMANCE | URF_UNREAD_FIELD | 46 | Medium |
Unread field: org.universAAL.drools.engine.Suscriber.mctx | PERFORMANCE | URF_UNREAD_FIELD | 45 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread public/protected field: org.universAAL.drools.models.Fact.humanId | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 35 | Medium |