MockHttpURLConnection

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total187 of 1870%14 of 140%303057572323
addHeader(String, String)360%20%228811
MockHttpURLConnection(URL)270%n/a118811
getHeaderField(String)150%20%222211
setResponseCode(int)120%20%223311
setInputStream(InputStream)110%20%224411
setErrorStream(InputStream)110%20%224411
getInputStream()110%20%223311
getOutputStream()90%20%223311
setFixedLengthStreamingMode(int)70%n/a113311
setFixedLengthStreamingMode(long)70%n/a113311
static {...}70%n/a112211
setOutputStream(OutputStream)50%n/a112211
setDoOutput(boolean)40%n/a112211
getResponseCode()30%n/a111111
doOutputCalled()30%n/a111111
getErrorStream()30%n/a111111
getHeaderFields()30%n/a111111
getChunkLength()30%n/a111111
isSetFixedLengthStreamingModeIntCalled()30%n/a111111
isSetFixedLengthStreamingModeLongCalled()30%n/a111111
usingProxy()20%n/a111111
disconnect()10%n/a111111
connect()10%n/a111111