FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.1

Threshold is low

Effort is max

Summary

Classes Bugs Errors Missing Classes
12 15 0 0

org.openecomp.appc.sdc.listener.AsdcCallback

Bug Category Details Line Priority
Exceptional return value of java.util.concurrent.ThreadPoolExecutor.submit(Runnable) ignored in org.openecomp.appc.sdc.listener.AsdcCallback.activateCallback(INotificationData) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 93 Low
Useless control flow in org.openecomp.appc.sdc.listener.AsdcCallback.activateCallback(INotificationData) STYLE UCF_USELESS_CONTROL_FLOW 90 Low

org.openecomp.appc.sdc.listener.AsdcConfig

Bug Category Details Line Priority
Boxing/unboxing to parse a primitive org.openecomp.appc.sdc.listener.AsdcConfig.init() PERFORMANCE DM_BOXED_PRIMITIVE_FOR_PARSING 77 High
Self comparison of AsdcConfig.pollingInterval with itself in org.openecomp.appc.sdc.listener.AsdcConfig.init() CORRECTNESS SA_FIELD_SELF_COMPARISON 88 Medium

org.openecomp.appc.sdc.listener.AsdcListener

Bug Category Details Line Priority
Exception is caught when Exception is not thrown in org.openecomp.appc.sdc.listener.AsdcListener.initialRegistration(AsdcConfig) STYLE REC_CATCH_EXCEPTION 126 Low
Return value of java.util.concurrent.CountDownLatch.await(long, TimeUnit) ignored in org.openecomp.appc.sdc.listener.AsdcListener.stop() CORRECTNESS RV_RETURN_VALUE_IGNORED 89 Medium

org.openecomp.appc.sdc.listener.DownloadAndStoreOp

Bug Category Details Line Priority
Nullcheck of DownloadAndStoreOp.artifact at line 113 of value previously dereferenced in org.openecomp.appc.sdc.listener.DownloadAndStoreOp.run() CORRECTNESS RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE 89 Medium

org.openecomp.appc.sdc.listener.ProviderOperations

Bug Category Details Line Priority
Found reliance on default encoding in org.openecomp.appc.sdc.listener.ProviderOperations.setAuthentication(String, String): new String(byte[]) I18N DM_DEFAULT_ENCODING 127 High
Found reliance on default encoding in org.openecomp.appc.sdc.listener.ProviderOperations.setAuthentication(String, String): String.getBytes() I18N DM_DEFAULT_ENCODING 127 High
Exception is caught when Exception is not thrown in org.openecomp.appc.sdc.listener.ProviderOperations.getHttpClient(URL) STYLE REC_CATCH_EXCEPTION 156 Medium

org.openecomp.appc.sdc.listener.ProviderOperations$MySSLSocketFactory$1

Bug Category Details Line Priority
Should org.openecomp.appc.sdc.listener.ProviderOperations$MySSLSocketFactory$1.getAcceptedIssuers() return a zero length array rather than null? STYLE PZLA_PREFER_ZERO_LENGTH_ARRAYS 187 Low
The class org.openecomp.appc.sdc.listener.ProviderOperations$MySSLSocketFactory$1 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 176-187 Low

org.openecomp.appc.sdc.listener.Util

Bug Category Details Line Priority
Dead store to id in org.openecomp.appc.sdc.listener.Util.parseResponse(String) STYLE DLS_DEAD_LOCAL_STORE 76 Low

org.openecomp.tlv.sdc.security.Passwords

Bug Category Details Line Priority
Found reliance on default encoding in org.openecomp.tlv.sdc.security.Passwords.hashPassword(String): String.getBytes() I18N DM_DEFAULT_ENCODING 55 High
Found reliance on default encoding in org.openecomp.tlv.sdc.security.Passwords.isExpectedPassword(String, String, String): String.getBytes() I18N DM_DEFAULT_ENCODING 88 High