MockHttpServletRequest

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total565 of 5650%40 of 400%1011011361368181
getHeaders(String)490%60%447711
getHeader(String)360%80%556611
setHeaders(Map)300%20%224411
getHeaderNames()270%40%336611
MockHttpServletRequest(HttpServletRequest)220%n/a118811
setHeader(String, List)190%20%225511
getReader()170%20%223311
getAttribute(String)130%20%223311
getAttributeNames()120%20%223311
getAsyncContext()100%20%223311
getCharacterEncoding()100%20%223311
getDispatcherType()100%20%223311
getInputStream()100%20%223311
preProcessHeaderName(String)70%20%223311
lambda$getHeaderNames$0(Set, String)70%n/a111111
setAttribute(String, Object)60%n/a112211
startAsync(ServletRequest, ServletResponse)60%n/a111111
getDateHeader(String)60%n/a111111
getIntHeader(String)60%n/a111111
login(String, String)60%n/a112211
lambda$getHeaders$1(String)60%20%221111
getContentLengthLong()50%n/a111111
getParameter(String)50%n/a111111
getParameterValues(String)50%n/a111111
getRealPath(String)50%n/a111111
getRequestDispatcher(String)50%n/a111111
removeAttribute(String)50%n/a112211
setCharacterEncoding(String)50%n/a112211
authenticate(HttpServletResponse)50%n/a111111
getPart(String)50%n/a111111
getSession(boolean)50%n/a111111
isUserInRole(String)50%n/a111111
upgrade(Class)50%n/a111111
getHttpServletRequest()40%n/a111111
setAsyncContext(AsyncContext)40%n/a112211
setAttributes(Map)40%n/a112211
setWrappedCharacterEncoding(String)40%n/a112211
getContentLength()40%n/a111111
getContentType()40%n/a111111
setDispatcherType(DispatcherType)40%n/a112211
getLocalAddr()40%n/a111111
getLocalName()40%n/a111111
getLocalPort()40%n/a111111
getLocale()40%n/a111111
getLocales()40%n/a111111
getParameterMap()40%n/a111111
getParameterNames()40%n/a111111
getProtocol()40%n/a111111
getRemoteAddr()40%n/a111111
getRemoteHost()40%n/a111111
getRemotePort()40%n/a111111
getScheme()40%n/a111111
getServerName()40%n/a111111
getServerPort()40%n/a111111
getServletContext()40%n/a111111
isAsyncStarted()40%n/a111111
isAsyncSupported()40%n/a111111
isSecure()40%n/a111111
startAsync()40%n/a111111
changeSessionId()40%n/a111111
getAuthType()40%n/a111111
getContextPath()40%n/a111111
getCookies()40%n/a111111
getMethod()40%n/a111111
getParts()40%n/a111111
getPathInfo()40%n/a111111
getPathTranslated()40%n/a111111
getQueryString()40%n/a111111
getRemoteUser()40%n/a111111
getRequestURI()40%n/a111111
getRequestURL()40%n/a111111
getServletPath()40%n/a111111
getSession()40%n/a111111
getUserPrincipal()40%n/a111111
isRequestedSessionIdFromCookie()40%n/a111111
isRequestedSessionIdFromURL()40%n/a111111
isRequestedSessionIdFromUrl()40%n/a111111
isRequestedSessionIdValid()40%n/a111111
logout()40%n/a112211
setInputStream(MockServletInputStream)40%n/a112211
getRequestedSessionId()20%n/a111111