Util

Source file "okhttp3/internal/Util.kt" was not found during generation of report.

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,464 of 1,77717%187 of 21513%1631772242645567
checkDuration(String, long, TimeUnit)820%180%10106611
skipAll(Source, int, TimeUnit)720%60%44151511
readFieldOrNull(Object, Class, String)660%80%55131311
intersect(String[], String[], Comparator)560%60%447711
hasIntersection(String[], String[], Comparator)560%160%997711
parseHexDigit(char)560%180%10106611
toHostHeader(HttpUrl, boolean)510%60%446611
readBomAsCharset(BufferedSource, Charset)440%70%778811
isCivilized(FileSystem, File)440%n/a118811
filterList(Iterable, Function1)410%60%446611
withSuppressed(Exception, List)390%40%335511
isHealthy(Socket, BufferedSource)360%20%22101011
toNonNegativeInt(String, int)360%80%558811
toHeaders(List)340%20%224411
indexOfControlOrNonAscii(String)300%60%445511
indexOfNonWhitespace(String, int)290%60%445511
threadName(String, Function0)280%n/a118811
assertThreadHoldsLock(Object)280%40%333311
assertThreadDoesntHoldLock(Object)280%40%333311
isSensitiveHeader(String)270%80%554411
canReuseConnectionFor(HttpUrl, HttpUrl)270%60%443311
format(String, Object[])260%n/a111111
toHeaderList(Headers)260%n/a113311
writeMedium(BufferedSink, int)260%n/a114411
skipAll(Buffer, byte)250%40%335511
concat(String[], String)240%n/a113311
indexOf(String[], String, Comparator)230%40%331111
indexOfLastNonAsciiWhitespace(String, int, int)224466%121045%11121501
readMedium(BufferedSource)220%n/a113311
trimSubstring(String, int, int)210%n/a113311
peerName(Socket)210%20%222211
closeQuietly(Socket)210%20%22101011
delimiterOffset(String, char, int, int)200%40%333311
toImmutableMap(Map)200%20%224411
indexOfFirstNonAsciiWhitespace(String, int, int)194067%101050%10111501
discard(Source, int, TimeUnit)180%n/a115511
delimiterOffset$default(String, String, int, int, int, Object)170%n/a111111
delimiterOffset$default(String, char, int, int, int, Object)170%n/a111111
headersContentLength(Response)170%20%221111
trimSubstring$default(String, int, int, int, Object)160%n/a111111
toLongOrDefault(String, long)130%n/a114411
toImmutableList(List)130%n/a111111
ignoreIoExceptions(Function0)120%n/a114411
closeQuietly(Closeable)120%n/a116611
toHostHeader$default(HttpUrl, boolean, int, Object)90%n/a111111
indexOfNonWhitespace$default(String, int, int, Object)90%n/a111111
canParseAsIpAddress(String)80%n/a111111
toHexString(long)80%n/a111111
toHexString(int)80%n/a111111
wait(Object)80%n/a111111
notify(Object)80%n/a111111
notifyAll(Object)80%n/a111111
asFactory$lambda-8(EventListener, Call)80%n/a111111
asFactory(EventListener)60%n/a111111
and(int, long)50%n/a111111
checkOffsetAndCount(long, long, long)41780%3350%341301
closeQuietly(ServerSocket)4866%n/a013601
and(byte, int)40%n/a111111
and(short, int)40%n/a111111
indexOfLastNonAsciiWhitespace$default(String, int, int, int, Object)21487%n/a010101
static {...}89100%n/a0101401
delimiterOffset(String, String, int, int)28100%4100%030301
immutableListOf(Object[])19100%n/a010101
threadFactory$lambda-1(String, boolean, Runnable)19100%n/a010301
indexOfFirstNonAsciiWhitespace$default(String, int, int, int, Object)16100%n/a010101
addIfAbsent(List, Object)12100%1150%120201
threadFactory(String, boolean)7100%n/a010201