The following document contains the results of FindBugs
FindBugs Version is 3.0.1
Threshold is medium
Effort is min
Class | Bugs |
---|---|
org.universAAL.middleware.managers.deploy.DeployManagerImpl | 14 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Possible null pointer dereference in org.universAAL.middleware.managers.deploy.DeployManagerImpl.createZippedPart(URI, Part) due to return value of called method | STYLE | NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE | 757 | Medium |
org.universAAL.middleware.managers.deploy.DeployManagerImpl.createZippedPart(URI, Part) may fail to clean up java.io.InputStream | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION | 775 | Medium |
org.universAAL.middleware.managers.deploy.DeployManagerImpl.getInstallationLayout(String, String) may fail to clean up java.io.InputStream | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION | 433 | Medium |
org.universAAL.middleware.managers.deploy.DeployManagerImpl.reloadRegistry(File) may fail to clean up java.io.InputStream | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION | 356 | Medium |
org.universAAL.middleware.managers.deploy.DeployManagerImpl.storeInstallationStatus(UAPPPackage) may fail to clean up java.io.OutputStream on checked exception | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE | 398 | Medium |
org.universAAL.middleware.managers.deploy.DeployManagerImpl.updateApplicationRegistry() may fail to clean up java.io.OutputStream on checked exception | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE | 370 | Medium |
org.universAAL.middleware.managers.deploy.DeployManagerImpl.addDirToZipFile(ZipOutputStream, File, String) may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 681 | Medium |
org.universAAL.middleware.managers.deploy.DeployManagerImpl.createZippedPart(URI, Part) may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 775 | Medium |
org.universAAL.middleware.managers.deploy.DeployManagerImpl.getInstallationLayout(String, String) may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 433 | Medium |
org.universAAL.middleware.managers.deploy.DeployManagerImpl.reloadRegistry(File) may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 356 | Medium |
Redundant nullcheck of application, which is known to be non-null in org.universAAL.middleware.managers.deploy.DeployManagerImpl.m_requestToInstall(UAPPPackage, InstallationResultsDetails) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 239 | Medium |
Return value of org.universAAL.middleware.managers.deploy.uapp.model.AalUapp.getApp() ignored, but method has no side effect | STYLE | RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT | 289 | Medium |
org.universAAL.middleware.managers.deploy.DeployManagerImpl.m_requestToInstall(UAPPPackage, InstallationResultsDetails) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 291 | Medium |
org.universAAL.middleware.managers.deploy.DeployManagerImpl.storeInstallationStatus(UAPPPackage) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 389 | Medium |