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 |
---|---|---|---|---|
Read of unwritten field modules in org.universAAL.middleware.container.pojo.POJOContainer.registerModule(Object[]) | CORRECTNESS | NP_UNWRITTEN_FIELD | 124 | Medium |
new org.universAAL.middleware.container.pojo.POJOContainer() may fail to clean up java.io.InputStream | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION | 61 | Medium |
org.universAAL.middleware.container.pojo.POJOContainer.reloadProperties() may fail to clean up java.io.InputStream | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION | 74 | Medium |
new org.universAAL.middleware.container.pojo.POJOContainer() may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 61 | Medium |
org.universAAL.middleware.container.pojo.POJOContainer.reloadProperties() may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 74 | Medium |
Exceptional return value of java.io.File.mkdirs() ignored in org.universAAL.middleware.container.pojo.POJOContainer.getConfigurationFolder() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 185 | Medium |
Exceptional return value of java.io.File.mkdirs() ignored in org.universAAL.middleware.container.pojo.POJOContainer.getDataFolder() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 196 | Medium |
Unwritten field: org.universAAL.middleware.container.pojo.POJOContainer.modules | CORRECTNESS | UWF_UNWRITTEN_FIELD | 124 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.universAAL.middleware.container.pojo.POJOModuleContext.loadUniversAALAttribute() may fail to clean up java.io.InputStream | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION | 72 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Possible null pointer dereference of null in org.universAAL.middleware.container.pojo.layers.AbstractBusLayer.start(ModuleContext) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 66 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Write to static field org.universAAL.middleware.datarep.SharedResources.moduleContext from instance method org.universAAL.middleware.container.pojo.layers.DataRepresentation.start(ModuleContext) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 31 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Random object created and used only once in org.universAAL.middleware.container.pojo.layers.OntAutoLoader.ontFileName(Ontology) | BAD_PRACTICE | DMI_RANDOM_USED_ONLY_ONCE | 545 | High |
Found reliance on default encoding in org.universAAL.middleware.container.pojo.layers.OntAutoLoader.writeTTL(Ontology, File): new java.io.FileWriter(File, boolean) | I18N | DM_DEFAULT_ENCODING | 569 | High |
Redundant nullcheck of name, which is known to be non-null in org.universAAL.middleware.container.pojo.layers.OntAutoLoader.ontFileName(Ontology) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 540 | Medium |
Write to static field org.universAAL.middleware.container.pojo.layers.OntAutoLoader.owlDir from instance method org.universAAL.middleware.container.pojo.layers.OntAutoLoader.start(ModuleContext) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 286 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Return value of java.io.StringWriter.toString() ignored, but method has no side effect | STYLE | RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT | 130 | High |
Switch statement found in org.universAAL.middleware.container.pojo.layers.OntAutoLoader$LogEntry.toString() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 106 | Medium |
Should org.universAAL.middleware.container.pojo.layers.OntAutoLoader$LogEntry be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 76 | Medium |
Unread field: org.universAAL.middleware.container.pojo.layers.OntAutoLoader$LogEntry.cls | PERFORMANCE | URF_UNREAD_FIELD | 81 | Medium |
Unread field: org.universAAL.middleware.container.pojo.layers.OntAutoLoader$LogEntry.method | PERFORMANCE | URF_UNREAD_FIELD | 82 | Medium |
Unread field: org.universAAL.middleware.container.pojo.layers.OntAutoLoader$LogEntry.module | PERFORMANCE | URF_UNREAD_FIELD | 79 | Medium |
Unread field: org.universAAL.middleware.container.pojo.layers.OntAutoLoader$LogEntry.pkg | PERFORMANCE | URF_UNREAD_FIELD | 80 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Write to static field org.universAAL.middleware.serialization.turtle.TurtleUtil.moduleContext from instance method org.universAAL.middleware.container.pojo.layers.TurtleSerialization.start(ModuleContext) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 42 | High |