WMI Java Client 1.0.03
-
Home
- Project Documentation Project Reports 10
SpotBugs Bug Detector Report
The following document contains the results of SpotBugs[1]
SpotBugs Version is 4.9.2
Threshold is medium
Effort is default
Summary
Classes | Bugs | Errors | Missing Classes |
---|---|---|---|
26 | 16 | 0 | 0 |
Files
org.metricshub.wmi.WqlQuery
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.metricshub.wmi.WqlQuery.getSelectedProperties() may expose internal representation by returning WqlQuery.selectedProperties | MALICIOUS_CODE | EI_EXPOSE_REP[2] | 230[3] | Medium |
org.metricshub.wmi.WqlQuery.getSubPropertiesMap() may expose internal representation by returning WqlQuery.subPropertiesMap | MALICIOUS_CODE | EI_EXPOSE_REP[2] | 234[4] | Medium |
org.metricshub.wmi.remotecommand.RemoteProcess
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Possible null pointer dereference of returnCode in org.metricshub.wmi.remotecommand.RemoteProcess.killProcess(WmiWbemServices, int) | CORRECTNESS | NP_NULL_ON_SOME_PATH[5] | 234[6] | Medium |
org.metricshub.wmi.wbem.CoAuthIdentity
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread public/protected field: org.metricshub.wmi.wbem.CoAuthIdentity.domainLength | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD[7] | 76[8] | Medium |
Unread public/protected field: org.metricshub.wmi.wbem.CoAuthIdentity.flags | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD[7] | 95[9] | Medium |
Unread public/protected field: org.metricshub.wmi.wbem.CoAuthIdentity.passwordLength | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD[7] | 88[10] | Medium |
Unread public/protected field: org.metricshub.wmi.wbem.CoAuthIdentity.userLength | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD[7] | 70[11] | Medium |
org.metricshub.wmi.wbem.WmiCimTypeHandler
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Check for sign of bitwise operation in org.metricshub.wmi.wbem.WmiCimTypeHandler.convert(Variant$VARIANT$ByReference, int, Map$Entry) | BAD_PRACTICE | BIT_SIGNED_CHECK[12] | 340[13] | Medium |
org.metricshub.wmi.wbem.WmiComHelper
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Result of integer multiplication cast to long in org.metricshub.wmi.wbem.WmiComHelper.comInvokerInvokeNativeObject(Pointer, int, Object[], Class) | STYLE | ICAST_INTEGER_MULTIPLY_CAST_TO_LONG[14] | 144[15] | Medium |
org.metricshub.wmi.wbem.WmiWbemServices
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.metricshub.wmi.wbem.WmiWbemServices.getAuthIdent() may expose internal representation by returning WmiWbemServices.authIdent | MALICIOUS_CODE | EI_EXPOSE_REP[2] | 1450[16] | Medium |
org.metricshub.wmi.wbem.WmiWbemServices.getContext() may expose internal representation by returning WmiWbemServices.context | MALICIOUS_CODE | EI_EXPOSE_REP[2] | 1446[17] | Medium |
org.metricshub.wmi.wbem.WmiWbemServices.getPassword() may expose internal representation by returning WmiWbemServices.password | MALICIOUS_CODE | EI_EXPOSE_REP[2] | 1434[18] | Medium |
org.metricshub.wmi.wbem.WmiWbemServices.getWbemLocator() may expose internal representation by returning WmiWbemServices.wbemLocator | MALICIOUS_CODE | EI_EXPOSE_REP[2] | 1442[19] | Medium |
org.metricshub.wmi.wbem.WmiWbemServices.getWbemServices() may expose internal representation by returning WmiWbemServices.wbemServices | MALICIOUS_CODE | EI_EXPOSE_REP[2] | 1438[20] | Medium |
org.metricshub.wmi.windows.remote.WindowsRemoteProcessUtils
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Possible null pointer dereference in org.metricshub.wmi.windows.remote.WindowsRemoteProcessUtils.copyToShare(Path, String, String) due to return value of called method | STYLE | NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE[21] | 221[22] | Medium |
Possible null pointer dereference in org.metricshub.wmi.windows.remote.WindowsRemoteProcessUtils.copyToShare(Path, String, String) due to return value of called method | STYLE | NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE[21] | 222[23] | Medium |
Search Results for {{siteSearch | truncate:'50'}}
{{resultArray.length}}
No results.