The following document contains the results of SpotBugs
SpotBugs Version is 4.8.3
Threshold is medium
Effort is default
Summary
Classes |
Bugs |
Errors |
Missing Classes |
48 |
8 |
0 |
6 |
io.wcm.caravan.io.http.impl.ArchaiusConfig
Bug |
Category |
Details |
Line |
Priority |
Public static io.wcm.caravan.io.http.impl.ArchaiusConfig.getConfiguration() may expose internal representation by returning ArchaiusConfig.OSGI_CONFIG |
MALICIOUS_CODE |
MS_EXPOSE_REP |
91 |
Medium |
io.wcm.caravan.io.http.impl.CaravanHttpClientImpl$Context
Bug |
Category |
Details |
Line |
Priority |
Should io.wcm.caravan.io.http.impl.CaravanHttpClientImpl$Context be a _static_ inner class? |
PERFORMANCE |
SIC_INNER_SHOULD_BE_STATIC |
178-181 |
Medium |
io.wcm.caravan.io.http.impl.CaravanHttpClientImpl$ErrorDisassembleroperator
Bug |
Category |
Details |
Line |
Priority |
Should io.wcm.caravan.io.http.impl.CaravanHttpClientImpl$ErrorDisassembleroperator be a _static_ inner class? |
PERFORMANCE |
SIC_INNER_SHOULD_BE_STATIC |
185-197 |
Medium |
io.wcm.caravan.io.http.impl.RequestUtil
Bug |
Category |
Details |
Line |
Priority |
Concatenating user-controlled input into a URL |
SECURITY |
HTTP_PARAMETER_POLLUTION |
114 |
Medium |
io.wcm.caravan.io.http.impl.ribbon.SimpleLoadBalancerFactory
Bug |
Category |
Details |
Line |
Priority |
Do not catch NullPointerException like in io.wcm.caravan.io.http.impl.ribbon.SimpleLoadBalancerFactory.getLoadBalancer(String) |
STYLE |
DCN_NULLPOINTER_EXCEPTION |
50 |
Medium |
io.wcm.caravan.io.http.impl.servletclient.HttpServletRequestMapper
Bug |
Category |
Details |
Line |
Priority |
Exception thrown in class io.wcm.caravan.io.http.impl.servletclient.HttpServletRequestMapper at new io.wcm.caravan.io.http.impl.servletclient.HttpServletRequestMapper(CaravanHttpRequest) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. |
BAD_PRACTICE |
CT_CONSTRUCTOR_THROW |
88 |
Medium |
Found reliance on default encoding in io.wcm.caravan.io.http.impl.servletclient.HttpServletRequestMapper.getReader(): new java.io.InputStreamReader(InputStream) |
I18N |
DM_DEFAULT_ENCODING |
193 |
High |
io.wcm.caravan.io.http.impl.servletclient.HttpServletResponseMapper
Bug |
Category |
Details |
Line |
Priority |
Found reliance on default encoding in io.wcm.caravan.io.http.impl.servletclient.HttpServletResponseMapper.getWriter(): new java.io.PrintWriter(OutputStream) |
I18N |
DM_DEFAULT_ENCODING |
84 |
High |