The following document contains the results of FindBugs
FindBugs Version is 3.0.1
Threshold is medium
Effort is min
Class | Bugs |
---|---|
org.universAAL.context.reasoner.CHECaller | 1 |
org.universAAL.context.reasoner.ProvidedReasoningService | 1 |
org.universAAL.context.reasoner.osgi.Activator | 8 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.universAAL.context.reasoner.CHECaller.executeQuery(String) invokes inefficient new Long(long) constructor; use Long.valueOf(long) instead | PERFORMANCE | DM_NUMBER_CTOR | 83 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.universAAL.context.reasoner.osgi.Activator.cpublisher isn't final and can't be protected from malicious code | MALICIOUS_CODE | MS_CANNOT_BE_FINAL | 58 | Medium |
org.universAAL.context.reasoner.osgi.Activator.mcontext isn't final and can't be protected from malicious code | MALICIOUS_CODE | MS_CANNOT_BE_FINAL | 74 | Medium |
org.universAAL.context.reasoner.osgi.Activator.scaller isn't final and can't be protected from malicious code | MALICIOUS_CODE | MS_CANNOT_BE_FINAL | 59 | Medium |
org.universAAL.context.reasoner.osgi.Activator.serializer isn't final and can't be protected from malicious code | MALICIOUS_CODE | MS_CANNOT_BE_FINAL | 60 | Medium |
org.universAAL.context.reasoner.osgi.Activator.osgiContext should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 56 | Medium |
Write to static field org.universAAL.context.reasoner.osgi.Activator.serializer from instance method org.universAAL.context.reasoner.osgi.Activator.serviceChanged(ServiceEvent) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 102 | Medium |
Write to static field org.universAAL.context.reasoner.osgi.Activator.osgiContext from instance method org.universAAL.context.reasoner.osgi.Activator.start(BundleContext) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 65 | Medium |
Write to static field org.universAAL.context.reasoner.osgi.Activator.mcontext from instance method org.universAAL.context.reasoner.osgi.Activator.stop(BundleContext) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 89 | Medium |
Write to static field org.universAAL.context.reasoner.osgi.Activator.osgiContext from instance method org.universAAL.context.reasoner.osgi.Activator.stop(BundleContext) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 88 | Medium |