GridFSBucketImpl

Source file "com/mongodb/client/gridfs/GridFSBucketImpl.java" was not found during generation of report.

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,160 of 1,1600%58 of 580%1041042182187575
checkCreateIndex(ClientSession)770%80%55101011
hasIndex(ClientSession, MongoCollection, Document)710%100%66161611
executeRename(ClientSession, BsonValue, String)670%60%446611
executeDelete(ClientSession, BsonValue)620%60%448811
getFileByName(ClientSession, String, GridFSDownloadOptions)580%40%33111111
executeUploadFromStream(ClientSession, BsonValue, String, InputStream, GridFSUploadOptions)470%40%33121211
downloadToStream(GridFSDownloadStream, OutputStream)430%40%33141411
collectionIsEmpty(ClientSession, MongoCollection)330%60%443311
createGridFSUploadStream(ClientSession, BsonValue, String, GridFSUploadOptions)320%20%226611
getFileInfoById(ClientSession, BsonValue)310%20%225511
getFilesCollection(MongoDatabase, String)250%n/a112211
GridFSBucketImpl(String, int, MongoCollection, MongoCollection)240%n/a116611
createFindIterable(ClientSession, Bson)200%40%336611
GridFSBucketImpl(MongoDatabase, String)170%n/a114411
withReadPreference(ReadPreference)160%n/a112211
withWriteConcern(WriteConcern)160%n/a112211
withReadConcern(ReadConcern)160%n/a112211
uploadFromStream(ClientSession, String, InputStream, GridFSUploadOptions)160%n/a113311
uploadFromStream(String, InputStream, GridFSUploadOptions)150%n/a113311
createIndex(ClientSession, MongoCollection, Document, IndexOptions)150%20%224411
openDownloadStream(ClientSession, String, GridFSDownloadOptions)130%n/a112211
downloadToStream(ClientSession, String, OutputStream, GridFSDownloadOptions)130%n/a113311
find(ClientSession, Bson)130%n/a113311
drop(ClientSession)130%n/a114411
getChunksCollection(MongoDatabase, String)130%n/a111111
uploadFromStream(ClientSession, BsonValue, String, InputStream, GridFSUploadOptions)120%n/a113311
openDownloadStream(ClientSession, BsonValue)120%n/a112211
downloadToStream(ClientSession, BsonValue, OutputStream)120%n/a113311
withChunkSizeBytes(int)110%n/a111111
openUploadStream(ClientSession, BsonValue, String, GridFSUploadOptions)110%n/a112211
uploadFromStream(ClientSession, BsonValue, String, InputStream)100%n/a112211
rename(ClientSession, BsonValue, String)100%n/a113311
openUploadStream(ClientSession, String, GridFSUploadOptions)90%n/a111111
openUploadStream(ClientSession, ObjectId, String)90%n/a111111
openUploadStream(ClientSession, BsonValue, String)90%n/a111111
uploadFromStream(BsonValue, String, InputStream)90%n/a112211
uploadFromStream(ClientSession, String, InputStream)90%n/a111111
openDownloadStream(String, GridFSDownloadOptions)90%n/a111111
downloadToStream(ClientSession, ObjectId, OutputStream)90%n/a112211
downloadToStream(ClientSession, String, OutputStream)90%n/a112211
find(Bson)90%n/a112211
find(ClientSession)90%n/a112211
delete(ClientSession, BsonValue)90%n/a113311
rename(ClientSession, ObjectId, String)90%n/a112211
openUploadStream(String, GridFSUploadOptions)80%n/a111111
openUploadStream(BsonValue, String)80%n/a111111
openUploadStream(ClientSession, String)80%n/a111111
uploadFromStream(String, InputStream)80%n/a111111
uploadFromStream(BsonValue, String, InputStream, GridFSUploadOptions)80%n/a112211
openDownloadStream(BsonValue)80%n/a111111
openDownloadStream(ClientSession, ObjectId)80%n/a111111
openDownloadStream(ClientSession, String)80%n/a111111
createGridFSDownloadStream(ClientSession, GridFSFile)80%n/a111111
downloadToStream(ObjectId, OutputStream)80%n/a112211
downloadToStream(String, OutputStream)80%n/a112211
downloadToStream(String, OutputStream, GridFSDownloadOptions)80%n/a112211
createGridFSFindIterable(ClientSession, Bson)80%n/a111111
delete(ClientSession, ObjectId)80%n/a112211
rename(ObjectId, String)80%n/a112211
openUploadStream(String)70%n/a111111
openUploadStream(BsonValue, String, GridFSUploadOptions)70%n/a111111
openDownloadStream(ObjectId)70%n/a111111
openDownloadStream(String)70%n/a111111
downloadToStream(BsonValue, OutputStream)70%n/a112211
delete(ObjectId)70%n/a112211
drop()70%n/a113311
rename(BsonValue, String)60%n/a112211
GridFSBucketImpl(MongoDatabase)50%n/a112211
find()50%n/a111111
delete(BsonValue)50%n/a112211
getReadPreference()40%n/a111111
getWriteConcern()40%n/a111111
getReadConcern()40%n/a111111
getBucketName()30%n/a111111
getChunkSizeBytes()30%n/a111111