Source file "org/elasticsearch/index/engine/InternalEngine.java" was not found during generation of report.
Element | Missed Instructions | Cov. | Missed Branches | Cov. | Missed | Cxty | Missed | Lines | Missed | Methods |
Total | 6,575 of 6,575 | 0% | 859 of 859 | 0% | 583 | 583 | 1,257 | 1,257 | 152 | 152 |
InternalEngine(EngineConfig, int, BiFunction) | ![]() | 0% | ![]() | 0% | 13 | 13 | 92 | 92 | 1 | 1 |
index(Engine.Index) | ![]() | 0% | ![]() | 0% | 32 | 32 | 59 | 59 | 1 | 1 |
delete(Engine.Delete) | ![]() | 0% | ![]() | 0% | 20 | 20 | 41 | 41 | 1 | 1 |
innerNoOp(Engine.NoOp) | ![]() | 0% | ![]() | 0% | 21 | 21 | 34 | 34 | 1 | 1 |
deleteInLucene(Engine.Delete, InternalEngine.DeletionStrategy) | ![]() | 0% | ![]() | 0% | 15 | 15 | 29 | 29 | 1 | 1 |
get(Engine.Get, MappingLookup, DocumentParser, Function) | ![]() | 0% | ![]() | 0% | 18 | 18 | 31 | 31 | 1 | 1 |
planIndexingAsPrimary(Engine.Index) | ![]() | 0% | ![]() | 0% | 16 | 16 | 37 | 37 | 1 | 1 |
flush(boolean, boolean) | ![]() | 0% | ![]() | 0% | 12 | 12 | 43 | 43 | 1 | 1 |
restoreVersionMapAndCheckpointTracker(DirectoryReader) | ![]() | 0% | ![]() | 0% | 10 | 10 | 37 | 37 | 1 | 1 |
planDeletionAsPrimary(Engine.Delete) | ![]() | 0% | ![]() | 0% | 14 | 14 | 27 | 27 | 1 | 1 |
indexIntoLucene(Engine.Index, InternalEngine.IndexingStrategy) | ![]() | 0% | ![]() | 0% | 18 | 18 | 18 | 18 | 1 | 1 |
forceMerge(boolean, int, boolean, boolean, boolean, String) | ![]() | 0% | ![]() | 0% | 13 | 13 | 37 | 37 | 1 | 1 |
getIndexWriterConfig() | ![]() | 0% | ![]() | 0% | 5 | 5 | 26 | 26 | 1 | 1 |
syncFlush(String, Engine.CommitId) | ![]() | 0% | ![]() | 0% | 7 | 7 | 25 | 25 | 1 | 1 |
compareOpToLuceneDocBasedOnSeqNo(Engine.Operation) | ![]() | 0% | ![]() | 0% | 14 | 14 | 18 | 18 | 1 | 1 |
fillSeqNoGaps(long) | ![]() | 0% | ![]() | 0% | 6 | 6 | 16 | 16 | 1 | 1 |
refresh(String, Engine.SearcherScope, boolean) | ![]() | 0% | ![]() | 0% | 7 | 7 | 26 | 26 | 1 | 1 |
canOptimizeAddDocument(Engine.Index) | ![]() | 0% | ![]() | 0% | 14 | 14 | 13 | 13 | 1 | 1 |
closeNoLock(String, CountDownLatch) | ![]() | 0% | ![]() | 0% | 6 | 6 | 26 | 26 | 1 | 1 |
planIndexingAsNonPrimary(Engine.Index) | ![]() | 0% | ![]() | 0% | 10 | 10 | 15 | 15 | 1 | 1 |
tryRenewSyncCommit() | ![]() | 0% | ![]() | 0% | 5 | 5 | 20 | 20 | 1 | 1 |
assertDocDoesNotExist(Engine.Index, boolean) | ![]() | 0% | ![]() | 0% | 5 | 5 | 9 | 9 | 1 | 1 |
lambda$commitIndexWriter$6(Translog, long, String) | ![]() | 0% | ![]() | 0% | 4 | 4 | 15 | 15 | 1 | 1 |
createReaderManager(InternalEngine.RefreshWarmerListener) | ![]() | 0% | ![]() | 0% | 2 | 2 | 19 | 19 | 1 | 1 |
resolveDocVersion(Engine.Operation, boolean) | ![]() | 0% | ![]() | 0% | 10 | 10 | 12 | 12 | 1 | 1 |
segments(boolean) | ![]() | 0% | ![]() | 0% | 5 | 5 | 12 | 12 | 1 | 1 |
tryAcquireInFlightDocs(Engine.Operation, int) | ![]() | 0% | ![]() | 0% | 8 | 8 | 8 | 8 | 1 | 1 |
failOnTragicEvent(AlreadyClosedException) | ![]() | 0% | ![]() | 0% | 8 | 8 | 13 | 13 | 1 | 1 |
shouldPeriodicallyFlush() | ![]() | 0% | ![]() | 0% | 5 | 5 | 14 | 14 | 1 | 1 |
recoverFromTranslogInternal(Engine.TranslogRecoveryRunner, long) | ![]() | 0% | ![]() | 0% | 4 | 4 | 14 | 14 | 1 | 1 |
commitIndexWriter(IndexWriter, Translog, String) | ![]() | 0% | ![]() | 0% | 2 | 2 | 22 | 22 | 1 | 1 |
hasCompleteOperationHistory(String, Engine.HistorySource, MapperService, long) | ![]() | 0% | ![]() | 0% | 7 | 7 | 12 | 12 | 1 | 1 |
updateDocs(Term, List, IndexWriter) | ![]() | 0% | ![]() | 0% | 4 | 4 | 9 | 9 | 1 | 1 |
getFromTranslog(Engine.Get, Translog.Index, MappingLookup, DocumentParser, Function) | ![]() | 0% | ![]() | 0% | 3 | 3 | 8 | 8 | 1 | 1 |
assertMaxSeqNoOfUpdatesIsAdvanced(Term, long, boolean, boolean) | ![]() | 0% | ![]() | 0% | 8 | 8 | 9 | 9 | 1 | 1 |
compareOpToVersionMapOnSeqNo(String, long, long, VersionValue) | ![]() | 0% | ![]() | 0% | 5 | 5 | 7 | 7 | 1 | 1 |
mayHaveBeenIndexedBefore(Engine.Index) | ![]() | 0% | ![]() | 0% | 7 | 7 | 8 | 8 | 1 | 1 |
hasBeenProcessedBefore(Engine.Operation) | ![]() | 0% | ![]() | 0% | 9 | 9 | 6 | 6 | 1 | 1 |
bootstrapAppendOnlyInfoFromWriter(IndexWriter) | ![]() | 0% | ![]() | 0% | 5 | 5 | 7 | 7 | 1 | 1 |
updateAutoIdTimestamp(long, boolean) | ![]() | 0% | ![]() | 0% | 6 | 6 | 6 | 6 | 1 | 1 |
planDeletionAsNonPrimary(Engine.Delete) | ![]() | 0% | ![]() | 0% | 6 | 6 | 8 | 8 | 1 | 1 |
maybeFailEngine(String, Exception) | ![]() | 0% | ![]() | 0% | 8 | 8 | 11 | 11 | 1 | 1 |
newChangesSnapshot(String, MapperService, long, long, boolean, boolean) | ![]() | 0% | n/a | 1 | 1 | 14 | 14 | 1 | 1 | |
newSoftDeletesPolicy() | ![]() | 0% | ![]() | 0% | 2 | 2 | 8 | 8 | 1 | 1 |
addStaleDocs(List, IndexWriter) | ![]() | 0% | ![]() | 0% | 5 | 5 | 8 | 8 | 1 | 1 |
rollTranslogGeneration() | ![]() | 0% | n/a | 1 | 1 | 15 | 15 | 1 | 1 | |
trimOperationsFromTranslog(long, long) | ![]() | 0% | n/a | 1 | 1 | 14 | 14 | 1 | 1 | |
recoverFromTranslog(Engine.TranslogRecoveryRunner, long) | ![]() | 0% | ![]() | 0% | 2 | 2 | 14 | 14 | 1 | 1 |
trimUnreferencedTranslogFiles() | ![]() | 0% | n/a | 1 | 1 | 14 | 14 | 1 | 1 | |
ensureSoftDeletesEnabled() | ![]() | 0% | ![]() | 0% | 3 | 3 | 4 | 4 | 1 | 1 |
releaseInFlightDocs(int) | ![]() | 0% | ![]() | 0% | 5 | 5 | 4 | 4 | 1 | 1 |
assertPrimaryCanOptimizeAddDocument(Engine.Index) | ![]() | 0% | ![]() | 0% | 5 | 5 | 4 | 4 | 1 | 1 |
assertSearcherIsWarmedUp(String, Engine.SearcherScope) | ![]() | 0% | ![]() | 0% | 5 | 5 | 5 | 5 | 1 | 1 |
assertIncomingSequenceNumber(Engine.Operation.Origin, long) | ![]() | 0% | ![]() | 0% | 6 | 6 | 4 | 4 | 1 | 1 |
generateSeqNoForOperationOnPrimary(Engine.Operation) | ![]() | 0% | ![]() | 0% | 5 | 5 | 4 | 4 | 1 | 1 |
refreshLastCommittedSegmentInfos() | ![]() | 0% | ![]() | 0% | 3 | 3 | 9 | 9 | 1 | 1 |
getVersionFromMap(BytesRef) | ![]() | 0% | ![]() | 0% | 3 | 3 | 7 | 7 | 1 | 1 |
onSettingsChanged(TimeValue, ByteSizeValue, long) | ![]() | 0% | ![]() | 0% | 2 | 2 | 9 | 9 | 1 | 1 |
trimUnsafeCommits(EngineConfig) | ![]() | 0% | n/a | 1 | 1 | 7 | 7 | 1 | 1 | |
createLocalCheckpointTracker(BiFunction) | ![]() | 0% | n/a | 1 | 1 | 6 | 6 | 1 | 1 | |
acquireLastIndexCommit(boolean) | ![]() | 0% | ![]() | 0% | 2 | 2 | 6 | 6 | 1 | 1 |
activateThrottling() | ![]() | 0% | ![]() | 0% | 4 | 4 | 5 | 5 | 1 | 1 |
commitDataAsMap(IndexWriter) | ![]() | 0% | ![]() | 0% | 2 | 2 | 5 | 5 | 1 | 1 |
openTranslog(EngineConfig, TranslogDeletionPolicy, LongSupplier, LongConsumer) | ![]() | 0% | n/a | 1 | 1 | 5 | 5 | 1 | 1 | |
estimateNumberOfHistoryOperations(String, Engine.HistorySource, MapperService, long) | ![]() | 0% | ![]() | 0% | 2 | 2 | 6 | 6 | 1 | 1 |
noOp(Engine.NoOp) | ![]() | 0% | n/a | 1 | 1 | 11 | 11 | 1 | 1 | |
deactivateThrottling() | ![]() | 0% | ![]() | 0% | 4 | 4 | 5 | 5 | 1 | 1 |
restoreLocalHistoryFromTranslog(Engine.TranslogRecoveryRunner) | ![]() | 0% | n/a | 1 | 1 | 5 | 5 | 1 | 1 | |
refreshIfNeeded(String, long) | ![]() | 0% | ![]() | 0% | 3 | 3 | 6 | 6 | 1 | 1 |
addDocs(List, IndexWriter) | ![]() | 0% | ![]() | 0% | 2 | 2 | 5 | 5 | 1 | 1 |
pruneDeletedTombstones() | ![]() | 0% | n/a | 1 | 1 | 5 | 5 | 1 | 1 | |
getReferenceManager(Engine.SearcherScope) | ![]() | 0% | ![]() | 0% | 3 | 3 | 4 | 4 | 1 | 1 |
advanceMaxSeqNoOfUpdatesOrDeletes(long) | ![]() | 0% | ![]() | 0% | 3 | 3 | 5 | 5 | 1 | 1 |
readHistoryOperations(String, Engine.HistorySource, MapperService, long) | ![]() | 0% | ![]() | 0% | 2 | 2 | 4 | 4 | 1 | 1 |
assertPrimaryIncomingSequenceNumber(Engine.Operation.Origin, long) | ![]() | 0% | ![]() | 0% | 3 | 3 | 2 | 2 | 1 | 1 |
maybePruneDeletes() | ![]() | 0% | ![]() | 0% | 3 | 3 | 4 | 4 | 1 | 1 |
assertNonPrimaryOrigin(Engine.Operation) | ![]() | 0% | ![]() | 0% | 3 | 3 | 2 | 2 | 1 | 1 |
lambda$new$0(long) | ![]() | 0% | ![]() | 0% | 5 | 5 | 5 | 5 | 1 | 1 |
ensureCanFlush() | ![]() | 0% | ![]() | 0% | 2 | 2 | 3 | 3 | 1 | 1 |
createWriter() | ![]() | 0% | n/a | 1 | 1 | 5 | 5 | 1 | 1 | |
getVersionMap() | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
skipTranslogRecovery() | ![]() | 0% | ![]() | 0% | 3 | 3 | 3 | 3 | 1 | 1 |
treatDocumentFailureAsTragicError(Engine.Index) | ![]() | 0% | ![]() | 0% | 4 | 4 | 3 | 3 | 1 | 1 |
writerSegmentStats(SegmentsStats) | ![]() | 0% | n/a | 1 | 1 | 4 | 4 | 1 | 1 | |
createWriter(Directory, IndexWriterConfig) | ![]() | 0% | ![]() | 0% | 2 | 2 | 3 | 3 | 1 | 1 |
loadHistoryUUID(Map) | ![]() | 0% | ![]() | 0% | 2 | 2 | 4 | 4 | 1 | 1 |
acquireSafeIndexCommit() | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
acquireHistoryRetentionLock(Engine.HistorySource) | ![]() | 0% | ![]() | 0% | 2 | 2 | 4 | 4 | 1 | 1 |
indexingStrategyForOperation(Engine.Index) | ![]() | 0% | ![]() | 0% | 2 | 2 | 3 | 3 | 1 | 1 |
deletionStrategyForOperation(Engine.Delete) | ![]() | 0% | ![]() | 0% | 2 | 2 | 3 | 3 | 1 | 1 |
static {...} | ![]() | 0% | ![]() | 0% | 2 | 2 | 2 | 2 | 1 | 1 |
ensureTranslogSynced(Stream) | ![]() | 0% | ![]() | 0% | 2 | 2 | 4 | 4 | 1 | 1 |
revisitIndexDeletionPolicyOnTranslogSynced() | ![]() | 0% | ![]() | 0% | 2 | 2 | 4 | 4 | 1 | 1 |
releaseIndexCommit(IndexCommit) | ![]() | 0% | ![]() | 0% | 2 | 2 | 5 | 5 | 1 | 1 |
lambda$recoverFromTranslogInternal$2(int) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
newChangesSnapshot(String, MapperService, long, long, boolean) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getWritingBytes() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
clearDeletedTombstones() | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
getIndexBufferRAMBytesUsed() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
refresh(String) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
writeIndexingBuffer() | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
InternalEngine(EngineConfig) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
syncTranslog() | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
maybeRefresh(String) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getMinRetainedSeqNo() | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
completionStats(String[]) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getTranslog() | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
getGcDeletesInMillis() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
markSeqNoAsSeen(long) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
getSeqNoStats(long) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
incrementVersionLookup() | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
incrementIndexVersionLookup() | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
lastRefreshedCheckpoint() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
updateMaxUnsafeAutoIdTimestamp(long) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
hasSnapshottedCommits() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
isTranslogSyncNeeded() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getTranslogStats() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getTranslogLastWriteLocation() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
advanceMaxSeqNoOfUpdatesOrDeletesOnPrimary(long) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
doGenerateSeqNoForOperation(Engine.Operation) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getInFlightDocCount() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
shouldRollTranslogGeneration() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getSafeCommitInfo() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
isThrottled() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
throttleLockIsHeldByCurrentThread() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getIndexThrottleTimeInMillis() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getCurrentIndexWriterConfig() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getMergeStats() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getLastSyncedGlobalCheckpoint() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getProcessedLocalCheckpoint() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getPersistedLocalCheckpoint() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getNumIndexVersionsLookups() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getNumVersionLookups() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
isSafeAccessRequired() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getNumDocDeletes() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getNumDocAppends() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getNumDocUpdates() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getMaxSeenAutoIdTimestamp() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getMaxSeqNoOfUpdatesOrDeletes() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$advanceMaxSeqNoOfUpdatesOrDeletes$9(long, long) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$updateAutoIdTimestamp$8(long, long) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$updateAutoIdTimestamp$7(long, long) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$acquireSafeIndexCommit$5(IndexCommit) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$acquireLastIndexCommit$4(IndexCommit) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
lambda$new$1() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getHistoryUUID() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
getForceMergeUUID() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
getLastCommittedSegmentInfos() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
getLocalCheckpointTracker() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
preFlightCheckForNoOp(Engine.NoOp) | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
getRawFieldRange(String) | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
lambda$index$3() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 |