ContentDownloader

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total530 of 5300%25 of 250%41411031032828
lambda$getFluxStream$10(String, Context, HttpRange, Throwable, Long)630%60%44141411
lambda$downloadToFileWithResponse$6(ParallelDownloadOptions, Function, AsynchronousFileChannel, Lock, AtomicLong, Tuple2)420%20%227711
downloadChunk(Integer, Response, ParallelDownloadOptions, long, Function, Function)370%20%228811
getUrlToSignRequestWith(String)360%20%226611
makeDownloadRequest(String, HttpRange, Context)290%20%226611
getResponseBody(HttpResponse)280%30%336611
downloadToFileWithResponse(String, AsynchronousFileChannel, ParallelDownloadOptions, Context)270%n/a115511
downloadToFileCleanup(AsynchronousFileChannel, Path, SignalType)240%20%228811
writeBodyToFile(Response, AsynchronousFileChannel, long, ParallelDownloadOptions, Lock, AtomicLong)190%n/a114411
lambda$downloadToStreamWithResponse$1(OutputStream, Response)190%n/a113311
lambda$downloadStreamWithResponse$2(String, HttpRange, Context, HttpResponse)180%n/a113311
getHttpRequest(String, HttpRange)170%20%224411
downloadFirstChunk(ParallelDownloadOptions, Function)160%n/a113311
lambda$downloadToStreamWithResponse$0(OutputStream, ByteBuffer)160%n/a114411
ContentDownloader(String, HttpPipeline)150%n/a115511
downloadStreamWithResponse(String, HttpRange, Context)140%n/a112211
calculateNumBlocks(long, long)140%20%224411
lambda$downloadFirstChunk$11(Response)140%n/a113311
lambda$downloadToFileWithResponse$5(Response, ParallelDownloadOptions, long, Function, AsynchronousFileChannel, Lock, AtomicLong, Integer)140%n/a111111
getFluxStream(HttpResponse, String, HttpRange, Context)110%n/a111111
formatExceptionMessage(HttpResponse)110%n/a111111
extractTotalBlobLength(String)110%20%221111
lambda$downloadToFileWithResponse$4(AsynchronousFileChannel, Integer, ParallelDownloadOptions, Lock, AtomicLong, Response)110%n/a112211
downloadToStreamWithResponse(String, OutputStream, HttpRange, Context)100%n/a112211
lambda$downloadToFileWithResponse$3(String, Context, HttpRange)60%n/a111111
lambda$getFluxStream$7(HttpResponse)40%n/a111111
lambda$getFluxStream$9(Flux)20%n/a111111
lambda$getFluxStream$8(Flux)20%n/a111111