CorsFilter

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total32 of 97396%12 of 14491%131016255127
handleInvalidCORS(HttpServletRequest, HttpServletResponse, FilterChain)182457%1150%121901
handlePreflightCORS(HttpServletRequest, HttpServletResponse, FilterChain)612995%21890%21123001
handleNonCORS(HttpServletRequest, HttpServletResponse, FilterChain)3872%1150%121401
isValidOrigin(String)30%n/a111111
getInitParameter(FilterConfig, String, String)21285%1375%131601
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(FilterConfig)38100%n/a010801
CorsFilter()27100%n/a010601
getMediaType(String)25100%4100%030801
static {...}24100%n/a010301
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
destroy()100%n/a010101