CorsFilter

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total37 of 96896%11 of 14292%131008255227
handleInvalidCORS(HttpServletRequest, HttpServletResponse, FilterChain)182457%1150%121901
readObject(ObjectInputStream)70%n/a113311
handlePreflightCORS(HttpServletRequest, HttpServletResponse, FilterChain)612995%21890%21123001
handleNonCORS(HttpServletRequest, HttpServletResponse, FilterChain)3872%1150%121401
isValidOrigin(String)30%n/a111111
parseAndStore(String, String, String, String, String, String, String)126100%10100%0603101
checkRequestType(HttpServletRequest)106100%13196%11703501
addStandardHeaders(HttpServletRequest, HttpServletResponse)100100%51777%51202701
decorateCORSProperties(HttpServletRequest, CorsFilter.CORSRequestType)77100%10100%0702201
handleSimpleCORS(HttpServletRequest, HttpServletResponse, FilterChain)64100%8100%0501401
doFilter(ServletRequest, ServletResponse, FilterChain)58100%10100%0701601
join(Collection, String)45100%10100%0601501
parseStringToSet(String)43100%1787%150801
init()31100%n/a010801
CorsFilter()27100%n/a010601
getMediaType(String)25100%4100%030801
static {...}24100%n/a010301
getInitParameter(String, String)10100%2100%020401
isOriginAllowed(String)10100%2100%020301
isAnyOriginAllowed()3100%n/a010101
getExposedHeaders()3100%n/a010101
isSupportsCredentials()3100%n/a010101
getPreflightMaxAge()3100%n/a010101
getAllowedOrigins()3100%n/a010101
getAllowedHttpMethods()3100%n/a010101
getAllowedHttpHeaders()3100%n/a010101
isDecorateRequest()3100%n/a010101