Rating | Name | Duplication | Size | Complexity | CRAP | Changes | Bugs | Features |
---|---|---|---|---|---|---|---|---|
F | MongoCollection::createIndex() | 0 | 68 | 17 | ? | 0 | 0 | 0 |
F | MongoWriteBatch::execute() | 30 | 105 | 15 | ? | 0 | 0 | 0 |
F | MongoDbAdapter\ExceptionConverter::toLegacy() | 0 | 61 | 19 | 19 | 0 | 0 | 0 |
D | MongoClient::applyConnectionOptions() | 4 | 36 | 14 | ? | 0 | 0 | 0 |
C | MongoCommandCursor::supportsReadPreference() | 0 | 30 | 16 | ? | 0 | 0 | 0 |
C | MongoGridFS::storeFile() | 0 | 64 | 12 | ? | 0 | 0 | 0 |
B | MongoCollection::batchInsert() | 0 | 47 | 10 | ? | 0 | 0 | 0 |
B | TypeConverter::convertBSONObjectToLegacy() | 0 | 29 | 11 | 13.15 | 0 | 0 | 0 |
B | MongoCollection::findAndModify() | 0 | 41 | 10 | ? | 0 | 0 | 0 |
B | MongoCollection::update() | 0 | 42 | 9 | ? | 0 | 0 | 0 |
B | ReadPreference::setReadPreferenceFromParameters() | 0 | 38 | 9 | 13.48 | 0 | 0 | 0 |
B | MongoCollection::convertWriteConcernOptions() | 3 | 27 | 9 | ? | 0 | 0 | 0 |
B | ReadPreference::getReadPreference() | 0 | 32 | 8 | 8.7 | 0 | 0 | 0 |
B | MongoCollection::ensureDocumentHasMongoId() | 0 | 29 | 8 | ? | 0 | 0 | 0 |
B | MongoCollection::aggregate() | 0 | 45 | 7 | ? | 0 | 0 | 0 |