SpotBugs Bug Detector Report
The following document contains the results of SpotBugs
SpotBugs Version is 4.8.1
Threshold is medium
Effort is default
Summary
Classes |
Bugs |
Errors |
Missing Classes |
13 |
20 |
0 |
0 |
org.apache.tiles.request.jakarta.servlet.ExternalWriterHttpServletResponse
Bug |
Category |
Details |
Line |
Priority |
org.apache.tiles.request.jakarta.servlet.ExternalWriterHttpServletResponse.getWriter() may expose internal representation by returning ExternalWriterHttpServletResponse.writer |
MALICIOUS_CODE |
EI_EXPOSE_REP |
59 |
Medium |
new org.apache.tiles.request.jakarta.servlet.ExternalWriterHttpServletResponse(HttpServletResponse, PrintWriter) may expose internal representation by storing an externally mutable object into ExternalWriterHttpServletResponse.writer |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
48 |
Medium |
org.apache.tiles.request.jakarta.servlet.ServletApplicationContext
Bug |
Category |
Details |
Line |
Priority |
org.apache.tiles.request.jakarta.servlet.ServletApplicationContext.getApplicationScope() may expose internal representation by returning ServletApplicationContext.applicationScope |
MALICIOUS_CODE |
EI_EXPOSE_REP |
87 |
Medium |
org.apache.tiles.request.jakarta.servlet.ServletApplicationContext.getContext() may expose internal representation by returning ServletApplicationContext.servletContext |
MALICIOUS_CODE |
EI_EXPOSE_REP |
73 |
Medium |
org.apache.tiles.request.jakarta.servlet.ServletApplicationContext.getInitParams() may expose internal representation by returning ServletApplicationContext.initParam |
MALICIOUS_CODE |
EI_EXPOSE_REP |
102 |
Medium |
new org.apache.tiles.request.jakarta.servlet.ServletApplicationContext(ServletContext) may expose internal representation by storing an externally mutable object into ServletApplicationContext.servletContext |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
64 |
Medium |
org.apache.tiles.request.jakarta.servlet.ServletRequest
Bug |
Category |
Details |
Line |
Priority |
org.apache.tiles.request.jakarta.servlet.ServletRequest.getAvailableScopes() may expose internal representation by returning ServletRequest.SCOPES |
MALICIOUS_CODE |
EI_EXPOSE_REP |
267 |
Medium |
org.apache.tiles.request.jakarta.servlet.ServletRequest.getHeader() may expose internal representation by returning ServletRequest.header |
MALICIOUS_CODE |
EI_EXPOSE_REP |
142 |
Medium |
org.apache.tiles.request.jakarta.servlet.ServletRequest.getHeaderValues() may expose internal representation by returning ServletRequest.headerValues |
MALICIOUS_CODE |
EI_EXPOSE_REP |
174 |
Medium |
org.apache.tiles.request.jakarta.servlet.ServletRequest.getOutputStream() may expose internal representation by returning ServletRequest.outputStream |
MALICIOUS_CODE |
EI_EXPOSE_REP |
355 |
Medium |
org.apache.tiles.request.jakarta.servlet.ServletRequest.getParam() may expose internal representation by returning ServletRequest.param |
MALICIOUS_CODE |
EI_EXPOSE_REP |
190 |
Medium |
org.apache.tiles.request.jakarta.servlet.ServletRequest.getPrintWriter() may expose internal representation by returning ServletRequest.writer |
MALICIOUS_CODE |
EI_EXPOSE_REP |
412 |
Medium |
org.apache.tiles.request.jakarta.servlet.ServletRequest.getRequestScope() may expose internal representation by returning ServletRequest.requestScope |
MALICIOUS_CODE |
EI_EXPOSE_REP |
239 |
Medium |
org.apache.tiles.request.jakarta.servlet.ServletRequest.getResponse() may expose internal representation by returning ServletRequest.response |
MALICIOUS_CODE |
EI_EXPOSE_REP |
473 |
Medium |
org.apache.tiles.request.jakarta.servlet.ServletRequest.getResponseHeaders() may expose internal representation by returning ServletRequest.responseHeaders |
MALICIOUS_CODE |
EI_EXPOSE_REP |
157 |
Medium |
org.apache.tiles.request.jakarta.servlet.ServletRequest.getSessionScope() may expose internal representation by returning ServletRequest.sessionScope |
MALICIOUS_CODE |
EI_EXPOSE_REP |
252 |
Medium |
new org.apache.tiles.request.jakarta.servlet.ServletRequest(ApplicationContext, HttpServletRequest, HttpServletResponse) may expose internal representation by storing an externally mutable object into ServletRequest.response |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
126 |
Medium |
org.apache.tiles.request.jakarta.servlet.extractor.ApplicationScopeExtractor
Bug |
Category |
Details |
Line |
Priority |
new org.apache.tiles.request.jakarta.servlet.extractor.ApplicationScopeExtractor(ServletContext) may expose internal representation by storing an externally mutable object into ApplicationScopeExtractor.context |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
43 |
Medium |
org.apache.tiles.request.jakarta.servlet.extractor.HeaderExtractor
Bug |
Category |
Details |
Line |
Priority |
new org.apache.tiles.request.jakarta.servlet.extractor.HeaderExtractor(HttpServletRequest, HttpServletResponse) may expose internal representation by storing an externally mutable object into HeaderExtractor.response |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
53 |
Medium |
org.apache.tiles.request.jakarta.servlet.extractor.InitParameterExtractor
Bug |
Category |
Details |
Line |
Priority |
new org.apache.tiles.request.jakarta.servlet.extractor.InitParameterExtractor(ServletContext) may expose internal representation by storing an externally mutable object into InitParameterExtractor.context |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
43 |
Medium |