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 |
---|---|---|---|---|
Found reliance on default encoding in org.universAAL.tools.ucc.client.util.UstoreUtil.registerUser(String): new java.io.FileReader(File) | I18N | DM_DEFAULT_ENCODING | 60 | High |
org.universAAL.tools.ucc.client.util.UstoreUtil.registerUser(String) may fail to clean up java.io.Reader | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION | 60 | Medium |
org.universAAL.tools.ucc.client.util.UstoreUtil.registerUser(String) may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 60 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.universAAL.tools.ucc.commerce.ustore.tools.UStoreException is not derived from an Exception, even though it is named as such | BAD_PRACTICE | NM_CLASS_NOT_EXCEPTION | 32 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in new org.universAAL.tools.ucc.controller.desktop.DesktopController(UccUI): new java.io.FileReader(File) | I18N | DM_DEFAULT_ENCODING | 69 | High |
Found reliance on default encoding in org.universAAL.tools.ucc.controller.desktop.DesktopController.buttonClick(Button$ClickEvent): new java.io.FileReader(File) | I18N | DM_DEFAULT_ENCODING | 215 | High |
Possible null pointer dereference of reader in new org.universAAL.tools.ucc.controller.desktop.DesktopController(UccUI) on exception path | CORRECTNESS | NP_NULL_ON_SOME_PATH_EXCEPTION | 81 | Medium |
Possible null pointer dereference of reader in org.universAAL.tools.ucc.controller.desktop.DesktopController.buttonClick(Button$ClickEvent) on exception path | CORRECTNESS | NP_NULL_ON_SOME_PATH_EXCEPTION | 232 | Medium |
Write to static field org.universAAL.tools.ucc.controller.desktop.DesktopController.currentPassword from instance method new org.universAAL.tools.ucc.controller.desktop.DesktopController(UccUI) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 64 | Medium |
Write to static field org.universAAL.tools.ucc.controller.desktop.DesktopController.currentUser from instance method new org.universAAL.tools.ucc.controller.desktop.DesktopController(UccUI) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 63 | Medium |
Write to static field org.universAAL.tools.ucc.controller.desktop.DesktopController.currentPassword from instance method org.universAAL.tools.ucc.controller.desktop.DesktopController.buttonClick(Button$ClickEvent) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 181 | Medium |
Write to static field org.universAAL.tools.ucc.controller.desktop.DesktopController.currentUser from instance method org.universAAL.tools.ucc.controller.desktop.DesktopController.buttonClick(Button$ClickEvent) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 180 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to srv in org.universAAL.tools.ucc.controller.desktop.ToolController.buttonClick(Button$ClickEvent) | STYLE | DLS_DEAD_LOCAL_STORE | 184 | High |
Found reliance on default encoding in org.universAAL.tools.ucc.controller.desktop.ToolController.createLink(): new java.io.FileReader(File) | I18N | DM_DEFAULT_ENCODING | 264 | High |
Possible null pointer dereference of reader in org.universAAL.tools.ucc.controller.desktop.ToolController.createLink() on exception path | CORRECTNESS | NP_NULL_ON_SOME_PATH_EXCEPTION | 282 | Medium |
Exceptional return value of java.io.File.mkdir() ignored in new org.universAAL.tools.ucc.controller.desktop.ToolController(UccUI, ToolWindow) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 76 | Medium |
Class org.universAAL.tools.ucc.controller.desktop.ToolController defines non-transient non-serializable instance field frontend | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
org.universAAL.tools.ucc.frontend.api.impl.FrontendImpl stored into non-transient field ToolController.frontend | BAD_PRACTICE | SE_BAD_FIELD_STORE | 78 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.universAAL.tools.ucc.controller.install.DeinstallController defines non-transient non-serializable instance field front | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
org.universAAL.tools.ucc.frontend.api.impl.FrontendImpl stored into non-transient field DeinstallController.front | BAD_PRACTICE | SE_BAD_FIELD_STORE | 31 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Invocation of toString on org.universAAL.middleware.managers.api.MatchingResult.getPeers() in org.universAAL.tools.ucc.controller.install.DeploymentInfoController.getValidPeers(List, String) | CORRECTNESS | DMI_INVOKING_TOSTRING_ON_ARRAY | 393 | Medium |
Call to org.universAAL.tools.ucc.model.jaxb.EnumObject.equals(String) in org.universAAL.tools.ucc.controller.install.DeploymentInfoController.showInstallationResultToUser(InstallationResultsDetails) | CORRECTNESS | EC_UNRELATED_TYPES | 515 | High |
Possible null pointer dereference in org.universAAL.tools.ucc.controller.install.DeploymentInfoController.deleteFiles(File) due to return value of called method | STYLE | NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE | 256 | Medium |
Exceptional return value of java.io.File.delete() ignored in org.universAAL.tools.ucc.controller.install.DeploymentInfoController.deleteFiles(File) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 261 | Medium |
Class org.universAAL.tools.ucc.controller.install.DeploymentInfoController defines non-transient non-serializable instance field config | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
Class org.universAAL.tools.ucc.controller.install.DeploymentInfoController defines non-transient non-serializable instance field installingApp | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
Class org.universAAL.tools.ucc.controller.install.DeploymentInfoController defines non-transient non-serializable instance field mapLayout | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
Class org.universAAL.tools.ucc.controller.install.DeploymentInfoController defines non-transient non-serializable instance field peers | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
Class org.universAAL.tools.ucc.controller.install.DeploymentInfoController defines non-transient non-serializable instance field service | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
Write to static field org.universAAL.tools.ucc.controller.install.DeploymentInfoController.installer from instance method new org.universAAL.tools.ucc.controller.install.DeploymentInfoController(UccUI, Service, DeploymentInformationView, UAPP) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 74 | Medium |
Useless object stored in variable peersToCheck of method org.universAAL.tools.ucc.controller.install.DeploymentInfoController.buildUserInstallationLayout(UAPPPart) | STYLE | UC_USELESS_OBJECT | 316 | Medium |
org.universAAL.tools.ucc.controller.install.DeploymentInfoController.buttonClick(Button$ClickEvent) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 188 | Medium |
org.universAAL.tools.ucc.controller.install.DeploymentInfoController.buttonClick(Button$ClickEvent) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 205 | Medium |
org.universAAL.tools.ucc.controller.install.DeploymentInfoController.showInstallationResultToUser(InstallationResultsDetails) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 535 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.universAAL.tools.ucc.controller.install.LicenseController.valueChange(Property$ValueChangeEvent): new java.io.FileReader(File) | I18N | DM_DEFAULT_ENCODING | 61 | High |
Possible null pointer dereference in org.universAAL.tools.ucc.controller.install.LicenseController.deleteFiles(File) due to return value of called method | STYLE | NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE | 131 | Medium |
Null passed for non-null parameter of new java.io.BufferedReader(Reader) in org.universAAL.tools.ucc.controller.install.LicenseController.valueChange(Property$ValueChangeEvent) | CORRECTNESS | NP_NULL_PARAM_DEREF | 65 | Medium |
Null passed for non-null parameter of new java.io.BufferedReader(Reader) in org.universAAL.tools.ucc.controller.install.LicenseController.valueChange(Property$ValueChangeEvent) | CORRECTNESS | NP_NULL_PARAM_DEREF | 84 | Medium |
org.universAAL.tools.ucc.controller.install.LicenseController.valueChange(Property$ValueChangeEvent) may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 84 | Medium |
Exceptional return value of java.io.File.delete() ignored in org.universAAL.tools.ucc.controller.install.LicenseController.deleteFiles(File) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 136 | Medium |
Class org.universAAL.tools.ucc.controller.install.LicenseController defines non-transient non-serializable instance field installingApplication | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
Class org.universAAL.tools.ucc.controller.install.LicenseController defines non-transient non-serializable instance field lix | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
Class org.universAAL.tools.ucc.controller.install.LicenseController defines non-transient non-serializable instance field service | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
Write to static field org.universAAL.tools.ucc.controller.install.LicenseController.appCounter from instance method new org.universAAL.tools.ucc.controller.install.LicenseController(UccUI, LicenceWindow, ArrayList, Service, UAPP) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 46 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Possible null pointer dereference in org.universAAL.tools.ucc.controller.install.UsrvInfoController.deleteFiles(File) due to return value of called method | STYLE | NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE | 83 | Medium |
Exceptional return value of java.io.File.delete() ignored in org.universAAL.tools.ucc.controller.install.UsrvInfoController.deleteFiles(File) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 88 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in new org.universAAL.tools.ucc.controller.preferences.PreferencesController(UccUI, PreferencesWindow): new java.io.FileReader(File) | I18N | DM_DEFAULT_ENCODING | 41 | High |
Found reliance on default encoding in org.universAAL.tools.ucc.controller.preferences.PreferencesController.buttonClick(Button$ClickEvent): new java.io.FileWriter(File) | I18N | DM_DEFAULT_ENCODING | 99 | High |
Possible null pointer dereference of reader in new org.universAAL.tools.ucc.controller.preferences.PreferencesController(UccUI, PreferencesWindow) on exception path | CORRECTNESS | NP_NULL_ON_SOME_PATH_EXCEPTION | 58 | Medium |
Null passed for non-null parameter of java.util.Properties.store(Writer, String) in org.universAAL.tools.ucc.controller.preferences.PreferencesController.buttonClick(Button$ClickEvent) | CORRECTNESS | NP_NULL_PARAM_DEREF | 111 | Medium |
org.universAAL.tools.ucc.controller.preferences.PreferencesController.buttonClick(Button$ClickEvent) may fail to clean up java.io.Writer | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION | 99 | Medium |
org.universAAL.tools.ucc.controller.preferences.PreferencesController.buttonClick(Button$ClickEvent) may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 99 | Medium |
Class org.universAAL.tools.ucc.controller.preferences.PreferencesController defines non-transient non-serializable instance field oldPref | BAD_PRACTICE | SE_BAD_FIELD | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.universAAL.tools.ucc.controller.space.AddNewHardwareController defines non-transient non-serializable instance field instance | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
Class org.universAAL.tools.ucc.controller.space.AddNewHardwareController defines non-transient non-serializable instance field objects | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
Class org.universAAL.tools.ucc.controller.space.AddNewHardwareController defines non-transient non-serializable instance field roomInstance | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
Class org.universAAL.tools.ucc.controller.space.AddNewHardwareController defines non-transient non-serializable instance field roomprofiles | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
Class org.universAAL.tools.ucc.controller.space.AddNewHardwareController defines non-transient non-serializable instance field rooms | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
Class org.universAAL.tools.ucc.controller.space.AddNewHardwareController defines non-transient non-serializable instance field savedObjects | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
Class org.universAAL.tools.ucc.controller.space.AddNewHardwareController defines non-transient non-serializable instance field subprofiles | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
Write to static field org.universAAL.tools.ucc.controller.space.AddNewHardwareController.ontoProfile from instance method new org.universAAL.tools.ucc.controller.space.AddNewHardwareController(AddNewHardwareWindow, HardwareWindow, RoomsWindow, UccUI) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 82 | Medium |
Write to static field org.universAAL.tools.ucc.controller.space.AddNewHardwareController.roomProfile from instance method new org.universAAL.tools.ucc.controller.space.AddNewHardwareController(AddNewHardwareWindow, HardwareWindow, RoomsWindow, UccUI) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 83 | Medium |
Useless object stored in variable room of method org.universAAL.tools.ucc.controller.space.AddNewHardwareController.buttonClick(Button$ClickEvent) | STYLE | UC_USELESS_OBJECT | 361 | Medium |
Useless object stored in variable roomObjects of method org.universAAL.tools.ucc.controller.space.AddNewHardwareController.buttonClick(Button$ClickEvent) | STYLE | UC_USELESS_OBJECT | 479 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.universAAL.tools.ucc.controller.space.AddNewPersonController defines non-transient non-serializable instance field instance | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
Class org.universAAL.tools.ucc.controller.space.AddNewPersonController defines non-transient non-serializable instance field objects | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
Class org.universAAL.tools.ucc.controller.space.AddNewPersonController defines non-transient non-serializable instance field savedObjects | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
Class org.universAAL.tools.ucc.controller.space.AddNewPersonController defines non-transient non-serializable instance field subprofiles | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
Write to static field org.universAAL.tools.ucc.controller.space.AddNewPersonController.ontoProfile from instance method new org.universAAL.tools.ucc.controller.space.AddNewPersonController(AddNewPersonWindow, HumansWindow, SelectUserWindow, UccUI) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 83 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.universAAL.tools.ucc.controller.space.HardwareWindowController defines non-transient non-serializable instance field ontInstances | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
Class org.universAAL.tools.ucc.controller.space.HardwareWindowController defines non-transient non-serializable instance field roomInstances | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
Class org.universAAL.tools.ucc.controller.space.HardwareWindowController defines non-transient non-serializable instance field roomprofiles | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
Class org.universAAL.tools.ucc.controller.space.HardwareWindowController defines non-transient non-serializable instance field sensorEventSubscriber | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
Class org.universAAL.tools.ucc.controller.space.HardwareWindowController defines non-transient non-serializable instance field subprofiles | BAD_PRACTICE | SE_BAD_FIELD | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.universAAL.tools.ucc.controller.space.PersonWindowController.buttonClick(Button$ClickEvent): new java.io.FileReader(File) | I18N | DM_DEFAULT_ENCODING | 515 | High |
Found reliance on default encoding in org.universAAL.tools.ucc.controller.space.PersonWindowController.buttonClick(Button$ClickEvent): new java.io.FileWriter(File) | I18N | DM_DEFAULT_ENCODING | 537 | High |
Possible null pointer dereference of reader in org.universAAL.tools.ucc.controller.space.PersonWindowController.buttonClick(Button$ClickEvent) on exception path | CORRECTNESS | NP_NULL_ON_SOME_PATH_EXCEPTION | 552 | Medium |
Possible null pointer dereference of wr in org.universAAL.tools.ucc.controller.space.PersonWindowController.buttonClick(Button$ClickEvent) on exception path | CORRECTNESS | NP_NULL_ON_SOME_PATH_EXCEPTION | 547 | Medium |
Class org.universAAL.tools.ucc.controller.space.PersonWindowController defines non-transient non-serializable instance field ontInstances | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
Class org.universAAL.tools.ucc.controller.space.PersonWindowController defines non-transient non-serializable instance field setup | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
Class org.universAAL.tools.ucc.controller.space.PersonWindowController defines non-transient non-serializable instance field subprofiles | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
org.universAAL.tools.ucc.startup.api.impl.SetupImpl stored into non-transient field PersonWindowController.setup | BAD_PRACTICE | SE_BAD_FIELD_STORE | 98 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.universAAL.tools.ucc.controller.space.RoomsWindowController defines non-transient non-serializable instance field ontInstances | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
Class org.universAAL.tools.ucc.controller.space.RoomsWindowController defines non-transient non-serializable instance field roomInstances | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
Class org.universAAL.tools.ucc.controller.space.RoomsWindowController defines non-transient non-serializable instance field roomprofiles | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
Class org.universAAL.tools.ucc.controller.space.RoomsWindowController defines non-transient non-serializable instance field subprofiles | BAD_PRACTICE | SE_BAD_FIELD | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.universAAL.tools.ucc.controller.ustore.services.Parser.readServices(File, String) may fail to clean up java.io.InputStream | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION | 31 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Possible null pointer dereference of ps in org.universAAL.tools.ucc.frontend.api.impl.FrontendImpl.parseUappConfiguration(String, String) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 238 | Medium |
Possible null pointer dereference in org.universAAL.tools.ucc.frontend.api.impl.FrontendImpl.createUAPPLocation(String, String) due to return value of called method | STYLE | NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE | 638 | Medium |
Possible null pointer dereference in org.universAAL.tools.ucc.frontend.api.impl.FrontendImpl.installService(String, String, String) due to return value of called method | STYLE | NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE | 157 | Medium |
Possible null pointer dereference in org.universAAL.tools.ucc.frontend.api.impl.FrontendImpl.installService(String, String, String) due to return value of called method | STYLE | NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE | 141 | Medium |
Possible null pointer dereference in org.universAAL.tools.ucc.frontend.api.impl.FrontendImpl.parseConfiguration(String, ArrayList, ArrayList, Service) due to return value of called method | STYLE | NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE | 540 | Medium |
org.universAAL.tools.ucc.frontend.api.impl.FrontendImpl.downloadFile(String, String) may fail to clean up java.io.OutputStream on checked exception | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE | 204 | Medium |
org.universAAL.tools.ucc.frontend.api.impl.FrontendImpl.downloadUsrvFile(String, String) may fail to clean up java.io.OutputStream on checked exception | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE | 186 | Medium |
org.universAAL.tools.ucc.frontend.api.impl.FrontendImpl.extractFolder(String, String) may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 757 | Medium |
Exceptional return value of java.io.File.mkdir() ignored in org.universAAL.tools.ucc.frontend.api.impl.FrontendImpl.createUAPPLocation(String, String) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 637 | Medium |
Exceptional return value of java.io.File.renameTo(File) ignored in org.universAAL.tools.ucc.frontend.api.impl.FrontendImpl.createUAPPLocation(String, String) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 644 | Medium |
Exceptional return value of java.io.File.mkdir() ignored in org.universAAL.tools.ucc.frontend.api.impl.FrontendImpl.extractFolder(String, String) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 760 | Medium |
Exceptional return value of java.io.File.mkdirs() ignored in org.universAAL.tools.ucc.frontend.api.impl.FrontendImpl.extractFolder(String, String) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 773 | Medium |
Write to static field org.universAAL.tools.ucc.frontend.api.impl.FrontendImpl.userSession from instance method org.universAAL.tools.ucc.frontend.api.impl.FrontendImpl.getSessionKey(String, String) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 802 | High |
Write to static field org.universAAL.tools.ucc.frontend.api.impl.FrontendImpl.usrvLocalStore from instance method new org.universAAL.tools.ucc.frontend.api.impl.FrontendImpl() | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 101 | Medium |
Write to static field org.universAAL.tools.ucc.frontend.api.impl.FrontendImpl.uappURI from instance method org.universAAL.tools.ucc.frontend.api.impl.FrontendImpl.installService(String, String, String) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 136 | Medium |
Useless object stored in variable srv of method org.universAAL.tools.ucc.frontend.api.impl.FrontendImpl.uninstallService(String, String) | STYLE | UC_USELESS_OBJECT | 682 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Incorrect lazy initialization and update of static field org.universAAL.tools.ucc.service.impl.Model.doc in org.universAAL.tools.ucc.service.impl.Model.getSrvDocument() | MT_CORRECTNESS | LI_LAZY_INIT_UPDATE_STATIC | 40 | Medium |
org.universAAL.tools.ucc.service.impl.Model.SERVICEFILENAME should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | Medium | |
Exception is caught when Exception is not thrown in org.universAAL.tools.ucc.service.impl.Model.getSrvDocument() | STYLE | REC_CATCH_EXCEPTION | 70 | Medium |
Write to static field org.universAAL.tools.ucc.service.impl.Model.SERVICEFILENAME from instance method new org.universAAL.tools.ucc.service.impl.Model() | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 28 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.universAAL.tools.ucc.service.impl.ServiceManagment.getInstalledServices() concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 33 | Medium |
org.universAAL.tools.ucc.service.impl.ServiceManagment.getInstalledUnitsForService(String) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 64 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.universAAL.tools.ucc.service.manager.Activator.start(BundleContext): new java.io.FileWriter(File) | I18N | DM_DEFAULT_ENCODING | 88 | High |
org.universAAL.tools.ucc.service.manager.Activator.bc isn't final and can't be protected from malicious code | MALICIOUS_CODE | MS_CANNOT_BE_FINAL | Medium | |
Possible null pointer dereference in org.universAAL.tools.ucc.service.manager.Activator.deleteFiles(File) due to return value of called method | STYLE | NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE | 229 | Medium |
org.universAAL.tools.ucc.service.manager.Activator.start(BundleContext) may fail to clean up java.io.Writer on checked exception | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE | 88 | Medium |
Exceptional return value of java.io.File.delete() ignored in org.universAAL.tools.ucc.service.manager.Activator.deleteFiles(File) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 234 | Medium |
Exceptional return value of java.io.File.mkdir() ignored in org.universAAL.tools.ucc.service.manager.Activator.start(BundleContext) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 67 | Medium |
Write to static field org.universAAL.tools.ucc.service.manager.Activator.bc from instance method org.universAAL.tools.ucc.service.manager.Activator.start(BundleContext) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 55 | Medium |
Write to static field org.universAAL.tools.ucc.service.manager.Activator.bc from instance method org.universAAL.tools.ucc.service.manager.Activator.stop(BundleContext) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 221 | Medium |
Unwritten field: org.universAAL.tools.ucc.service.manager.Activator.client | CORRECTNESS | UWF_UNWRITTEN_FIELD | 147 | Medium |
Unwritten field: org.universAAL.tools.ucc.service.manager.Activator.ref | CORRECTNESS | UWF_UNWRITTEN_FIELD | 184 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to installer in new org.universAAL.tools.ucc.windows.DeployConfigView(UccUI, String, String) | STYLE | DLS_DEAD_LOCAL_STORE | 33 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in new org.universAAL.tools.ucc.windows.LicenceWindow(UccUI, ArrayList, Service, UAPP): new java.io.FileReader(File) | I18N | DM_DEFAULT_ENCODING | 85 | High |
new org.universAAL.tools.ucc.windows.LicenceWindow(UccUI, ArrayList, Service, UAPP) may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 87 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Call to org.universAAL.tools.ucc.model.jaxb.EnumObject.equals(String) in org.universAAL.tools.ucc.windows.SelectUserWindow.addUserToList() | CORRECTNESS | EC_UNRELATED_TYPES | 265 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.universAAL.tools.ucc.windows.UccUI.init(): new java.io.FileReader(File) | I18N | DM_DEFAULT_ENCODING | 69 | High |
org.universAAL.tools.ucc.windows.UccUI.init() may fail to clean up java.io.Reader | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION | 69 | Medium |
org.universAAL.tools.ucc.windows.UccUI.init() may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 69 | Medium |
Exceptional return value of java.io.File.mkdir() ignored in org.universAAL.tools.ucc.windows.UccUI.init() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 92 | Medium |
Class org.universAAL.tools.ucc.windows.UccUI defines non-transient non-serializable instance field context | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
Class org.universAAL.tools.ucc.windows.UccUI defines non-transient non-serializable instance field res | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
Write to static field org.universAAL.tools.ucc.windows.UccUI.uccUI from instance method org.universAAL.tools.ucc.windows.UccUI.init() | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 65 | High |
Write to static field org.universAAL.tools.ucc.windows.UccUI.loginWindow from instance method org.universAAL.tools.ucc.windows.UccUI.createLogin() | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 167 | Medium |