WebFramework

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total0 of 1,333100%0 of 98100%01180253069
lambda$makePrimaryHttpHandler$5(ISocketWrapper, ITheBrig)172100%10100%0604301
processRequest(ISocketWrapper, RequestLine, Headers)94100%6100%0401801
readStaticFile(String, Headers)91100%10100%0602101
WebFramework(Context, ZonedDateTime, IFileReader)89100%2100%0202001
findEndpointForThisStartline(RequestLine, Headers)57100%6100%0401201
readExtraMimeMappings(List)51100%8100%050801
addDefaultHeaders(IResponse)44100%n/a010601
addDefaultValuesForMimeMap()43100%n/a010801
compressBodyIfRequested(Response, List, StringBuilder, int)33100%8100%050601
potentiallyCompress(Headers, Response, StringBuilder)32100%4100%030701
determineIfKeepAlive(RequestLine, Headers, ILogger)29100%6100%040801
handleIOException(ISocketWrapper, IOException, ILogger, ITheBrig, UnderInvestigation, int)28100%4100%030601
getProcessedRequestLine(ISocketWrapper, String)28100%n/a010501
isThereIsABody(Headers)26100%8100%050501
findHandlerByPartialMatch(RequestLine)25100%2100%020701
dumpIfAttacker(ISocketWrapper, ITheBrig)22100%2100%020601
findHandlerByFilesOnDisk(RequestLine, Headers)22100%4100%030501
checkIfSuspiciousPath(ISocketWrapper, RequestLine)21100%2100%020601
handleForbiddenUse(ISocketWrapper, ForbiddenUseException, ILogger, ITheBrig, int)20100%2100%020501
confirmBodyHasContentType(IRequest, Response)20100%2100%020401
lambda$processRequest$13(ISocketWrapper, RequestLine, long, long)20100%n/a010101
lambda$makePrimaryHttpHandler$4(ISocketWrapper, RequestLine, long, long)20100%n/a010101
lambda$findHandlerByPartialMatch$31(String, RequestLine, Map.Entry)19100%4100%030201
getHeaders(ISocketWrapper)18100%n/a010401
createOkResponseForLargeStaticFiles(String, Path, Headers)17100%n/a010301
handleReadTimedOut(ISocketWrapper, IOException, ILogger)16100%2100%020401
dumpIfAttacker(ISocketWrapper, FullSystem)16100%4100%030601
createOkResponseForStaticFiles(byte[], String)14100%n/a010201
lambda$readStaticFile$30(String, IOException)14100%n/a010101
addOptionalExtraHeaders(IResponse, StringBuilder)13100%n/a010501
addKeepAliveTimeout(boolean, StringBuilder)13100%2100%020301
registerPath(RequestLine.Method, String, ThrowingFunction)11100%n/a010201
registerPartialPath(RequestLine.Method, String, ThrowingFunction)11100%n/a010201
applyContentLength(StringBuilder, long)9100%n/a010201
lambda$readStaticFile$29(String)9100%n/a010101
lambda$readStaticFile$28(String)9100%n/a010101
lambda$confirmBodyHasContentType$22(Map.Entry)8100%n/a010101
lambda$addOptionalExtraHeaders$21(Map.Entry)8100%n/a010101
lambda$makePrimaryHttpHandler$3(IRequest)8100%n/a010201
addMimeForSuffix(String, String)7100%n/a010201
lambda$processRequest$12(ThrowingFunction, int, Exception)7100%n/a010101
lambda$handleReadTimedOut$11(IOException, ISocketWrapper)7100%n/a010101
getSuffixToMimeMappings()6100%n/a010101
WebFramework(Context)6100%n/a010201
WebFramework(Context, ZonedDateTime)6100%n/a010201
lambda$potentiallyCompress$23(Map.Entry)6100%n/a010101
lambda$getProcessedRequestLine$17(ISocketWrapper, RequestLine)6100%n/a010101
lambda$handleForbiddenUse$8(ISocketWrapper, ForbiddenUseException)6100%n/a010101
makePrimaryHttpHandler(ISocketWrapper, ITheBrig)5100%n/a010101
lambda$getProcessedRequestLine$16(ISocketWrapper, String)5100%n/a010101
lambda$getHeaders$14(Headers)5100%n/a010101
lambda$handleReadTimedOut$10(ISocketWrapper)5100%n/a010101
lambda$handleIOException$7(ISocketWrapper, String)5100%n/a010101
registerPreHandler(ThrowingFunction)4100%n/a010201
registerLastMinuteHandler(ThrowingFunction)4100%n/a010201
lambda$readExtraMimeMappings$32(String, String)4100%n/a010101
lambda$findEndpointForThisStartline$24(RequestLine)4100%n/a010101
lambda$addDefaultHeaders$20()4100%n/a010101
lambda$isThereIsABody$19(String)4100%n/a010101
lambda$handleIOException$6(IOException)4100%n/a010101
lambda$makePrimaryHttpHandler$2(Headers)4100%n/a010101
lambda$findEndpointForThisStartline$26(String)3100%n/a010101
lambda$findEndpointForThisStartline$25(String)3100%n/a010101
lambda$determineIfKeepAlive$15(boolean)3100%n/a010101
lambda$findHandlerByFilesOnDisk$27(IResponse, IRequest)2100%n/a010101
lambda$dumpIfAttacker$18(String)2100%n/a010101
lambda$handleForbiddenUse$9()2100%n/a010101
lambda$makePrimaryHttpHandler$1()2100%n/a010101
lambda$makePrimaryHttpHandler$0()2100%n/a010101