SpotBugs Bug Detector Report

The following document contains the results of SpotBugs[1]

SpotBugs Version is 4.9.3

Threshold is medium

Effort is default

Summary

Classes Bugs Errors Missing Classes
7 4 0 0

Files

Class Bugs
org.metricshub.http.HttpClient 3
org.metricshub.http.ProtocolOverridingSSLSocketFactory 1

org.metricshub.http.HttpClient

Bug Category Details Line Priority
org.metricshub.http.HttpClient.<static initializer for HttpClient>() might ignore java.security.KeyManagementException BAD_PRACTICE DE_MIGHT_IGNORE[2] 112[3] Medium
org.metricshub.http.HttpClient.<static initializer for HttpClient>() might ignore java.security.NoSuchAlgorithmException BAD_PRACTICE DE_MIGHT_IGNORE[2] 112[3] Medium
Possible null pointer dereference of sc in org.metricshub.http.HttpClient.<static initializer for HttpClient>() on exception path CORRECTNESS NP_NULL_ON_SOME_PATH_EXCEPTION[4] 113[5] Medium

org.metricshub.http.ProtocolOverridingSSLSocketFactory

Bug Category Details Line Priority
new org.metricshub.http.ProtocolOverridingSSLSocketFactory(SSLSocketFactory, String[]) may expose internal representation by storing an externally mutable object into ProtocolOverridingSSLSocketFactory.enabledProtocols MALICIOUS_CODE EI_EXPOSE_REP2[6] 49[7] Medium
http
Links:
  • [1] https://spotbugs.github.io/
  • [2] https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#DE_MIGHT_IGNORE
  • [3] ./xref/org/metricshub/http/HttpClient.html#L112
  • [4] https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#NP_NULL_ON_SOME_PATH_EXCEPTION
  • [5] ./xref/org/metricshub/http/HttpClient.html#L113
  • [6] https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#EI_EXPOSE_REP2
  • [7] ./xref/org/metricshub/http/ProtocolOverridingSSLSocketFactory.html#L49
Searching...
No results.