Source file "okhttp3/internal/Util.kt" was not found during generation of report.
Element | Missed Instructions | Cov. | Missed Branches | Cov. | Missed | Cxty | Missed | Lines | Missed | Methods |
Total | 1,464 of 1,777 | 17% | 187 of 215 | 13% | 163 | 177 | 224 | 264 | 55 | 67 |
checkDuration(String, long, TimeUnit) | ![]() | 0% | ![]() | 0% | 10 | 10 | 6 | 6 | 1 | 1 |
skipAll(Source, int, TimeUnit) | ![]() | 0% | ![]() | 0% | 4 | 4 | 15 | 15 | 1 | 1 |
readFieldOrNull(Object, Class, String) | ![]() | 0% | ![]() | 0% | 5 | 5 | 13 | 13 | 1 | 1 |
intersect(String[], String[], Comparator) | ![]() | 0% | ![]() | 0% | 4 | 4 | 7 | 7 | 1 | 1 |
hasIntersection(String[], String[], Comparator) | ![]() | 0% | ![]() | 0% | 9 | 9 | 7 | 7 | 1 | 1 |
parseHexDigit(char) | ![]() | 0% | ![]() | 0% | 10 | 10 | 6 | 6 | 1 | 1 |
toHostHeader(HttpUrl, boolean) | ![]() | 0% | ![]() | 0% | 4 | 4 | 6 | 6 | 1 | 1 |
readBomAsCharset(BufferedSource, Charset) | ![]() | 0% | ![]() | 0% | 7 | 7 | 8 | 8 | 1 | 1 |
isCivilized(FileSystem, File) | ![]() | 0% | n/a | 1 | 1 | 8 | 8 | 1 | 1 | |
filterList(Iterable, Function1) | ![]() | 0% | ![]() | 0% | 4 | 4 | 6 | 6 | 1 | 1 |
withSuppressed(Exception, List) | ![]() | 0% | ![]() | 0% | 3 | 3 | 5 | 5 | 1 | 1 |
isHealthy(Socket, BufferedSource) | ![]() | 0% | ![]() | 0% | 2 | 2 | 10 | 10 | 1 | 1 |
toNonNegativeInt(String, int) | ![]() | 0% | ![]() | 0% | 5 | 5 | 8 | 8 | 1 | 1 |
toHeaders(List) | ![]() | 0% | ![]() | 0% | 2 | 2 | 4 | 4 | 1 | 1 |
indexOfControlOrNonAscii(String) | ![]() | 0% | ![]() | 0% | 4 | 4 | 5 | 5 | 1 | 1 |
indexOfNonWhitespace(String, int) | ![]() | 0% | ![]() | 0% | 4 | 4 | 5 | 5 | 1 | 1 |
threadName(String, Function0) | ![]() | 0% | n/a | 1 | 1 | 8 | 8 | 1 | 1 | |
assertThreadHoldsLock(Object) | ![]() | 0% | ![]() | 0% | 3 | 3 | 3 | 3 | 1 | 1 |
assertThreadDoesntHoldLock(Object) | ![]() | 0% | ![]() | 0% | 3 | 3 | 3 | 3 | 1 | 1 |
isSensitiveHeader(String) | ![]() | 0% | ![]() | 0% | 5 | 5 | 4 | 4 | 1 | 1 |
canReuseConnectionFor(HttpUrl, HttpUrl) | ![]() | 0% | ![]() | 0% | 4 | 4 | 3 | 3 | 1 | 1 |
format(String, Object[]) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
toHeaderList(Headers) | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
writeMedium(BufferedSink, int) | ![]() | 0% | n/a | 1 | 1 | 4 | 4 | 1 | 1 | |
skipAll(Buffer, byte) | ![]() | 0% | ![]() | 0% | 3 | 3 | 5 | 5 | 1 | 1 |
concat(String[], String) | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
indexOf(String[], String, Comparator) | ![]() | 0% | ![]() | 0% | 3 | 3 | 1 | 1 | 1 | 1 |
indexOfLastNonAsciiWhitespace(String, int, int) | ![]() ![]() | 66% | ![]() ![]() | 45% | 11 | 12 | 1 | 5 | 0 | 1 |
readMedium(BufferedSource) | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
trimSubstring(String, int, int) | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
peerName(Socket) | ![]() | 0% | ![]() | 0% | 2 | 2 | 2 | 2 | 1 | 1 |
closeQuietly(Socket) | ![]() | 0% | ![]() | 0% | 2 | 2 | 10 | 10 | 1 | 1 |
delimiterOffset(String, char, int, int) | ![]() | 0% | ![]() | 0% | 3 | 3 | 3 | 3 | 1 | 1 |
toImmutableMap(Map) | ![]() | 0% | ![]() | 0% | 2 | 2 | 4 | 4 | 1 | 1 |
indexOfFirstNonAsciiWhitespace(String, int, int) | ![]() ![]() | 67% | ![]() ![]() | 50% | 10 | 11 | 1 | 5 | 0 | 1 |
discard(Source, int, TimeUnit) | ![]() | 0% | n/a | 1 | 1 | 5 | 5 | 1 | 1 | |
delimiterOffset$default(String, String, int, int, int, Object) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
delimiterOffset$default(String, char, int, int, int, Object) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
headersContentLength(Response) | ![]() | 0% | ![]() | 0% | 2 | 2 | 1 | 1 | 1 | 1 |
trimSubstring$default(String, int, int, int, Object) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
toLongOrDefault(String, long) | ![]() | 0% | n/a | 1 | 1 | 4 | 4 | 1 | 1 | |
toImmutableList(List) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
ignoreIoExceptions(Function0) | ![]() | 0% | n/a | 1 | 1 | 4 | 4 | 1 | 1 | |
closeQuietly(Closeable) | ![]() | 0% | n/a | 1 | 1 | 6 | 6 | 1 | 1 | |
toHostHeader$default(HttpUrl, boolean, int, Object) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
indexOfNonWhitespace$default(String, int, int, Object) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
canParseAsIpAddress(String) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
toHexString(long) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
toHexString(int) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
wait(Object) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
notify(Object) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
notifyAll(Object) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
asFactory$lambda-8(EventListener, Call) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
asFactory(EventListener) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
and(int, long) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
checkOffsetAndCount(long, long, long) | ![]() ![]() | 80% | ![]() ![]() | 50% | 3 | 4 | 1 | 3 | 0 | 1 |
closeQuietly(ServerSocket) | ![]() ![]() | 66% | n/a | 0 | 1 | 3 | 6 | 0 | 1 | |
and(byte, int) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
and(short, int) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
indexOfLastNonAsciiWhitespace$default(String, int, int, int, Object) | ![]() ![]() | 87% | n/a | 0 | 1 | 0 | 1 | 0 | 1 | |
static {...} | ![]() | 100% | n/a | 0 | 1 | 0 | 14 | 0 | 1 | |
delimiterOffset(String, String, int, int) | ![]() | 100% | ![]() | 100% | 0 | 3 | 0 | 3 | 0 | 1 |
immutableListOf(Object[]) | ![]() | 100% | n/a | 0 | 1 | 0 | 1 | 0 | 1 | |
threadFactory$lambda-1(String, boolean, Runnable) | ![]() | 100% | n/a | 0 | 1 | 0 | 3 | 0 | 1 | |
indexOfFirstNonAsciiWhitespace$default(String, int, int, int, Object) | ![]() | 100% | n/a | 0 | 1 | 0 | 1 | 0 | 1 | |
addIfAbsent(List, Object) | ![]() | 100% | ![]() ![]() | 50% | 1 | 2 | 0 | 2 | 0 | 1 |
threadFactory(String, boolean) | ![]() | 100% | n/a | 0 | 1 | 0 | 2 | 0 | 1 |