AFSocket

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total168 of 58671%32 of 9265%3798491621051
bind(SocketAddress)25619%5116%346801
newInstance(AFSocket.Constructor, AFSocketFactory, FileDescriptor, int, int)173466%4450%4641601
initCapabilities()162863%3562%353901
checkConnectionClosed()151244%4233%3481201
connectTo(AFSocketAddress)120%n/a113311
connect0(SocketAddress, int)104581%3975%3721601
supports(AFUNIXSocketCapability)90%20%221111
toStringSuffix()8746%1150%121301
setShutdownOnClose(boolean)60%n/a112211
lambda$forceConnectAddress$0(SocketAddress, SocketAddress)60%20%221111
getVersion()51372%2250%233601
ensureUnsafeSupported()5444%1150%121301
ensureAncillaryReceiveBufferSize(int)50%n/a112211
getImplExtensions()50%n/a111111
forceConnectAddress(SocketAddress)50%n/a111111
connectHook(SocketAddressFilter)50%n/a112211
internalDummyConnect()4450%1150%121301
close()31076%n/a012701
getLocalSocketAddress()2777%1150%121301
ensureSupported()20%n/a112211
isRunningOnAndroid()20%n/a111111
getAFImpl(boolean)11593%4100%031501
AFSocket(AFSocketImpl, AFSocketAddressFromHostname)25100%n/a010801
preprocessSocketAddress(SocketAddress)20100%4100%030501
isClosed()19100%2675%250101
isBound()16100%6100%040101
isConnected()16100%1583%140101
connectTo(AFSocket.Constructor, AFSocketAddress)10100%n/a010301
toString()10100%n/a010101
supports(AFSocketCapability)9100%2100%020101
getRemoteSocketAddress()9100%2100%020301
capabilities()8100%2100%020301
internalDummyBind()7100%2100%020301
isCapDisabled(AFSocketCapability)7100%n/a010201
socketAddressClass()6100%n/a010101
connect(SocketAddress, int)6100%n/a010201
addCloseable(Closeable)6100%n/a010201
removeCloseable(Closeable)6100%n/a010201
static {...}6100%n/a010201
newInstance(AFSocket.Constructor, AFSocketFactory)5100%n/a010101
newInstance0(AFSocket.Constructor, FileDescriptor, AFSocketFactory)5100%n/a010101
connect(SocketAddress)5100%n/a010201
setAncillaryReceiveBufferSize(int)5100%n/a010201
getAncillaryReceiveBufferSize()4100%n/a010101
getAFImpl()4100%n/a010101
getFileDescriptor()4100%n/a010101
getInputStream()4100%n/a010101
getOutputStream()4100%n/a010101
getChannel()3100%n/a010101
isSupported()2100%n/a010101
getLoadedLibrary()2100%n/a010101