Source file "okhttp3/mockwebserver/MockResponse.kt" was not found during generation of report.
Element | Missed Instructions | Cov. | Missed Branches | Cov. | Missed | Cxty | Missed | Lines | Missed | Methods |
Total | 478 of 765 | 37% | 29 of 36 | 19% | 51 | 69 | 81 | 127 | 33 | 51 |
setChunkedBody(Buffer, int) | ![]() | 0% | ![]() | 0% | 2 | 2 | 13 | 13 | 1 | 1 |
setResponseCode(int) | ![]() ![]() | 46% | ![]() ![]() | 20% | 15 | 16 | 4 | 8 | 0 | 1 |
withWebSocketUpgrade(WebSocketListener) | ![]() | 0% | n/a | 1 | 1 | 7 | 7 | 1 | 1 | |
addHeaderLenient(String, Object) | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
throttleBody(long, long, TimeUnit) | ![]() | 0% | n/a | 1 | 1 | 5 | 5 | 1 | 1 | |
setBodyDelay(long, TimeUnit) | ![]() | 0% | n/a | 1 | 1 | 4 | 4 | 1 | 1 | |
setHeadersDelay(long, TimeUnit) | ![]() | 0% | n/a | 1 | 1 | 4 | 4 | 1 | 1 | |
addHeader(String) | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
withPush(PushPromise) | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
setStatus(String) | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
setBody(DuplexResponseBody) | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
setSocketPolicy(SocketPolicy) | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
withSettings(Settings) | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
clearHeaders() | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
setHeaders(Headers) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
setTrailers(Headers) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
setHttp2ErrorCode(int) | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
setChunkedBody(String, int) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
headers(Headers) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
trailers(Headers) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
socketPolicy(SocketPolicy) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
isDuplex() | ![]() | 0% | ![]() | 0% | 2 | 2 | 1 | 1 | 1 | 1 |
getTrailers() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
http2ErrorCode(int) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getBody() | ![]() ![]() | 66% | ![]() ![]() | 50% | 1 | 2 | 0 | 1 | 0 | 1 |
getHttp2ErrorCode() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getSettings() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getDuplexResponseBody() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getPushPromises() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
-deprecated_getStatus() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
-deprecated_getHeaders() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
-deprecated_getTrailers() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
-deprecated_getSocketPolicy() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
-deprecated_getHttp2ErrorCode() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
toString() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
MockResponse() | ![]() | 100% | n/a | 0 | 1 | 0 | 17 | 0 | 1 | |
setHeader(String, Object) | ![]() | 100% | n/a | 0 | 1 | 0 | 4 | 0 | 1 | |
setBody(Buffer) | ![]() | 100% | n/a | 0 | 1 | 0 | 4 | 0 | 1 | |
addHeader(String, Object) | ![]() | 100% | n/a | 0 | 1 | 0 | 3 | 0 | 1 | |
removeHeader(String) | ![]() | 100% | n/a | 0 | 1 | 0 | 3 | 0 | 1 | |
clone() | ![]() | 100% | n/a | 0 | 1 | 0 | 4 | 0 | 1 | |
setBody(String) | ![]() | 100% | n/a | 0 | 1 | 0 | 1 | 0 | 1 | |
getThrottlePeriod(TimeUnit) | ![]() | 100% | n/a | 0 | 1 | 0 | 1 | 0 | 1 | |
getBodyDelay(TimeUnit) | ![]() | 100% | n/a | 0 | 1 | 0 | 1 | 0 | 1 | |
getHeadersDelay(TimeUnit) | ![]() | 100% | n/a | 0 | 1 | 0 | 1 | 0 | 1 | |
status(String) | ![]() | 100% | n/a | 0 | 1 | 0 | 1 | 0 | 1 | |
getHeaders() | ![]() | 100% | n/a | 0 | 1 | 0 | 1 | 0 | 1 | |
getStatus() | ![]() | 100% | n/a | 0 | 1 | 0 | 1 | 0 | 1 | |
getThrottleBytesPerPeriod() | ![]() | 100% | n/a | 0 | 1 | 0 | 1 | 0 | 1 | |
getSocketPolicy() | ![]() | 100% | n/a | 0 | 1 | 0 | 1 | 0 | 1 | |
getWebSocketListener() | ![]() | 100% | n/a | 0 | 1 | 0 | 1 | 0 | 1 |