Source file "org/mockserver/netty/unification/PortUnificationHandler.java" was not found during generation of report.
Element | Missed Instructions | Cov. | Missed Branches | Cov. | Missed | Cxty | Missed | Lines | Missed | Methods |
Total | 1,267 of 1,267 | 0% | 100 of 100 | 0% | 82 | 82 | 231 | 231 | 32 | 32 |
switchToHttp(ChannelHandlerContext, ByteBuf) | ![]() | 0% | ![]() | 0% | 5 | 5 | 36 | 36 | 1 | 1 |
switchToHttp2(ChannelHandlerContext, ByteBuf) | ![]() | 0% | ![]() | 0% | 3 | 3 | 21 | 21 | 1 | 1 |
decode(ChannelHandlerContext, ByteBuf, List) | ![]() | 0% | ![]() | 0% | 9 | 9 | 27 | 27 | 1 | 1 |
exceptionCaught(ChannelHandlerContext, Throwable) | ![]() | 0% | ![]() | 0% | 8 | 8 | 20 | 20 | 1 | 1 |
switchToProxyConnected(ChannelHandlerContext, ByteBuf) | ![]() | 0% | ![]() | 0% | 5 | 5 | 14 | 14 | 1 | 1 |
calculateLocalAddresses(InetSocketAddress, String) | ![]() | 0% | n/a | 1 | 1 | 8 | 8 | 1 | 1 | |
enableSocks(ChannelHandlerContext, ByteBuf, ReplayingDecoder, ChannelHandler[]) | ![]() | 0% | ![]() | 0% | 3 | 3 | 9 | 9 | 1 | 1 |
PortUnificationHandler(Configuration, LifeCycle, HttpState, HttpActionHandler, NettySslContextFactory) | ![]() | 0% | n/a | 1 | 1 | 12 | 12 | 1 | 1 | |
getLocalAddresses(ChannelHandlerContext) | ![]() | 0% | ![]() | 0% | 4 | 4 | 11 | 11 | 1 | 1 |
isHttp(ByteBuf) | ![]() | 0% | ![]() | 0% | 10 | 10 | 10 | 10 | 1 | 1 |
logStage(ChannelHandlerContext, String) | ![]() | 0% | ![]() | 0% | 2 | 2 | 6 | 6 | 1 | 1 |
enableTls(ChannelHandlerContext, ByteBuf) | ![]() | 0% | n/a | 1 | 1 | 5 | 5 | 1 | 1 | |
calculatePortExtension(InetSocketAddress, boolean) | ![]() | 0% | ![]() | 0% | 5 | 5 | 5 | 5 | 1 | 1 |
enableSocks4(ChannelHandlerContext, ByteBuf) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
enableSocks5(ChannelHandlerContext, ByteBuf) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
switchToBinaryRequestProxying(ChannelHandlerContext, ByteBuf) | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
nettySslContextFactory(Channel) | ![]() | 0% | ![]() | 0% | 2 | 2 | 3 | 3 | 1 | 1 |
static {...} | ![]() | 0% | n/a | 1 | 1 | 6 | 6 | 1 | 1 | |
addLastIfNotPresent(ChannelPipeline, ChannelHandler) | ![]() | 0% | ![]() | 0% | 2 | 2 | 3 | 3 | 1 | 1 |
isSslEnabledUpstream(Channel) | ![]() | 0% | ![]() | 0% | 2 | 2 | 3 | 3 | 1 | 1 |
isSslEnabledDownstream(Channel) | ![]() | 0% | ![]() | 0% | 2 | 2 | 3 | 3 | 1 | 1 |
isHttpEnabled(Channel) | ![]() | 0% | ![]() | 0% | 2 | 2 | 3 | 3 | 1 | 1 |
isHttp2Enabled(Channel) | ![]() | 0% | ![]() | 0% | 2 | 2 | 3 | 3 | 1 | 1 |
readMessage(ByteBuf) | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
enableSslUpstreamAndDownstream(Channel) | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
isProxyConnected(ByteBuf) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
enableSslDownstream(Channel) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
disableSslDownstream(Channel) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
httpEnabled(Channel) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
http2Enabled(Channel) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
lambda$switchToHttp$0(ChannelFuture) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
isTls(ByteBuf) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 |