The following document contains the results of FindBugs
FindBugs Version is 3.0.1
Threshold is medium
Effort is min
Class | Bugs |
---|---|
org.universAAL.ui.resource.server.Activator | 2 |
org.universAAL.ui.resource.server.ResourceServer | 6 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.universAAL.ui.resource.server.Activator.mcontext should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 53 | Medium |
org.universAAL.ui.resource.server.Activator.URI isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 45 | High |
Write to static field org.universAAL.ui.resource.server.Activator.context from instance method org.universAAL.ui.resource.server.Activator.start(BundleContext) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 55 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.universAAL.ui.resource.server.ResourceServer.PATH_TO_RESOURCES isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 61 | High |
org.universAAL.ui.resource.server.ResourceServer.confHome isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 53 | High |
Null passed for non-null parameter of new java.io.File(String) in org.universAAL.ui.resource.server.ResourceServer.doPost(HttpServletRequest, HttpServletResponse) | CORRECTNESS | NP_NULL_PARAM_DEREF | 182 | Medium |
org.universAAL.ui.resource.server.ResourceServer.doPost(HttpServletRequest, HttpServletResponse) may fail to clean up java.io.InputStream on checked exception | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE | 198 | Medium |
Class org.universAAL.ui.resource.server.ResourceServer defines non-transient non-serializable instance field moduleContext | BAD_PRACTICE | SE_BAD_FIELD | Medium |